[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread [EMAIL PROTECTED]
To give you an update on this, I tried to exaggerate the effect, I put -100 for both offsetX and offsetY, $('ul.jd_menu').jdMenu({ offsetX: -100, offsetY: -100, activateDelay: 20, hideD

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread Jonathan Sharp
Now that I think about it, the offsets only apply to sub menus. Try this instead. I quickly tested it so I think it has a chance at working. ul.jd_menu ul { margin-left: -8px; margin-top: -13px; } Cheers, -js On 10/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > To give you an

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread Jonathan Sharp
Try passing in with your defaults (using either positive or negative numbers) and see if that helps at all. offsetX: 4, offsetY: 2, Cheers, -js On 10/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I do. It is > > http://elearningrd.info/portal/test.php > > - Dave > > On Oct 17, 10:09

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread [EMAIL PROTECTED]
I do. It is http://elearningrd.info/portal/test.php - Dave On Oct 17, 10:09 am, "Jonathan Sharp" <[EMAIL PROTECTED]> wrote: > Do you have a URL of a sample page? > > -js > > On 10/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > I tried setting all the padding attributes in t

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread [EMAIL PROTECTED]
I tried setting all the padding attributes in the jdMenu.slate.css file to zero, but still no luck -- the menu appears away (to the bottom and right) of the graphic). On your web site, you mention the plug-in supports relative positioning. Is there an example somewhere on the site? I can just m

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread Jonathan Sharp
Do you have a URL of a sample page? -js On 10/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I tried setting all the padding attributes in the jdMenu.slate.css > file to zero, but still no luck -- the menu appears away (to the > bottom and right) of the graphic). On your web site, yo

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread Jonathan Sharp
The menu positioning code uses absolute positioning. Try removing the padding in CSS on the LI which should then make the menu appear directly below the arrow. Cheers, -js On 10/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Beautiful. This may also be a non-jdMenu question but I'll

[jQuery] Re: creating drop down menus with JQuery?

2007-10-16 Thread [EMAIL PROTECTED]
Beautiful. This may also be a non-jdMenu question but I'll throw this out there. I want my drop-down menu to appear right beneath the arrow image, whereever the arrow may be positioned on the screen. But when I insert the "relative" style in the tag:

[jQuery] Re: creating drop down menus with JQuery?

2007-10-16 Thread Jonathan Sharp
I think this is less of a jdMenu specific thing but you could do something like the following: Assuming: Text ... $('ul.jd_menu > li').hover(function() { $('> img', this).attr('src', 'url-to-image.jpg'); }, function() { $('> img', this).attr('src', 'url-to-other-image.jpg'); }); -js O

[jQuery] Re: creating drop down menus with JQuery?

2007-10-16 Thread [EMAIL PROTECTED]
Thanks for this info. Worked great. One more small question. To trigger the appearance of a drop-down menu, I have an image of an arrow but when the user rolls over the image, I'd like the source of the image to change to something else to indicate the menu is "active". How do I do this with

[jQuery] Re: creating drop down menus with JQuery?

2007-10-16 Thread Jonathan Sharp
$('ul.jd_menu').jdMenu({ activateDelay: 100 }); Should work, here are the other options: showDelay: 150 hideDelay: 550 Sorry there isn't any documentation yet. -js On 10/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hey Chris, Thanks for this recommendation. One thing I'm noticing

[jQuery] Re: creating drop down menus with JQuery?

2007-10-16 Thread [EMAIL PROTECTED]
Hey Chris, Thanks for this recommendation. One thing I'm noticing when playing with this is that when I roll over the item that is supposed to trigger the appearance of the drop down menu, there is a one second delay getting the menu to appear. Is this a setting somewhere that can be adjusted?

[jQuery] Re: creating drop down menus with JQuery?

2007-10-16 Thread Andy Matthews
Superfish? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, October 15, 2007 5:13 PM To: jQuery (English) Subject: [jQuery] creating drop down menus with JQuery? Hi, Is there a plug-in that allows for menu creat

[jQuery] Re: creating drop down menus with JQuery?

2007-10-15 Thread Sergei NZ
Also try these: http://test.learningjquery.com/dropdown.htm http://users.tpg.com.au/j_birch/plugins/superfish/ On Oct 16, 11:13 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a plug-in that allows for menu creatio in JQuery? > Specifically, I'm looking for something where

[jQuery] Re: creating drop down menus with JQuery?

2007-10-15 Thread Chris Jordan
check out jdMenu . It's pretty cool. Chris On 10/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, > > Is there a plug-in that allows for menu creatio in JQuery? > Specifically, I'm looking for something where when you roll over an > arrow gr