MasterDiz.com The WebMasters Portal  

Home

Maximize Your Web Page
Tutorial

*Back to the Java Scripts page*

 
When Visitors arrive in your web page, you want them to see what your page is about. If your web page appear in a small window they may leave right away without seeing all the content.
Make your web page to appear Maximized!
Sample HTML Document This is the Script Instructions
<html>
<head>
<title>
</title>

<SCRIPT LANGUAGE="JavaScript"
type="text/javascript">
<!-- Begin
if (window != top)
top.location.href =
location.href;
self.moveTo(0,0);
self.resizeTo(screen.
availWidth,screen.
availHeight);
// End -->
</SCRIPT>


</head>

<body>
</body>
</html>

Script.

Put the mouse cursor on the box with the script, right click, sellect all, copy, past it in your HTML Document between the <head>here</head> Tags.
(see sample
HTML Document)

Disclaimer