this didnt seem to work for me, what am i doing wrong:

this is my text link:

[<a href="tblApplicantsView.asp?ApplicantID=1#ui-tabs-27"
id="commLink">view
    Comments</a>]

and here is my tab code:

<script src="/includes/ui.tabs.pack.js" type="text/javascript"></
script>

<script type="text/javascript">jQuery.noConflict();
//<![CDATA[
(function($) {
        $(function() {
        $('.tabData > ul').tabs();
        $('#toolBox > a.nyroModal').nyroModal();
   });

   $('#commLink').click(function() { // bind click event to link
    $tabs.tabs('select', 12); // switch to third tab
    return false;
});


})(jQuery);

//]]>
</script>


Many thanks!

On Oct 10, 5:11 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> From 
> FAQ:http://docs.jquery.com/UI/Tabs#...select_a_tab_from_a_text_link_inste...
>
> --Klaus
>
> On 10 Okt., 08:05, Stinhambo <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi all,
>
> > I have a series of tabs (Features, Benefits and Requirements) which
> > all work fine.
>
> > I can't figure out how to open one of those tabs from a text link. My
> > simple brain thought that it would be sufficient to just create a link
> > (the current URL) with an anchor at the end -
>
> >www.link.com/product1.php#benefits
>
> > and this would be enough to reload the page and activate the 2nd tab
> > (Benefits).
>
> > Is there a way to activate this functionality? I have read through the
> > threads and I can't seem to find what I'm looking for.
>
> > Thank you in advance!- Hide quoted text -
>
> - Show quoted text -

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