I have three jQuery tabs on the left. I wish to put a "Sign Out" link on the right within the tabs header. How I can achieve that?
A:
I don't use jQuery tabs, but could you do something like this within the header?
<a href="" style="position:absolute; right:0">My link</a>
patrick dw
2010-02-21 01:01:14
The question is more about how to "append" it to the tabs header. And which is the selector to find out the tab header. Something like $('.ui-widget-header') I guess.
Gad D Lord
2010-02-21 08:59:04
I get what you're saying. So the HTML for the tabs is being generated, and you don't know the proper selector. What browser are you using? Most seem to have some ability to view the HTML as it is updated. IE8, Firefox with Firebug, Safari, etc.
patrick dw
2010-02-21 13:26:52
I simply have added a new tab and managed to right align it. <li style="float: right"><a href="#tab-logout" title="Logout">Logout</a></li>Thanks anyway for your help.
Gad D Lord
2010-02-21 21:33:02