$active.addClass('active') //Add active class (the $active is declared in the rotateSwitch function)ĬurrentSlider.find(".paging a"). Var image_reelPosition = triggerID * imageWidth //Determines the distance the image reel needs to slideĬurrentSlider.find(".paging a").removeClass('active') //Remove all active class Add a comment 4 Answers Active Oldest Votes. You should probably use fieldslideshow module for this. Nivo Slider aims to provide full access to all of the features offered by the Nivo Slider jQuery plugin. Var triggerID = $active.attr("rel") - 1 //Get number of times to slide Use the power of Drupal luke You want the slider to be a content type, then you can create as many as you want. The Nivo Slider module is easy to use and customize. This is the jquery code for the slider: jQuery(document).ready(function($) ) The slider is taken from a free drupal theme: bluemasters. You can see the problem on my website at: The sliders work fine and scrolls through automatically if left alone, however clicking the buttons on one slider to scroll the images also makes all the other sliders on the page scroll through their images as well.Įach sliders buttons also navigate to their correct images for example clicking on the 2nd button on the 1st slider will scroll to the 2nd image on the 1st slider, but it will also scroll every other slider to its 2nd image. On one of the pages I have multiple jquery sliders with buttons to allow the user to scroll through the images. I'm a novice web designer and have just managed to create my first website using Drupal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |