You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Sub Tabs & History Created Nov 11, 2009

This thread is solved

Views: 2179     Replies: 3     Last reply Dec 21, 2009  
You must login first before you can use this feature

Pring4

Posts: 5

Registered:
Oct 7, 2009

Sub Tabs & History

Posted: Nov 11, 2009

I've been able to get a page with sub-tabs working.
Ive also been able to get the history plugin working.

And I can get the two of them to work together, but not flawlessly. The problem is that if you click on a primary tab, sometimes all of that tab's secondary tabs will also get the "current" class applied to them. I can't get this to consistently happen on any one particular tab, but it happens every time i refresh.

Anyone else experience this?

Pring4

Posts: 5

Registered:
Oct 7, 2009

Any ideas?

Posted: Nov 16, 2009

Reply to: Sub Tabs & History, from Pring4
I've been looking at this for awhile and can't really seem to get anywhere. It seems to only happen when the History plugin is enabled.

You can reproduce it by getting the HTML from this example -http://flowplayer.org/tools/demos/tabs/multiple.html - and then adding the history plugin to it.

I put in a few breakpoints in firebug where the Tools script assigns the "current" class. This changes the behavior too. With these breakpoints setup, the bug doesnt happen!

Laz75

Posts: 4

Registered:
Dec 14, 2009

Nobody?

Posted: Dec 21, 2009

Reply to: Any ideas?, from Pring4
Hello... I've run into the same exact problem. Any solutions or at least suggestions? I've tried to assign the "current" class myself, but it doesn't seem to work.

Thanks.

dax_noelia

Posts: 1

Registered:
Dec 14, 2009

» Sub Tabs & History

Posted: Dec 14, 2009

Reply to: Sub Tabs & History, from Pring4
I'm new with jquery and I need some help with something.

I have my tabs (with history enabled) and inside those tabs I have subtabs, ie:
Tab1 --> Tab 1a - Tab 1b
Tab2 --> Tab 2a - Tab 2b

I know how to access to the primary tabs: For example if I want to access to Tab2 I use: #tab2

But the problem is that I don't know how to access to the subtabs.
If I use: #tab2a it shows me the Tab1, and not the subtab of Tab2.
How can I do to access to the subtabs from another page?

Thanks!