View more than three section tabs

Hi,

Does anyone have a method for changing the CRF so that more than three section tabs are displayed by default. Our users would like to see all 5 tabs without having to use the "Select to Jump" drop down list.

I see in the source code that there is a Javascript variable TabsShown which is set to 3. Is there a simple way to set that to a different value?

Thanks!
Eric

Comments

  • haenselhaensel Posts: 576 ✭✭
    Hi Eric

    I'm pretty sure this variable is legacy and does not influence the tab behavior any more.
    The easiest possible way is to change the js function 'selectTabs' from 'global_functions_javascript.js'. But there is more work to be done then changing a simple variable.

    Good luck
    Christian
  • haenselhaensel Posts: 576 ✭✭
    edited January 8
    If you do not want to change the original function, it might be an option to embed js in the crf that counts the number of displayed tabs and shows more if necessary. The tabs are all available but are hidden with 'display:none'. This code shows the fourth tab
    jQuery("#Tab4").show();

    Regards,
    Christian
  • ebsebs Posts: 126 ✭✭
    Thanks Christian.

    I'll have a look.

    Cheers
    Eric
Sign In or Register to comment.