HI David,
Thanks so much for that this helps alot.
This is what I ended up using;
$(function() {
$("#tabs").tabs(
{
event: 'mouseover',
selected: -1
});
var $tabs = $("#tabs").tabs();
var selected = $tabs.tabs('option', 'selected');
if (selected == -1) { document.getElementById
("noTab").style.display = "block"; }
});
It is because I wanted to show some generic information when no tab
was selected. Do you think that is the best way?
On May 1, 5:39 pm, thedavix <[email protected]> wrote:
> Hello,
>
> I think you are looking for something like this
>
> var $tab = $("#tabsDemo").tabs({
> selected : -1
> });
>
> http://jqueryui.com/demos/tabs/#option-selected
>
> Best,
> David
>
> On 1 mai, 08:51, Martina <[email protected]> wrote:
>
> > Is it possible to set a page so that no tab is active when you first
> > get to it?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---