Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Sexy DHTML

The trend for DHTML using structural markup and the DOM continues with Using Lists for DHTML Menus. Dave Lindquist uses identical XHTML markup combined with two different sets of JavaScript and CSS to implement both a set of dropdown menus and an expandable, tree style menu. The code is standards compliant and remarkably lightweight (menuExpandable.js weighs in at less than 20 lines) and fully accessible thanks to intelligent use of the accesskey attribute.

More examples of this new-wave style of DHTML can be found in youngpup’s Labels.js: A Re-Introduction to DHTML and Stuart’s excellent aqTree2.

This is Sexy DHTML by Simon Willison, posted on 2nd November 2002.

View blog reactions

Next: Joe Gillespie does CSS

Previous: Excellent introduction to XSLT

14 comments

  1. hello my beauty

    thomas - 5th December 2003 16:15 - #

  2. KABERY

    ABDULLAH KABERY - 19th December 2003 13:55 - #

  3. i love you sex with me

    max - 31st December 2003 17:14 - #

  4. salam

    khali - 26th January 2004 18:39 - #

  5. i love to sex

    muhamd - 17th February 2004 21:49 - #

  6. i hope look you

    mohamed - 10th March 2004 08:23 - #

  7. I love to sex

    gym - 20th March 2004 19:11 - #

  8. I love to sex

    gym - 20th March 2004 19:12 - #

  9. sexy lady

    jende - 11th July 2004 13:11 - #

  10. i love u sex with me

    nana - 27th September 2004 21:35 - #

  11. I like tose sexy things

    salim - 28th October 2004 19:01 - #

  12. This seems to fall apart in FireFox. Any suggestions?

    Al Lemieux - 3rd December 2004 18:43 - #

  13. A modification in this selector: a.actuator { background-color: transparent; color: #000; font-size: 10px; margin: 0px; position: relative; padding: 0px 6px; text-decoration: none; } Seems to work in Netscape 7 and Firefox.

    Al Lemieux - 3rd December 2004 19:32 - #

  14. How can you make the menu the top-most level item on the page? I know about z-index, but a Flash element just underneath the menu bar is always on top even if I set the z-index to -1. Are graphic media items always displayed above other browser elements? Thanks.

    Al Lemieux - 3rd December 2004 19:40 - #

Comments are closed.

Previously hosted at http://simon.incutio.com/archive/2002/11/02/sexyDhtml

A django site