Drupal and Jquery

They have: 2 posts

Joined: Jul 2010

Hello,

i'm using Drupal 6 to create a new website and I will like to apply the great Jquery UI, When I download it and install it as stated by the .txt file included in the UI everything goes well. However, when I create the appropiate function and attache the script in my .info page inside my drupal theme, it does not work. I checked my source code and all my files are there, Do you guys know of a way to incorporate Jquery inside a drupal node? Can you point me to a place that has workable examples. thank you

jav

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

Drupal 6 already includes jQuery, you don't have to (and probably shouldn't try) download and include it manually.

The included version is 1.2.6 released in 2008, that's the only thing to look out for.

a Padded Cell our articles site!

They have: 2 posts

Joined: Jul 2010

Thank you Jeeves,

I know that Drupal has jquery inside of core files. I guess I missed that step of testing without trying to implement a new jqueryUI library.

I will try it and let you know. Thanks again.

jav

They have: 20 posts

Joined: Jan 2012

I think Drupal6 already contain the JQuery you don't need to install it

They have: 7 posts

Joined: Apr 2012

Drupal.settings allows you to pass
information from your php code to your
js code.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.