Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I don't want my page to move up and down each time I click on tab. Is it possible to have no animation, and have the active tab displayed and other tabs hidden simultaneously to stop the tab closing and opening and the page moving up and down? Does no one else have this problem? I tried disabling slide and fade effects, and selecting immediate speed but there is still a time lag between one tab closing and the next opening. Am I missing something?
Comments
Comment #1
freatida CreditAttribution: freatida commentedI ended up just disabling animation in the js file. However, I think having the option to disable animation via the ui is a good idea. No?
Comment #2
Sansui CreditAttribution: Sansui commentedI would love to be able to disable animation entirely so there is no lag. Where did you disable it in the js file?
Comment #3
nedjoI'd welcome a patch that added a config option.
Comment #4
freatida CreditAttribution: freatida commentedSansui - sorry I didn't reply earlier. I disabled it in tabs.js, within the tabs module folder.
Line 35:
Comment #5
Sansui CreditAttribution: Sansui commentedNo problems, I'm just glad you responded :D I was looking for the wrong variables when I tried to mod it out. This worked perfectly, and is so much more useable now! It would be great to see this added as a configurable option to the module
Comment #6
BassPlaya CreditAttribution: BassPlaya commentedwhat if we set the css of the outer div to a min-height. You probably could take that value with jQuery. Once it's set and the next tab is clicked it should either stay the same or enlarge if there's more content in that next tab. I'm not sure how to do that but I'm trying to find out myself as well.