Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Confused about outdated browser message
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Martin1
Super User

Netherlands
626 Posts

Posted - 12 Jan 2010 :  17:30:03  Show Profile  Reply with Quote
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?

s.dav
Site Admin

Italy
3364 Posts

Posted - 13 Jan 2010 :  09:00:28  Show Profile  Visit s.dav's Homepage  Reply with Quote
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.

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000