Project:Quick Tabs
Version:6.x-3.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Would it be possible to have a random tab being the top/active tab? The users on my site are new to Drupal and I am concerned that they will only look at the info displayed in the top tab(s) and never look at the others.

A random top tab would force them to do a little work...

Thanks,
Eric

Comments

#1

Version:5.x-1.x-dev» 6.x-2.x-dev

#2

Version:6.x-2.x-dev» 6.x-3.x-dev

Moving new features to 3.x version

#3

OMG, I want to this function badly...

#4

A quick hack to make the module select a random tab on each rendering (note that this will affect all of your Quicktabs, and is not intended to be a universal fix for this issue, just something to get you quickly where you need to go).

In quicktabs.module, replace:

$active_tab = _quicktabs_get_active_tab($quicktabs);

with:

$active_tab = array_rand($quicktabs['tabs']);

#5

I think, it would be nice do it same way like here: http://drupal.org/node/264299

Auto rotate tabs is working, next thing is randomized rotate. And with random tab selected on pageload it would be flawless :)

#6

subscribing - Perhaps we can have a D7 version as well? :)