[themes] How to include and use jquery plugin in my theme

Konstantin Käfer kkaefer at gmail.com
Wed Aug 20 12:51:14 UTC 2008


http://api.drupal.org/api/function/drupal_add_js

As soon as you add a JS file with that function, jQuery gets added  
automatically.

Konstantin

On 20.08.2008, at 14:07, Massimiliano Marini wrote:

> Hi all,
>
> I'm working on a new relase of my theme for Drupal 6.x and all the
> blocks have rounded corners.
>
> I want to use this plugin to achieve this.
>
> http://malsup.com/jquery/corner/
>
> I don't know where I must put this script, I don't know how to include
> this script inside my theme and then after how can I use it.
>
> Someone can help me to achieve this with some links, resources,  
> suggestions?
>
> Thanks
> -- 
> Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
> "It's easier to invent the future than to predict it." -- Alan Kay
> _______________________________________________
> themes mailing list
> themes at drupal.org
> http://lists.drupal.org/mailman/listinfo/themes



More information about the themes mailing list