views:

168

answers:

1

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