Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Confused about outdated browser message

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

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?

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?
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.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000