February 3, 201115 yr Hi, i have a wierd problem with Drupal. In my theme jquery is working only on the front page. Though all files (jquery, myscript.js etc) are loaded on each nodepage as well. when i put alert('some text') in myscript.js it works. as soon as i try to do it inside jquery, nothing happens: $(document).ready(function(){ alert('test'); }); Any ideas?
February 4, 201115 yr Author the problem was colorbox module. if it's enabled, it breaks jquery. i had it configured to be disabled on front page. any ideas how to fix it?
Create an account or sign in to comment