On Sat, Apr 18, 2009 at 12:52 AM, tfunk <[email protected]> wrote:
>
> I'd like to have more than one set of tabs on my webpage.
>
> Unfortunately, only the first tab set works. I think this is because
> of the id attribute.
Yup. Ids need to be unique.
>
> Is there a way I can change the 'id' attribute to 'class' and get this
> functionality to work? Or is this feature possible?
Sure. Get rid of the non-unique ids and give each of them a class, for
examples class="tabs", then
$(".tabs").tabs();
Another option would be to give them each unique ids
$("#lefttabs, #righttabs, #contenttabs").tabs();
- Richard
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---