Unobtrusive Expand and Collapse Navigation

2008年08月16日 01:36 • 查看 10 次 • 打印本文

I’d like to create a horizontal navigation that will expand and collapse to show and hide sub-navigation using only unordered lists and as few class/id names as possible. In the course of Dissecting Code, I’ve seen some many unnecessary classes and I’d like to make sure that the core xHTML is as clean as possible and still give a reasonable navigation in the absence of JavaScript. Check out the finished demo.

查看原文 »

评论

发表评论