Results 1 to 5 of 5

Thread: jQuery plugin in Drupal 5.x

  1. #1
    Join Date
    May 2008
    Posts
    36

    jQuery plugin in Drupal 5.x

    I despair ... I have the framework "jQuery" in my Drupal 5.x involved.
    The Interface Library "that" update module and the module "Message Effects". As far as everything works fine.

    The problem:

    I am on the following page encountered http://plugins.jquery.com
    and got some "jQuery plugins downloaded.
    However I get no single process.

    My question (s):

    - Can any "jQuery plugin" Embed in Drupal?

    - If "yes" how can I do this?

    - And where do I copy out what and what should I edit?

  2. #2
    Join Date
    Oct 2005
    Posts
    2,393

    Re: jQuery plugin in Drupal 5.x

    For obvious reasons, you can only use plugins to the JQuery version of the D5 jQuery Update module to work.

  3. #3
    Join Date
    May 2008
    Posts
    36

    Re: jQuery plugin in Drupal 5.x

    first thank for the speedy reply.

    as far as I am informed, is situated in the jQuery version 1.2 before.
    That means that I plug all of the review 1.2 can use?

    Please correct if I've misunderstood.

    Then, only after the question "How?"

    - Where do I edit or kopieren what?

    - How do I plug this in Drupal Ein?

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: jQuery plugin in Drupal 5.x

    you can check each plugin mount by using the. eg js file in the MISC folder and copy the following code is used:

    Code:
    <?php 
    
    drupal_add_js ( 'misc / jquery.plugin.js'); 
    
    ?>
    Of course you can find the javascript file in the theme position:
    Code:
    <?php 
    
    drupal_add_js (path_to_theme () '. / js / jquery.plugin'); 
    
    ?>
    then you are the functions of the plugins on as normal

    Code:
    <?php 
    
    drupal_add_js ( '$ (document). ready (function () (... 
    ?>
    available.

  5. #5
    Join Date
    Feb 2008
    Posts
    1,852

    Re: jQuery plugin in Drupal 5.x

    The module Jquery Update, it should also allow you to use the latest plug-ins:
    http://drupal.org/project/jquery_update

    Generally it is a very good idea as much as possible from the Drupal core directories and only in the sites folder to work.

Similar Threads

  1. Replies: 6
    Last Post: 02-01-2012, 10:23 PM
  2. Drupal 7 VS Joomla
    By Candace in forum Polls & Voting
    Replies: 2
    Last Post: 26-03-2011, 03:38 PM
  3. Drupal 6 VS Drupal 7
    By Kindle in forum Polls & Voting
    Replies: 2
    Last Post: 26-03-2011, 02:29 PM
  4. Drupal 5 VS Drupal 6
    By Kindle in forum Polls & Voting
    Replies: 2
    Last Post: 26-03-2011, 02:04 PM
  5. What is Drupal
    By Ninad23 in forum Guides & Tutorials
    Replies: 4
    Last Post: 05-02-2009, 09:31 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,533,587.43054 seconds with 17 queries