I have found this awesome jQuery Timelinr that I have customized for my Drupal site but am now at a loss at how to insert it. It is only going to be on one page. Does it need to be in a block? Do I have to make a custom module? Any assistance would be greatly appreciated!
|
There are many ways to do it. Easy one is to add it on your theme's .info file: You can add it in a block. Check that your text-filter is set to PHP (May need to be active in the modules: PHP filter). Then add drupal_add_js() |
|||||||
|
If it's only o one page you can also create a plane new page set the text filter to PHP and add the drupal_add_js() code. See here for some hints about integrating custom jQuery code into Drupal. |
||||
|
Did you resolve it meanwhile? If not, I suppose it is because of jquery-version conflicts. The Drupal built-in version is NOT new enough for this script; even the jQuery Update module does not bring the newest version. I had the same problem when trying to implement another jQuery script. I resolved it by removing the built-in jQuery and adding the new one. I did that in the page template. I know, it is not recommended. |
||||
|