Martin1
Super User
Netherlands
626 Posts |
Posted - 12 Jan 2010 : 17:30:03
|
Hello all,
I have a question in regards to the standard piece of script:
<script language="javascript" type="text/javascript"> <!-- var isNS=document.layers?true:false; var isIE=(document.all!=null)||(navigator.userAgent.indexOf('MSIE')!=-1); var isDom2=document.getElementById; var fVers=parseFloat(navigator.appVersion); if (!isDom2 && ((isNS && fVers<4)||(isIE && fVers<4))) alert("Your browser is very old. Please upgrade it if you want to see this page correctly.");
//--> </script>
that is placed in between the head tags in every page in a site.
Why would, when I remove this code, it have any effect on the mouseover I have on my page?
Take a look at http://www.albruna.nl/example/example.html where the above code is still there and:
http://www.albruna.nl/example/example2.html where the above code has been removed.
So why doesn't the mouseover work anymore in example2?
I thought this code was only used for checking if a browser wasn't outdated. Because when you look at: http://www.albruna.nl/example/example3.html which is an empty page I just exported this code is still there. So why would it effect a mouse over at all? |
|