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.
Hi,
I'm trying to use Flexslider together with the jQuery Mobile Theme. The problem is, that the scripts are only loaded on pages which use Flexslider. So when using Ajax to load the pages in jQuery Mobile the needed scripts and css are not loaded afterwards. A simple solution could be an option to always embed the scripts for every page even if it does not use Flexslider currently.
Comments
Comment #1
minorOffense CreditAttribution: minorOffense commentedThe other issue would be the init for jQuery Mobile. It uses a custom event called "pageInit". You'd have to add a custom init script to get it to work.
http://jquerymobile.com/demos/1.2.0/docs/api/events.html
As for including it into the module I don't think that would make sense. But a supplementary module which handles the init would work. If there are any missing hooks to get that sort of setup working I'd be glad to add them to the core FlexSlider module.
Comment #2
minorOffense CreditAttribution: minorOffense commentedComment #3
minorOffense CreditAttribution: minorOffense commented