Note: You must be registered in order to post a reply.
T O P I C R E V I E W
Martin1
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?
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?
1 L A T E S T R E P L I E S (Newest First)
s.dav
Posted - 13 Jan 2010 : 09:00:28 That piece of code can be avoided by unchecking an option on the program settings. That code doesn't affect the mouseover code you have on your page; you can remove the message box but the browser selection has to be done or some functions won't work.