[jQuery] Troubles altering dropdown menu code..
I was just wondering if somebody out there could answer a couple questions about this menu I'm working on.. Im all out of ideas.. Here is a working sample: http://client.vdhinc.com/PB/menus/horizontal_menu/ I have 2 situations... 1) When you hover a main menu item that has a submenu, and then mouse over the submenu items, and then move the mouse back up to that dropdowns main link, the submenu slides back up.. I'm trying to make it so the menu stays open when this happens.. Any ideas? 2) When hovering over a menu item that has a submenu, I've noticed that I have a small gap (due to borders and positioning for style) in between the main menu items and submenu items.. Is there any way to remedy this other than removing borders or positioning the submenu up higher? Thanks to all that reply in advance!!
[jQuery] Gradient Auto Update
I am working on trying to use jquery to auto update a gradient div.. I was wondering if somebody could take a look at my code and let me know if there is a way to achieve my desired effect or not.. The test page is here: http://client.vdhinc.com/iHouse/accounts/test.php You will notice how the border field changes the border of the div on the fly.. What I'm trying to do is get the gradient field to do the same.. If any other info is needed, or someone has an alternative way of doing this, please let me know.. Thanks to all who reply.. Plugins being used: http://github.com/brandonaaron/jquery-gradient/tree/master http://www.eyecon.ro/colorpicker/
[jQuery] Re: does selectors $ cache?
I don't think it does.. If you did $('div#myid') then it would search through all the div's.. Here's a bit on jquery performance that I read about.. http://www.artzstudio.com/2009/04/jquery-performance-rules/ Hope that helps... On May 26, 10:44 pm, jonathan wrote: > does selectors cache? for example, if I do $('#myid') twice, does it > search through the document twice for myid?