What is the correct way to apply a style to the tab I just added?  I
have all of my tabs using the tabTemplate of <li><a href="#{href}">#
{label}</a></li>  and that works nicely.. CSS Styles those to float
left, but on occasion one of the tabs will need to float right..

Given this;

$('.selector').tabs('add', '#1234', 'New Tab 1', 0);
$('.selector').tabs('add', '#5678', 'New Tab 2', 1);
$('.selector').tabs('add', '#90AB', 'New Tab 3', 2);

If I want to make 0 float right (but only sometimes depending on the
tab definition) whats the best way to apply the style?

I realize I could simply change the tabTemplate prior to creation of
those that are floated right, but that' can't be the best way..

Thanks.

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.


Reply via email to