Active
Project:
Dropdown Tabs
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2010 at 14:36 UTC
Updated:
21 May 2013 at 18:58 UTC
Hello,
Thank you for this helpful module!
Can you tell me please if it is possible to display the primary tabs as usual and only show secondary tabs in a dropdown box.
For better understanding of what I mean - Tab 2 has seondary tabs:
Tab 1 | Tab 2 | Tab 3
| Sub 1 |
| Sub 2 |
--------
When you hover (or click?) Tab2 you will see Sub 1 and Sub2.
I hope you can imagine what I mean. :)
Regards
Stefan
Comments
Comment #1
derekwebb1 commentedThat is a very interesting idea. I think that would be useful to a great many people including myself. I think in order to do this idea justice, the select box (secondary links) would have to be replaced by list items of links or somesuch.... To date I have been unable to get JS (jQuery) to open a select box (as in synthesize a click).
But I do like the idea. Thanks for putting it forward! If you know how to synthesize a click on a select box please let me know and it would "expedite" this concept's creation.
Cheers, Derek
Comment #2
derekwebb1 commentedUPDATE: I have begun work on this... I am at the point where I need to generate the subtab lists for each of the primary tabs.
See: http://github.com/derekwebb/dropdown_tabs for the code. Patches and such are always welcome!
Cheers, Derek
Comment #3
design.er commentedWOW, it sounds pretty nice! :)
Do you like to keep the select lists or do you want do move to html list elements?
Sorry, if my questions may be silly but I asked me why we use select lists at all instead of html list elements. :)
Comment #4
derekwebb1 commentedNext update: Have not completed the work yet. I have not had a chance to get back to it. Hopefully next week I will have a bit of time to toss at this.
Cheers, Derek
Comment #5
deggertsen commentedIn case anybody is looking into this. You may want to look into http://drupal.org/project/local_tasks_blocks
It doesn't support drop downs, but it can combine the primary and secondary tabs and display them in an accordion form. It also moves the to a block and is much easier to theme.