steviem
01-12-2003, 08:43 PM
Hi
I recently acquired a free website template off the net to use. However it came with a little bit of javascript in the code, and frankly I'm not sure what its purpose is, or if its important. Would someone be good enough to tell me if I can safely remove it?
Thanks
this is it - <script language="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>
I recently acquired a free website template off the net to use. However it came with a little bit of javascript in the code, and frankly I'm not sure what its purpose is, or if its important. Would someone be good enough to tell me if I can safely remove it?
Thanks
this is it - <script language="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>