I use one I'm on a site that isn't finished yet that also uses nested lists and expands/contracts based on about 6 lines (if I recall correctly) of javascript. With javascript disabled you get a nested list, with it you get an expanding/collapsing menu. (note: I haven't gotten around to changing the sections so that the one you are in will be expanded so it returns to the closed state if you have javascript enabled until when you change pages, slightly annoying and will be fixed when I get back to working on that site hopefully soon since its official launch date is Aug 5).
Url is http://westupto.org If you want a dom based solution that uses javascript only for an IE bug take a look at suckerfish, son of suckerfish and some it its other variations. Google will find a bunch of them. Better get back to my "little" project that was supposed to be just a matter of recreating a "missing" Dreamweaver template. Only to find 237 pages with less than half of them using the missing template, sometimes as many as 7 versions of the same page (many of them in use but linked from different parts of the site) and somewhere between 4 & 6 different people who have worked on it in the past with at least 2 versions of Dreamweaver, FrontPage, hand coding and something I can't identify but created some really nasty complex code. Which means each page must be cleaned by hand of all the font tags, nested, nested tables. Thankfully after 10 hours the majority of the pages are template ready but I still need to figure out which pages are truly orphans and get to only ONE version of things like the contact form (exactly the same form but with 6 different names). Oh well, it is billable time. Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED] 713.353.0139 Office -----Original Message----- From: Stephen Caudill What browsers does this script work in? What browsers does it not work in? Why would a JavaScript pop up menu "pop up" without JS enabled? Button, button, who's got the button? okay... you can deliver something to the browser that is usable (nested, unordered lists), then augment it with JS wizardry afterward (hide nested lists, displaying on mouseover of their containing list item)... If you're looking for a whiz-bang, do-something-cool-in-real-time menu, you're going to have to do that on the client side (PHP, being server scripting would be like using a lathe to make a neon sign) and there's no better tool for that than JavaScript. The important thing to strive for is separation of behavior(the pop up) from structure, that way non-js browsers get *something* and then good little JS enabled browsers get the mondo spiffy version. A friend and I have adapted the gazingus drop-down menu[1] script a bit to support the normal hover and drop-down behavior rather than the click, then drop-down way it was originally coded... it achieves what I think you're getting at. The nav links still show up in non-js browsers and are purty in js browsers. You can find it over at his site in the development section [2]. ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
