Plugin Directory

Changeset 1064010


Ignore:
Timestamp:
01/09/2015 03:20:38 PM (11 years ago)
Author:
andrex84
Message:

Updated Fix for WordPress 4.1 - Was a Javascript bug since toggle('scale') wasn't supported anymore.

Location:
this-or-that/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • this-or-that/trunk/css/this-or-that.css

    r797990 r1064010  
    4242.this-or-that_column .this-or-that_item{
    4343    text-align: center;
     44    opacity: 1;
     45   
     46}
     47
     48.this-or-that_column .this-or-that_item.selected{
     49    transition: all .4s ease;
     50    transform: scale(1.4);
     51    opacity: 0;
    4452}
    4553
  • this-or-that/trunk/js/this-or-that.js

    r816812 r1064010  
    2727
    2828        jQuery(this).parents(".this-or-that_item")
    29             .animate({opacity: "0"}, { queue: false, duration: 300 })
    30             .toggle("scale",{ percent: "140" }, 400, function(){
    31 
     29            .addClass('selected')
     30            .animate({
     31                // opacity: "0",
     32            }, 400, function(){
    3233                jQuery("#this-or-that").animate({ opacity: 0 }, 200);
    3334
  • this-or-that/trunk/readme.txt

    r816813 r1064010  
    33Tags: Rating, Ranking, Compare, Facemash, ELO, Chess Algorithm, Vote, Voting, Hot or Not, Research, Match, Pictures, Product Compare, Social, Collaborate, Andre Boekhorst
    44Requires at least: 3.7.1
    5 Tested up to: 3.7.1
    6 Stable tag: 1.0.3
     5Tested up to: 4.1
     6Stable tag: 1.0.4
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1212== Description ==
    1313
    14 Inspired by Facemash, Facebook's predecessor, this plugin sets up two items next to each other and lets visitors choose which one they favor. Each 'vote' adjusts the rating of both items. You can then easily create lists with your visitors favorite items.
     14Inspired by Facemash, Facebook's predecessor, this plugin sets up two items next to each other and lets visitors choose which one they favor. Each 'vote' adjusts the rating of both items. You can then easily create lists with your visitors favorite items. [Updated Fix for WordPress 4.1]
    1515
    1616
  • this-or-that/trunk/this-or-that.php

    r816815 r1064010  
    55Plugin URI: http://andreboekhorst.nl/wordpress/this-or-that-plugin/
    66Description: Let your visitors vote between posts and images to create honest ranking lists. Uses the ELO Algorithm and works with your site's existing content.
    7 Version: 1.0.3
     7Version: 1.0.4
    88Author: André Boekhorst
    99Author URI: http://www.andreboekhorst.nl
Note: See TracChangeset for help on using the changeset viewer.