The default way of using the jQuery UI Tabs widget is to have each tab’s content in a div on the same html page. Is it possible for each tab to be a link to a different page?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Why would you use jQuery tabs instead of normal HTML
<a>in that scenario?I guess you could add a tab change hadler that navigates to a new address using
window.location, like this:EDIT, if you want to do this just for styling, you can simply add right classes to your elements:
This will work even if user has disabled all javascript in the browser.