![]() |
jQuery Tabs Question
I have a simple jQuery tabs application that works fine but I wanted to basically duplicate the navigation at the bottom each tab/page so I could have a "Next" and "Back" button. I figured since their ID's would be pointing to the same place, they'd create active instances for both buttons. So if it's on tab one, it'll show a "Next" button pointing to #two. When I click on "Next", it does go to tab 2 but it doesn't update the active state for the top button. I don't understand how jQuery differentiates which one is clicked because their target ID's are the same, and UL class is the same...:confused:
But here is the basic HTML code: Code:
<div id="top_navigation">Code:
if(s.click && !s.click.apply(this,[id,idList,tabs,s])) return s.change; |
| All times are GMT +1. The time now is 03:33 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.