<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
function openFull(theUrl) {
h = screen.height;
w = screen.width;
window.open(
theUrl,'','left=0,top=0,screenX=0,screenY=0,
height='+(h-100)+',width='+(w-10)+',
directories=no,location=no,menubar=no,
resizable=no,scrollbars=yes,status=no,
titlebar=yes,toolbar=no'
);
}
</SCRIPT>
</HEAD>
<BODY>
<a href="javascript:void(0);" onClick="openFull('full-screen.html');">Open Full Screen Window</a>
</HTML>
Friday, March 20, 2009
Open full screen window using Javascript
Here's a very interesting sample code that I found. I have been looking for the solution of this issue since long time...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment