Alan Gresley wrote: > Hello Bill, Hello Alan.
> Your example uses the old way of hiding submenus with display:none. > Before you frown on CSS please consider that CSS driven drop down menus > can do things that not even the best script writers could achieve. I > started creating a menu last year and now it does things that no script > could ever achieve. This is keyboard accessibly in 95% of browsers (all > done with CSS). > > http://css-class.com/articles/ursidae/bears5ddh-kbaccess.htm To begin with, you must know I am not frowning on CSS. I'm a frequent poster to this list and an ardent supporter of broad usage of CSS. The menu I threw together for David was meant as an example, not production use. Its use of display:none will in fact affect screen readers, but it was not intended for copy-and-paste use. Certainly the hiding could be easily replaced with the hide method of choice. Your menu has a few issues on my browser. Here's some links to a couple screen shots which show how your menu renders on my FF3/Ubuntu Hardy system. I think a few code tweaks could make it so that it supports this system as well. http://www.theholiergrail.com/tests/cssmenu/hidden-parent.png http://www.theholiergrail.com/tests/cssmenu/overlapping-options.png This could be very easily accomplished with Javascript, even if only by setting a classname on focus/hover, the same as your doing with CSS. In fact, even more could be added with Javascripting, including animation and support for navigating through the menus with arrow keys. > When IE6 disappears over the horizon in the future the CSS hovering > functionality of this menu system will reach almost 100% of browsers usage. > Please take your JS solutions to another list since you have a lot to > learn about CSS. Hmm, well. I offered a solution in CSS and was merely suggesting that Javascript be used for behavior, CSS for presentation and X/HTML for content. The fact that I offered not only my opinion but also a sample solution should have left me immune from insults, I would think. That being said, I imagine I do still have a lot to learn about CSS, though I'm not certain it needed to be pointed out so brusquely. It's why I /am/ a member of this list. Best regards, Bill -- /** * Bill Brown * TheHolierGrail.com & MacNimble.com * From dot concept...to dot com...since 1999. ***********************************************/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
