Theres an FAQ for this:
http://docs.jquery.com/UI/Tabs#...select_a_tab_from_a_text_link_instead_of_clicking_a_tab_itself
--Klaus
On 20 Okt., 20:51, ghires <[EMAIL PROTECTED]> wrote:
> How do I activate a tab via via a text link when the tabs href is
> using remote ajax? Here's the html:
>
> <div id="tabs">
> <ul>
> <li><a href="#tab1"><span>In Person</span></a></
> li>
> <li><a href="online.php"><span>Online</span></a></
> li>
> </ul>
> <div id="tab1">
> <p>Lorem ipsum . . .</p>
> </div>
> </div>
>
> Here's the javascript:
>
> $("#tabs > ul").tabs({ fx: {opacity: 'toggle'}});
>
> Using a text link on another page works:
>
> <a href="index.php#tab1">Register in Person</a>
>
> But how do I do the same for the second tab?
>
> Thanks - your help is very much appreciated.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---