[Javascript] DIV visibility

SkyScanner skyscanner at eircom.net
Mon Oct 9 15:29:40 CDT 2006


----- Original Message ----- 
From: "Nick Fitzsimons" <nick at nickfitz.co.uk>

> Not meaning to offend, but it's a long time since I've seen such a 
> badly-written bit of JavaScript :-) As you say you pasted it in from 
> elsewhere, I hope you won't take that personally.
>
> The browser detection seems to date back to the last century, and  won't 
> work with Firefox, Safari, Opera and a number of other  browsers; and it's 
> only going to work with IE 6 by accident.


Haha - yes you are quite right. Now you see why I wasn't going to post my 
code, just ask for suggestions!!

Note to self: Check what you are pasting in, from time to time, even if it 
has worked in the past.

I can't remember where the code first came from - someone called William 
Caxton, I think {:o)

Thanks for all the comments, guys.

Tim in England, now going off to check out all the suggestions. 




More information about the Javascript mailing list