Plugin Directory

Changeset 471363


Ignore:
Timestamp:
12/06/2011 12:52:47 AM (14 years ago)
Author:
Chaser324
Message:
 
Location:
featured-posts-scroll/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • featured-posts-scroll/trunk

  • featured-posts-scroll/trunk/featured-posts-scroll.php

    r470978 r471363  
    44Plugin URI: http://chasepettit.com
    55Description: A basic javascript based scrolling display of post titles and thumbnails.
    6 Version: 1.21
     6Version: 1.22
    77Author: Chaser324
    88Author URI: http://chasepettit.com
  • featured-posts-scroll/trunk/js/featuredpostslides.php

    r470978 r471363  
    6060                    if (fpg_animLocked[index] == false)
    6161                    {
    62                         scrollFeaturedPosts(this, 'right', index);
     62                        FeaturedPostsLib.fps.scrollFeaturedPosts(this, 'right', index);
    6363                    }
    6464                    clearInterval(autoscrollInterval[index]);
     
    7070                    if (fpg_animLocked[index] == false)
    7171                    {
    72                         scrollFeaturedPosts(this, 'left', index);
     72                        FeaturedPostsLib.fps.scrollFeaturedPosts(this, 'left', index);
    7373                    }
    7474                    clearInterval(autoscrollInterval[index]);
     
    8080                    if (fpg_animLocked[index] == false)
    8181                    {
    82                         scrollFeaturedPosts(this, 'right', index);
     82                        FeaturedPostsLib.fps.scrollFeaturedPosts(this, 'right', index);
    8383                    }
    8484                    clearInterval(autoscrollInterval[index]);
     
    9090                    if (fpg_animLocked[index] == false)
    9191                    {
    92                         scrollFeaturedPosts(this, 'left', index);
     92                        FeaturedPostsLib.fps.scrollFeaturedPosts(this, 'left', index);
    9393                    }
    9494                    clearInterval(autoscrollInterval[index]);
     
    133133                    {
    134134                        var callback =
    135                             "scrollFeaturedPosts($j('.featured-posts-wrapper').slice(" +
     135                            "FeaturedPostsLib.fps.scrollFeaturedPosts(jQuery('.featured-posts-wrapper').slice(" +
    136136                            index + "," + (index + 1) + ").children('.scrollFeaturedPostsRight'), 'right', " + index + ")";
    137137                        autoscrollInterval[index] = setInterval(
     
    141141                    {
    142142                        var callback =
    143                             "scrollFeaturedPosts($j('.featured-posts-wrapper').slice(" +
     143                            "FeaturedPostsLib.fps.scrollFeaturedPosts(jQuery('.featured-posts-wrapper').slice(" +
    144144                            index + "," + (index + 1) + ").children('.scrollFeaturedPostsRight-below'), 'right', " + index + ")";
    145145                        autoscrollInterval[index] = setInterval(
     
    172172
    173173
    174     function scrollFeaturedPosts(button, dir, index)
     174    FeaturedPostsLib.fps.scrollFeaturedPosts = function(button, dir, index)
    175175    {
    176176        if (fpg_animLocked[index] != true)
     
    209209            animate(nextItem, currentItem, dir, index);
    210210        }
    211     }
     211    };
    212212
    213213
  • featured-posts-scroll/trunk/readme.txt

    r470978 r471363  
    77Requires at least: 2.9.1
    88Tested up to: 3.2
    9 Stable tag: 1.21
     9Stable tag: 1.22
    1010
    1111A basic javascript based scrolling display of post titles and thumbnails.
     
    8989
    9090== Changelog ==
     91
     92= 1.22 =
     93* Fixed autoscrolling. (Corrected jQuery reference in autoscroll callback function)
    9194
    9295= 1.21 =
     
    173176== Upgrade Notice ==
    174177
    175 = 1.21 =
    176 * Refactored JavaScript to prevent causing issues with plugins that assume "$" references jQuery.
     178= 1.22 =
     179* Fixed autoscrolling. (Corrected jQuery reference in autoscroll callback function)
Note: See TracChangeset for help on using the changeset viewer.