Ok, I just asked a friend who has internet explorer if it works and he says yes, so nevermind on my last comment.
Everything works in all browsers that I've tried!! Even with the:
var obj = (window.event)?window.event.srcElement:arguments[arguments.length-1].target;
added.
Of course you...
ok, I went ahead and changed the first line to what you suggested... it works in firefox and safari, but im currently on a mac without internet explorer... I was wondering if you or anyone happens to be online now with internet explorer as your browser... if so could you go to...
what did you mean by:
To do it more inline with the ecma, you can replace the first line with this.
var obj = (window.event)?window.event.srcElement:arguments[arguments.length-1].target;
cause the code works fine the first way you suggested... is it important to change the first line to that...
I have this script on my page that makes my links in my menu become highlighted when clicked then when the next link is clicked the previous link goes back to normal and the new link because highlighted etc. anyway, it works in firefox and safari but not internet explorer... any know why...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.