W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > July to September 2004

RE: collapsible hierarchical menu navigation javascript (accessible)

From: Fentress, Robert <rfentres@vt.edu>
Date: Tue, 6 Jul 2004 15:48:46 -0400
Message-ID: <E7BD4EDD62660F44922C0B11258FBE8F029D4CA0@fangorn.cc.vt.edu>
To: <w3c-wai-gl@w3.org>
> -----Original Message-----

> From: Richard Ishida [mailto:ishida@w3.org]

> Your page still shows onclick attributes even if you don't have

> running. This is a bit messy. You could add the necessary JavaScript
to the

> elements on the page *after* the page has loaded and only if you can

> that JavaScript is available.  


True.  That would be better.  I still have some diddling to make it as
clean as it should be.


> See an example at



> On the

page http://people.w3.org/rishida/family.html you will see no JavaScript

> attached to the images that would normally change as you click on 

> them, because it is only added if JavaScript is available at load 

> time.


Neat pages and techniques.  Thanks for sharing.  I should definitely add
that initial "if (document.getElementById)" check you use to my script.



Received on Tuesday, 6 July 2004 15:48:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 January 2018 15:33:50 UTC