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.
My tab panels aren't hidden.
There are not javascript conflicts observed in the browser on click or load, and the "ui-tabs-hide" class is never added.
Also the click event just sends the scroll to the top of the page.
The jQueryUI and module JS files are both loaded...
/sites/all/modules/contrib/jquery_ui/jquery.ui/ui/minified/ui.tabs.min.js
/sites/all/modules/contrib/tabs/tabs.js
Comment | File | Size | Author |
---|
Comments
Comment #1
doublejosh CreditAttribution: doublejosh commentedBTW: Began using Tabs as a dependency for CCK Fieldgroup Tabs, but embedded tabs_render($form) via PHP Filter in dev to test.
Tried switching back to a base theme too.
The "tabs-processed" class is on the surrounding div.
Cannot isolate the problem!
Comment #2
doublejosh CreditAttribution: doublejosh commentedOnly irregularity I can find is the "left single angle quote" character in tabs.js in Chrome. Also tested in Firefox: not working but character appears fine in the view source. Probably should be used as ‹ I'm guessing. But this may not have anything to do with the problem.
Comment #3
doublejosh CreditAttribution: doublejosh commentedTried on a fresh install and found no problems with Tabs, jQueryUI, Libraries and jQueryUI Theme.
Obviously on my setup. Still having a tough time debugging this one.
Comment #4
doublejosh CreditAttribution: doublejosh commentedWorking HTML
My HTML
Apparently these classes (ui-tabs-panel, ui-tabs-nav) are failing to get attached from tabs.js
Comment #5
doublejosh CreditAttribution: doublejosh commentedAll of: "tabs-processed", "first" and "last" do get added so at least tabs.js is recognizing the elements.
It's ui.tabs.js that's missing the attachment.
Comment #6
doublejosh CreditAttribution: doublejosh commentedSeems that
jquery_ui_add(array('ui.tabs'));
fails while manually loadingdrupal_add_js($path .'/ui.tabs.js');
does make the tabs work. Perhaps I have the wrong version of jQueryUI?The
tabs/ui.tables.js
file is v1.6 whilejquery_ui/ui/ui.tabs.js
is v1.7.3 which seems a likely cause.Rolled back to a previous version and doing fine.
Comment #7
doublejosh CreditAttribution: doublejosh commented