I´m trying to overwrite the saved tab index of the tab cookie.

I´ve got a Tab with the OnClick Attribute which links to the previous
website (index 0)
If there´s no cookie set or the SelectedTab Index is 0 (from the
Cookie i.e) the Script
should overwrite the index and select the second tab.

Any Ideas? Thanks!


        var action_tab_index = $("#example").tabs().data
("selected.tabs");
        $tabs = $('#example > ul').tabs({cookie: {expires: 28, name:
'brtcookie'}});
        if(selectedTab == 0)
        {
           $('#example').tabs({ selected: 1 });
        }

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to