Problem with that is that getElementByID returns a DOM object, while a jQuery call returns a jQuery object. Different things.
-----Original Message----- From: Cutter (CFRelated) [mailto:[email protected]] Sent: Friday, April 24, 2009 8:11 AM To: cf-talk Subject: Re: Any JS wizards out there care to lend a hand? Don't think you really need a new menu, just convert some of you functions to *use* JQuery. Something like: var el = $('#hb-nav > li:first'); Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/learning-ext-js/book _____________________________ http://blog.cutterscrossing.com Che Vilnonis wrote: > Hello Peter. I *do* and will use jQuery for everything else on the site. > Consider myself converted. What I am having difficulty finding is a > jQuery dropdown menu that has a similar look and feel. Namely, > dropdowns that have multiple columns and indented values. If you need > an example of what I mean, just roll-over the Books/DVDs tab. > > Thanks, Che > > -----Original Message----- > From: Peter Boughton [mailto:[email protected]] > Sent: Thursday, April 23, 2009 6:38 PM > To: cf-talk > Subject: Re: Any JS wizards out there care to lend a hand? > > > Use jQuery. Seriously. Combine valid HTML (you need to fix that too) > with jQuery and the number of cross-browser problems you'll have will > drop massively. > > Both because the jQuery authors/contributors have already done the > hard bit of figuring out browser quirks, and also just because it > simplifies your code a great deal - the simpler the code, the less that can go wrong. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321930 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

