I have three tabs displayed. Under each tab there are paged contents. I click on 3rd tab to display contents under that tab.
Now I click on page#2 to display the contents of 2nd page under this tab (#3).
However after the page refresh the tab#1 id displayed. Contents under Tab#3 does change to display contents under 2nd page.
How can i display correct tab in this case?
Comments
Comment #1
zigma commentedI believe there needs to be a way of specifying fragment identifier to the link built by pager.
Comment #2
nedjoHmm, sounds right, but does the fragment determine which tab is active on load, or only after a user has clicked a tab?
This might look like adding a routine to the tabs attach function that iterated through tabs's content looking for pagers and attaching the fragment to to their content.
Comment #3
zigma commentedIt does determine before the page is loaded. So the tab seems to be doing alright.
The bug is with the pager itself, which does not support fragment.
Comment #4
zigma commentednedjo,
I am reading your post again and thinking it could be cleaner to write that routine to the tabs instead of messing up with the core.
Any idea on how to get that?
Comment #5
yngens commentedi am also having this problem with firfox. ie works fine.