RE: Any JS wizards out there care to lend a hand?
You don't need to convert Suckerfish to jQuery. Just use the premade jQuery version, Superfish: http://users.tpg.com.au/j_birch/plugins/superfish/#examples -Original Message- From: Che Vilnonis [mailto:ch...@asitv.com] Sent: Friday, April 24, 2009 8:44 AM To: cf-talk Subject: RE: Any JS wizards out there care to lend a hand? Cutter & Andy... like I mentioned in an earlier email, I'm no jQuery wiz and don't have the skillz to convert the Suckerfish script to jQuery. That is why I am looking for a pre-made solution that I can then tweak design wise. Searches on Google for jQuery Menus return mostly simple examples. Any ideas where I could find a *similar* jQuery solution to this Suckerfish script? Thanks, Che -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] 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:cold.fus...@cutterscrossing.com] 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'); ~| 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:321938 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Any JS wizards out there care to lend a hand?
http://users.tpg.com.au/j_birch/plugins/superfish/ Thanks Mark. I've seen this before. Not quite what I have now, but I'll take a deeper look. ~| 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:321935 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Any JS wizards out there care to lend a hand?
Che Vilnonis wrote: > Cutter & Andy... like I mentioned in an earlier email, I'm no jQuery wiz and > don't have the skillz to convert the Suckerfish script to jQuery. That is > why I am looking for a pre-made solution that I can then tweak design wise. > > Searches on Google for jQuery Menus return mostly simple examples. Any ideas > where I could find a *similar* jQuery solution to this Suckerfish script? > > Thanks, Che > http://users.tpg.com.au/j_birch/plugins/superfish/ ~| 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:321934 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Any JS wizards out there care to lend a hand?
Cutter & Andy... like I mentioned in an earlier email, I'm no jQuery wiz and don't have the skillz to convert the Suckerfish script to jQuery. That is why I am looking for a pre-made solution that I can then tweak design wise. Searches on Google for jQuery Menus return mostly simple examples. Any ideas where I could find a *similar* jQuery solution to this Suckerfish script? Thanks, Che -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] 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:cold.fus...@cutterscrossing.com] 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'); ~| 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:321932 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Any JS wizards out there care to lend a hand?
True, but then you can always do $(selector).get(0) or $(selector)[0] to get back to the DOM. Not ideal, but very useful. Adrian > -Original Message- > From: Andy Matthews [mailto:li...@commadelimited.com] > Sent: 24 April 2009 14:32 > To: cf-talk > Subject: RE: Any JS wizards out there care to lend a hand? > > > 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:cold.fus...@cutterscrossing.com] > 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 ~| 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:321931 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Any JS wizards out there care to lend a hand?
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:cold.fus...@cutterscrossing.com] 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:bought...@gmail.com] > 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
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:bought...@gmail.com] > 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:321929 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Any JS wizards out there care to lend a hand?
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:bought...@gmail.com] 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:321927 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Any JS wizards out there care to lend a hand?
IE breaks for a variety of reasons on getElementById Here's one: http://webbugtrack.blogspot.com/2007/08/bug-152-getelementbyid-returns.html If you google: javascript getElementById IE you will find many more. On Thu, Apr 23, 2009 at 2:58 PM, wrote: > > I don't get the error in FireFox, but I do get it in IE7. (The offending > function, sfHover, only runs in IE) > According to Microsoft Script Editor, the error is "Object required" and > it appears to be coming from line 20 of > http://beta.awma.com/dropdown.js. > > 19: var div = document.getElementById("hb-nav"); > 20: var el = div.firstChild; > > There doesn't appear to be an element in your page with the id "hb-nav" > so perhaps that would be your first place to start looking. > > I have not used that JavaScript library for drop down menus, but it > appears you are on an old version of the script. I would suggest > looking through their docs to see what elements need to exist in the > page for their script to work properly: > > http://www.htmldog.com/articles/suckerfish/dropdowns/ > > ~Brad > > > Original Message > Subject: Any JS wizards out there care to lend a hand? > From: "Che Vilnonis" > Date: Thu, April 23, 2009 3:57 pm > To: cf-talk > > > A drop down menu script I am currently using is giving me an error (and > a > headache) when viewed in IE 6, 7 or 8. It shows up as a little yellow > icon > with an exclaimation mark at the bottom of the page. The script works, > but I > cannot figure out how to remove the code that is causing the error. Any > ideas on how I can fix this JS code? See link below... > > http://beta.awma.com > > > > ~| 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:321922 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Any JS wizards out there care to lend a hand?
I don't get the error in FireFox, but I do get it in IE7. (The offending function, sfHover, only runs in IE) According to Microsoft Script Editor, the error is "Object required" and it appears to be coming from line 20 of http://beta.awma.com/dropdown.js. 19: var div = document.getElementById("hb-nav"); 20: var el = div.firstChild; There doesn't appear to be an element in your page with the id "hb-nav" so perhaps that would be your first place to start looking. I have not used that JavaScript library for drop down menus, but it appears you are on an old version of the script. I would suggest looking through their docs to see what elements need to exist in the page for their script to work properly: http://www.htmldog.com/articles/suckerfish/dropdowns/ ~Brad Original Message Subject: Any JS wizards out there care to lend a hand? From: "Che Vilnonis" Date: Thu, April 23, 2009 3:57 pm To: cf-talk A drop down menu script I am currently using is giving me an error (and a headache) when viewed in IE 6, 7 or 8. It shows up as a little yellow icon with an exclaimation mark at the bottom of the page. The script works, but I cannot figure out how to remove the code that is causing the error. Any ideas on how I can fix this JS code? See link below... http://beta.awma.com ~| 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:321910 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
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:321908 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Any JS wizards out there care to lend a hand?
Hey Che, My staff swear by the plugin(s) available for FireFox to debug IE related JS issues. I haven't used the plugin(s). but I know how you got your headache trying to do it in IE which doesn't even give you a line number to go on ;-) Cheers - Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| 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:321906 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4