Advertisement
5_2007-2008 Internet/ Browsers/ HTML #183738

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

Résumé par IA: 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.

Code source
original-source
<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>
Commentaires originaux (3)
Récupéré via Wayback Machine