[thelist] Page check - JS browser compatability

Christian Heilmann codepo8 at gmail.com
Mon Sep 19 09:14:27 CDT 2005


> > I've checked this JavaScript which shows / hides DIVs on a page.
> >
> > http://iness.com/menuhide/deleteme.htm
> >
> > In IE 6, NS 4.7, Firefox and found no problems.  I'm concerned that
> > there are other browsers that may not work correctly.
> >
> > If anyone finds problems with other browsers, please let me know.  I'd
> > appreciate tests in IE 5, 5.5, versions of NS above 4.7, Safari, any
> MAC
> > or Linux browsers...

I find the problem that with JavaScript turned off you will never be
able to get rid of it, although two links promise you that you can.
That is neither clever nor helpful.

A good script would only apply the show/hide styles and links when the
visitor can use them. You could even support netscape 4.x with some
tweaking.

http://www.onlinetools.org/articles/unobtrusivejavascript/cssjsseparation.html

-- 
Chris Heilmann 
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/  
Binaries: http://www.onlinetools.org/


More information about the thelist mailing list