macromedia.dynamic.html
[Top] [All Lists]

java script browser resize issue

Subject: java script browser resize issue
From: "oiruop" <webforumsuser@xxxxxxxxxxxxxx>
Date: Thu, 21 Feb 2008 19:07:26 +0000 (UTC)
Newsgroups: macromedia.dynamic.html

i'm building a website in dreamweaver for a friend and he wanted the browser to 
resize to a specific size once the user goes to the site. the script i have now 
works fine, but then when i go to another page, the browser bounces out and 
then resizes. is there a script that would just keep the browser the same size 
without having to bounce out? thanks.

 here's the link to view the issue yourself. http://www.ohhello.tv/index2.html

 and click on any of the left side nav links to see the browser quickly bounce 
out and then resize. thanks.

 <SCRIPT>

 window.resizeTo(724,1000);

 </SCRIPT>


 <SCRIPT LANGUAGE="javascript">

  var width = screen.width

  var height = screen.height

  document.write("<body onUnload=window.resizeTo("+width+ "," +height+")>")

 </SCRIPT>


<Prev in Thread] Current Thread [Next in Thread>