Tabs are not changing through the URL and vice versa
Amitaibu - September 25, 2007 - 19:28
| Project: | Javascript Tools |
| Version: | 5.x-1.x-dev |
| Component: | Tabs |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
Hi,
I got two issues, probably related.
I've created using the Panels mini (alpha 9) three tabs. When I enter manually a link in the URL e.g.:
node/1#panels-mini-1-1
and then
node/1#panels-mini-1-2
Two things happen:
1. The tab is not updated accordingly, i.e. it remains in the previous tab.
2. I get an error (from FireBug):
_states[_currentHash] is not a function
http://localhost/drupal/modules/jstools/jquery.history_remote.min.js
Line 4
Also, when clicking on the Tabs the URL should change.
As a note, using the cck_fieldgroup_tabs module, the first issue works ok (from the URL), but the second does not (TO the URL).
Cheers,
Amitai

#1
You explained it better in the Panels Tabs Style issue queue.
Links to tabs work just fine.
Links to nested tabs don't work. (Well they do work, but the problem is that all parent tabs aren't activated in the process...)
This is a low-priority issue to me although it's a very critical feature. You'd have to get the URL, extract the anchor, look up the anchor, find all parent tabs and activate them (with the .triggerTab(num) method, where num is the tab number).
#2
The Drupal 5 version of this module is no longer maintained.