Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape: Stop auto reload when the page get resize

Status
Not open for further replies.

PepperPepsi

Programmer
Aug 3, 2000
241
US
Hi guys,

I got a problem with Netscape, when i resize the page, Netsacpe will automatically reload the page, if there any way i can stop this? use the onResize event handle maybe?

thanks, Chiu Chan
cchan@gefmus.com
 
that shouldn't be happening. it may be a script you have loaded in the page that is forcing it to happen. Many scripts made for netscape do this as a result of some "layers disapearing on resize" issue. jared@aauser.com
 
In Netscape, there is a bar located at the bottom left, it usually show how much % the page have loaded, when you resize the page in netscape, you can see the bar get change, and the page flash for a second which seems to me that it is reloading the page.

here is what i have problem with.
the following code will focus on the input text field when the page get load. it works perfect in IE and Netscape, except that if you resize the page in netscape, it doesn't focus on the text field anymore. can anyone please tell me what is happening here?

<html>
<head>
<script>
function setDefault() {

document.MyFrom.test.focus();

}
</script>
</head>
<body onload=&quot;setDefault()&quot;>
<form name=&quot;MyFrom&quot;>
<input type=&quot;text&quot; name=&quot;test&quot; value=&quot;test&quot;>
</form>
</body>
</html>

thanks
Chiu Chan
cchan@gefmus.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top