Plugin Directory

Changeset 673063


Ignore:
Timestamp:
02/25/2013 03:11:41 PM (13 years ago)
Author:
leethompson
Message:

3.3 Fixed Auto Rotation

Location:
lazy-content-slider
Files:
3 edited
6 copied

Legend:

Unmodified
Added
Removed
  • lazy-content-slider/tags/3.3/js/tabs.js

    r672809 r673063  
    4141            // start rotation
    4242            if ( ms ) {
    43                 this.element.bind( "tabsshow", rotate );
     43                this.element.bind( "tabsactivate", rotate );
    4444                this.anchors.bind( o.event + ".tabs", stop );
    4545                rotate();
     
    4747            } else {
    4848                clearTimeout( self.rotation );
    49                 this.element.unbind( "tabsshow", rotate );
     49                this.element.unbind( "tabsactivate", rotate );
    5050                this.anchors.unbind( o.event + ".tabs", stop );
    5151                delete this._rotate;
  • lazy-content-slider/tags/3.3/lzcs.php

    r672810 r673063  
    55Description: This is a content slider that shows 5 slides from a "Featured Category"                                                                                               
    66Author: Lee Thompson                                                                                                                                                               
    7 Version: 3.2
     7Version: 3.3
    88Author URI: http://mysqlhow2.com                                                                                                                                                   
    99                                                                                                                                                                                   
     
    3434    wp_register_script( 'jquery-min', 'http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js');
    3535    wp_enqueue_script( 'jquery-min' );
    36     wp_deregister_script( 'jquery-tab' );
    37     wp_register_script( 'jquery-tab', plugins_url('/js/tabs.js', __FILE__) );
    38     wp_enqueue_script( 'jquery-tab' );
    3936    wp_deregister_script( 'jquery-ui' );
    4037    wp_register_script( 'jquery-ui', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js');
     
    5047    wp_enqueue_style( 'lazyslider' );
    5148    }
     49    wp_deregister_script( 'jquery-tab' );
     50    wp_register_script( 'jquery-tab', plugins_url('/js/tabs.js', __FILE__) );
     51    wp_enqueue_script( 'jquery-tab' );
    5252    wp_deregister_script( 'lazyslider');
    5353    wp_register_script( 'lazyslider', plugins_url('/js/slider.js', __FILE__) );
  • lazy-content-slider/tags/3.3/readme.txt

    r672810 r673063  
    55Requires at least: 2.9.2
    66Tested up to: 3.5.1
    7 Stable tag: 3.2
     7Stable tag: 3.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9292= 3.1 =
    9393Updated all code to be compliant of newer version of jQuery
    94 = 3.1 =
     94= 3.2 =
    9595Small fix for arrows
     96= 3.3 =
     97Fixed auto rotation
    9698
    9799== Changelog ==
     
    127129= 3.1 =
    128130Updated all code to be compliant of newer version of jQuery
    129 = 3.1 =
     131= 3.2 =
    130132Small fix for arrows
     133= 3.3 =
     134Fixed auto rotation
  • lazy-content-slider/trunk/js/tabs.js

    r672809 r673063  
    4141            // start rotation
    4242            if ( ms ) {
    43                 this.element.bind( "tabsshow", rotate );
     43                this.element.bind( "tabsactivate", rotate );
    4444                this.anchors.bind( o.event + ".tabs", stop );
    4545                rotate();
     
    4747            } else {
    4848                clearTimeout( self.rotation );
    49                 this.element.unbind( "tabsshow", rotate );
     49                this.element.unbind( "tabsactivate", rotate );
    5050                this.anchors.unbind( o.event + ".tabs", stop );
    5151                delete this._rotate;
  • lazy-content-slider/trunk/lzcs.php

    r672810 r673063  
    55Description: This is a content slider that shows 5 slides from a "Featured Category"                                                                                               
    66Author: Lee Thompson                                                                                                                                                               
    7 Version: 3.2
     7Version: 3.3
    88Author URI: http://mysqlhow2.com                                                                                                                                                   
    99                                                                                                                                                                                   
     
    3434    wp_register_script( 'jquery-min', 'http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js');
    3535    wp_enqueue_script( 'jquery-min' );
    36     wp_deregister_script( 'jquery-tab' );
    37     wp_register_script( 'jquery-tab', plugins_url('/js/tabs.js', __FILE__) );
    38     wp_enqueue_script( 'jquery-tab' );
    3936    wp_deregister_script( 'jquery-ui' );
    4037    wp_register_script( 'jquery-ui', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js');
     
    5047    wp_enqueue_style( 'lazyslider' );
    5148    }
     49    wp_deregister_script( 'jquery-tab' );
     50    wp_register_script( 'jquery-tab', plugins_url('/js/tabs.js', __FILE__) );
     51    wp_enqueue_script( 'jquery-tab' );
    5252    wp_deregister_script( 'lazyslider');
    5353    wp_register_script( 'lazyslider', plugins_url('/js/slider.js', __FILE__) );
  • lazy-content-slider/trunk/readme.txt

    r672810 r673063  
    55Requires at least: 2.9.2
    66Tested up to: 3.5.1
    7 Stable tag: 3.2
     7Stable tag: 3.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9292= 3.1 =
    9393Updated all code to be compliant of newer version of jQuery
    94 = 3.1 =
     94= 3.2 =
    9595Small fix for arrows
     96= 3.3 =
     97Fixed auto rotation
    9698
    9799== Changelog ==
     
    127129= 3.1 =
    128130Updated all code to be compliant of newer version of jQuery
    129 = 3.1 =
     131= 3.2 =
    130132Small fix for arrows
     133= 3.3 =
     134Fixed auto rotation
Note: See TracChangeset for help on using the changeset viewer.