[jQuery] Re: Jquery UI 1.7.1 Tabs - Close open tab on mouseout from overall tab group

2009-03-26 Thread jq noob
Actually I have different form elements in each div. I am using the tabs to seperate/clean up the page because it contained various multi- select, dropdowns groupings etc, they are used for filtering data on a dynamic grid/chart. I actually don't know which ones will be on the page until runtime s

[jQuery] Re: Jquery UI 1.7.1 Tabs - Close open tab on mouseout from overall tab group

2009-03-26 Thread acamar
I suppose you'd like to have tabs to work as dropdown menu. In this case I can suggest two ways: 1. Using tabs plugin... You're right, it needs to attach mouseout event on div panel like this $('#tabs-1, #tabs-2, #tabs-3').mouseout(function () { $("#tabs").tabs('option', 'selected', -1);

[jQuery] Re: Jquery UI 1.7.1 Tabs - Close open tab on mouseout from overall tab group

2009-03-26 Thread jq noob
If I implement your code, then I can never actually move my mouse down into the content div. When I mouseover the tab, the div is shown, but when I move the mouse cursor off the tab and try to move it into the div, the div disappears because the mouseout event gets fired. Since there are really

[jQuery] Re: Jquery UI 1.7.1 Tabs - Close open tab on mouseout from overall tab group

2009-03-25 Thread acamar
In context of mouseout event handler the $tabs variable is not visible. So try $('#tabs').mouseout(function () { $("#tabs").tabs('option', 'selected', -1); }); that should help. On 25 мар, 13:44, jq noob wrote: > I am currently using > > $(document).ready(function() > { > var $tabs =

[jQuery] Re: Jquery UI 1.7.1 Tabs - Close open tab on mouseout from overall tab group

2009-03-25 Thread Richard D. Worth
You may want to ask on the jQuery UI list: http://groups.google.com/group/jquery-ui - Richard On Wed, Mar 25, 2009 at 5:44 AM, jq noob wrote: > > I am currently using > > $(document).ready(function() > { > var $tabs = $("#tabs").tabs({ >selected: -1, >event: 'mouseover', >