Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Layer issues


Message #1 by "Steve Gramenis" <gramenis@h...> on Thu, 20 Jun 2002 15:22:39
--0-1133785755-1024638320=:28850
Content-Type: text/plain; charset=us-ascii


 try to add this code to your HEAD tag..
< script language="JavaScript" type="text/JavaScript" >
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</ script >
  Steve Gramenis <gramenis@h...> wrote: 

I have java code with layers for a pop-up menu. The layers get moved
around when the user tries to resize the browser window. Any ideas on how
to fix this?

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

  Return to Index