Posted by Andrι Gillibert on 11/13/07 23:21
a-ok-site wrote:
> I am in the process of trying to build a template for my web site
> [...]
Why the h*ll did you use this awful script (on <http://a-ok-site.com/>)?
> 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);
This has the effect of reloading the page in Netscape 4.x (and no other
browser) when the browser window is resized. This is totally useless as
the reloaded page is identical to the previous one.
--
If you've a question that doesn't belong to Usenet, contact me at
<tabkanDELETETHISnaz@yahoDELETETHATo.fr>
Navigation:
[Reply to this message]
|