Changeset 338493
- Timestamp:
- 01/29/2011 01:11:41 PM (15 years ago)
- Location:
- nivo-slider-light/trunk
- Files:
-
- 1 deleted
- 2 edited
-
jquery-1.4.2.min.js (deleted)
-
nivo-slider-light.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
nivo-slider-light/trunk/nivo-slider-light.php
r315537 r338493 4 4 Plugin URI: https://www.netaction.de/wordpress-plugin-nivo-slider-light/ 5 5 Description: This is a wrapper for the jQuery plugin NIVO Image Slider from dev7studios. 6 Version: 1. 46 Version: 1.5 7 7 Author: Thomas Schmidt 8 8 Author URI: http://netaction.de … … 11 11 12 12 function NivoInit() { 13 wp_deregister_script('jquery'); 14 wp_register_script('jquery', WP_PLUGIN_URL.'/nivo-slider-light/jquery-1.4.2.min.js', false, '1.4.2'); 15 wp_enqueue_script('jush', WP_PLUGIN_URL.'/nivo-slider-light/jquery.nivo.slider.pack.js', array('jquery')); 13 wp_enqueue_script('nivoSliderScript', WP_PLUGIN_URL.'/nivo-slider-light/jquery.nivo.slider.pack.js', array('jquery')); 16 14 wp_enqueue_style('nivoStyleSheet', WP_PLUGIN_URL . '/nivo-slider-light/nivo-slider.css'); 17 15 wp_enqueue_style('nivoCustomStyleSheet', WP_PLUGIN_URL . '/nivo-slider-light/custom-nivo-slider.css'); … … 22 20 ?> 23 21 <script type="text/javascript"> 24 $(function() { 25 $(".nivoSlider br").each(function(){ // strip BR elements created by Wordpress 26 $(this).remove(); 22 jQuery.noConflict(); 23 jquery(function() { 24 jquery(".nivoSlider br").each(function(){ // strip BR elements created by Wordpress 25 jquery(this).remove(); 27 26 }); 28 $('.nivoSlider').nivoSlider({27 jquery('.nivoSlider').nivoSlider({ 29 28 effect:'fade', //Specify sets like: 'random,fold,fade,sliceDown' 30 29 animSpeed:500, //Slide transition speed … … 35 34 controlNav:true, //1,2,3... 36 35 controlNavThumbs:false, //Use thumbnails for Control Nav 37 controlNavThumbsFromRel:false, //Use image rel for thumbs36 controlNavThumbsFromRel:false, //Use image rel for thumbs 38 37 controlNavThumbsSearch: '.jpg', //Replace this with... 39 38 controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src -
nivo-slider-light/trunk/readme.txt
r315537 r338493 51 51 * bugfixes 52 52 53 = 1.5 = 54 * jQuery noConflict 55
Note: See TracChangeset
for help on using the changeset viewer.