> On Behalf Of James Jeffery > I have a list of links with a nested list within one for the <li>'s. The nested listed is hidden > from view and made visable when the user clicks the parent <li>. > It works fine, apart from for accessibility reasons how should i implement this list? Users > with JS disabled but CSS enabled will see nothing, users with both will disabled will see > the list. If i create the elements and insert into the DOM users without JS loose out. Its a > tough one. I have an idea on how to do it to cover everyone, but it seems like a long process > for something simple. > Also i am using onclick attribute to invoke the function, should i place it in the href attribute > as the href is dead anyway, it does nothing but invoke the function. Alternativly because its > not a link to any resource would it be better to loose the <a> and place it in a <p>, personally > it seems like im missusing an <a> element in this instance. > Cheers for the advice, my JS skills have never been sharp, but im just spending some time > learning it. I have been meaning to for a while. Luckily i have David Flannigans book, its keeping > me in check at the moment.
Use document.write() to write the styles that hide the nested ULs. That way without script support, these rules do not style the sub menus. -- Regards, Thierry | http://www.TJKDesign.com ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
