Dear Folks, On 20/08/06 22:18 +0100, Christian Heilmann wrote:
Dear Folks,As you can guess, I am totally new to Javascript, and a beginner at CSS.Yes, so why do you try to solve all the problems on your own?
Well, I have just finished reading "Cascading Style Sheets", 2e, by Owen Briggs et al, and am actually trying to learn enough to do things like this by myself. A lofty ambition, but, hey, I can dream! :-)
http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/ is an implementation of getElementsByClassName, and nearly every JavaScript library out there has similar solutions. As to implementing more than one multi level dropdown menus on a page: Have you considered the users without CSS or JavaScript? Do they really need all these options?
suckerfish.js is a very simple javascript function for IE only, a very simple and clean alternative to csshover.htc. It is only for the suckers who use IE. If they turn off javascript, they still see the top level menu items, which work. If people use CSS incapable devices, they still see a <ul> of links, which should still have meaning to them. After looking at how the various getElementsByClass() functions are written, I realise that I can probably use some of the ideas from the code to implement what I need. Thank you. -- Nick Urbanik RHCE http://nicku.org [EMAIL PROTECTED] GPG: 7FFA CDC7+5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
pgpuickn5DP52.pgp
Description: PGP signature
______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/