By harlejus on
Wanted to integrate jQuery animation on my drupal menu according tutorial:
http://snook.ca/archives/javascript/jquery-bg-image-animations/
and to the following error:
jQuery.support is undefined
[Break On This Error] if (jQuery.support.positionFixed === undefined) {
drupal.js?lstah0 (line 356)
Maybe somebody knows how to fix it? (I was adding some jquery functions to the .page.tpl.php and included jQuery files used in that tutorial into the root folder).
Comments
Wrap in
Drupal wraps jQuery so that you can use other libraries without conflict.
So, wrap Snook's JS in this: