Can ANYONE please explain what this is going on about please :D ?
Thank you !!! :confused:Code:if (!document.layers&&!document.all)
event="test";
Printable View
Can ANYONE please explain what this is going on about please :D ?
Thank you !!! :confused:Code:if (!document.layers&&!document.all)
event="test";
Ok..
if document.layers then it's a Netscape Browser
if document.all then it's IE
so to translate:
If (Not NS And Not IE) Then
event = "test"
It's just checking to make sure your using one or the other. If not, it sets the event variable to "test".
Seen it on several pages, makes sense now !
Thanks :D