Forums

This topic is locked

I want my index page to open full size

Posted 12 Jan 2004 19:12:39
1
has voted
12 Jan 2004 19:12:39 Kenny Darcy posted:
Hi yea,
I would like when some one navigates to my site from google that my home page opens full size that my index page opens full size, when it opens I want to have the navigation bar and all the other trimmings but need to know how to have it refresh and open fully.

Regards

Kenny

Replies

Replied 13 Jan 2004 05:54:56
13 Jan 2004 05:54:56 Dave Thomas replied:
u mean you want to "maximise" the browser upon loading entry page?

if so this will do it for you, place the code within your <pre id=code><font face=courier size=2 id=code>&lt;head&gt; &lt;/head&gt; </font id=code></pre id=code> tags.

<pre id=code><font face=courier size=2 id=code>
&lt;script language="JavaScript1.2"&gt;
&lt;!--
top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight&lt;screen.availHeight||top.window.outerWidth&lt;screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//--&gt;
&lt;/script&gt;
</font id=code></pre id=code>

Regards,
Dave

[DWMX 2004] | [FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]

Reply to this topic