Drupal jQuery 1.4 specific pages

jQuery 1.4 breaks up various modules and is not ready to replace 1.3.2 with a wholesale one. But on different pages with complex javascript interactions I need 1.4.

What is a good way to get drupal to use 1.4 on specific pages?

Thanks.

+1
jquery drupal
source share
3 answers

Take a look at this post, the author describes replacing the js file with hook_theme_registry_alter and the preprocess function. http://www.mediacurrent.com/blogs/remove-or-replace-jscss-page

+2
source share

jquery_update is a great way to get 1.3.2 (compared to 1.2.6) on D6. You can then combine this with context to serve a different version on specific pages.

+1
source share

Can I edit templates? Or how to create a script that includes page-based jQuery. For example, if your body has a class 1.3.2, then it includes the old version, or if it has a class 1.4, it includes a new one.

0
source share

All Articles