Titlebarless window
This code will make it possible to open an url, in a window without titlebar. You can set the url,name,witdh, height, top end left of the window.
AI
AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Source Code
<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript">
<!--
function openFramelessWindow(sUrl,sName,lWidth,lHeight,lLeft,lTop)
{
var objWin = window.open('',sName,'fullscreen=1');
objWin.focus();
objWin.resizeTo(lWidth,lHeight);
objWin.moveTo(lLeft,lTop);
objWin.location.href=sUrl;
return (objWin);
}
//-->
</script>
<input type="button" onclick="openFramelessWindow('http://www.microsoft.com','test',200,200,0,300);" value="openFrameless()" />
</body>
</hmtl>
Original Comments (3)
Recovered from Wayback Machine