By pedrocernausan on
Hello!
I make a template content and put some lines of javascript. When I run the content, the javascript don´t work... but when I crop the code and put the SAME code again via FireBug, this scipt start normally!
Anybody know what happend? Any sugestions are apreciated!
Thanks!
Comments
Post your code
It is impossible to do anything but speculate without looking at the code.
I guess it's because your code isn't being called, but why is difficult to guess.
Code
Ok. Just to say, I adapt the javascript JQuery to work with Mootools (other scripts works...).
Here:
Thanks!
drupal natively includes
drupal natively includes jquery. So the two libraries may clash. google 'mootools no conflict' or something.
Best would be just to use the native jquery library only.
Yes, I know. I make this
Yes, I know. I make this change on drupal javascripts. Other script very similar works... :/