This is related to my last post but on a different track - maybe this is a better approach…
I’m trying to adapt an old piece of javascript to allow it to work with IE7 (which it wont… yet)
At the start of my js there is a line of code:
var ns = (navigator.appName.indexOf(“Netscape”) != -1);
which detects if netscape & makes some sort of rule (I am new at this - bear with me)
And in my searches for a IE7 equivalent I have found:
ie7=(this.ver.indexOf(“MSIE 7”)>-1 && this.dom)?1:0;
If this is the same sort of thing, how do I adapt it to my code?
Any suggestions?