I have a page with a jqueryui tabset on it. I’d like to be able to open the page with tab other than the first tab selected. If I have four tabs on the page I need to be able to select any of the four to be the ‘open’ tab.
This maybe a link from another page or a link from a page in the same frameset.
Under the covers everything is PHP.
You’ll want to select a tab on the initial load of the page through JavaScript. Here’s an example of how to select a tab:
http://docs.jquery.com/UI/API/1.7/Tabs#method-select
Where the index variable is the integer of the tab you want to have selected. It is 0 based, so if you want the third tab selected, you’ll want to specify 2 for index.
You’ll want to do this once the page is ready:
http://www.learningjquery.com/2006/09/introducing-document-ready