Plugin Directory

Changeset 2165205


Ignore:
Timestamp:
09/29/2019 06:29:41 PM (7 years ago)
Author:
deimos252
Message:

Minor bug fixes

Location:
sequence-animation/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sequence-animation/trunk/index.php

    r2164908 r2165205  
    44Plugin URI:
    55Description: Animate your page elements by adding animation in sequence, click the 'Suquence animation' button on the admin bar and select the element to animate 
    6 Version: 1.3
     6Version: 1.4
    77Author: Deimos Mavrozoumis
    88Author URI: https://plugfame.wordpress.com
  • sequence-animation/trunk/js/anim_editor_class.js

    r2164908 r2165205  
    18581858                    (spfa_transform_array['skewY']==null || spfa_transform_array['skewY']==0) &&
    18591859                    jQuery(args.item_id).css('margin-left')==args.init_margin_left &&
    1860                     jQuery(args.item_id).css('margin-left')==args.init_margin_left &&
     1860                    jQuery(args.item_id).css('margin-top')==args.init_margin_top &&
    18611861                    jQuery(args.item_id).outerWidth() == args.init_width &&
    18621862                    jQuery(args.item_id).outerHeight() == args.init_height &&
  • sequence-animation/trunk/js/script.js

    r2164908 r2165205  
    297297  //////////////////////////////////////case run on window show//////////////////////////
    298298  else{
    299     if(!spfa_isScrolledIntoView(args.item_id)){
    300       var spfa_triggerAtY = jQuery(args.item_id).offset().top - jQuery(window).outerHeight();
    301       jQuery(window).scroll(function(event) {
    302         // #target not yet in view
    303         if (spfa_triggerAtY > jQuery(window).scrollTop()) {
    304           return;
    305         }
    306 
     299    setTimeout(function(){             
     300      if(!spfa_isScrolledIntoView(args.item_id)){
     301        var spfa_triggerAtY = jQuery(args.item_id).offset().top - jQuery(window).outerHeight();
     302        jQuery(window).scroll(function(event) {
     303          // #target not yet in view
     304          if (spfa_triggerAtY > jQuery(window).scrollTop()) {
     305            return;
     306          }
     307
     308          spfa_run_effects(args);
     309          // remove this event handler
     310          jQuery(this).off(event);
     311        });
     312      }
     313      else{
    307314        spfa_run_effects(args);
    308         // remove this event handler
    309         jQuery(this).off(event);
    310       });
    311      }
    312      else{
    313        spfa_run_effects(args);
    314      }   
     315      }
     316    },1000);     
    315317  }
    316318}
     
    445447    jQuery(args.item_id).queue(function() {
    446448      var placeholder_element=jQuery(args.item_id);
    447       jQuery.spfa_effects.restoreStyle(placeholder_element,args.init_css_position);
    448       jQuery.spfa_effects.removePlaceholder(placeholder_element);
     449      //jQuery.spfa_effects.restoreStyle(placeholder_element,args.init_css_position);
     450      //jQuery.spfa_effects.removePlaceholder(placeholder_element);
    449451      jQuery(args.item_id).dequeue();
    450452    }); 
     
    611613                  (spfa_transform_array['skewY']==null || spfa_transform_array['skewY']==0) &&
    612614                  jQuery(args.item_id).css('margin-left')==args.init_margin_left &&
    613                   jQuery(args.item_id).css('margin-left')==args.init_margin_left &&
     615                  jQuery(args.item_id).css('margin-top')==args.init_margin_top &&
    614616                  jQuery(args.item_id).outerWidth() == args.init_width &&
    615617                  jQuery(args.item_id).outerHeight() == args.init_height &&
    616                   jQuery(args.item_id).css("font-size") ==args.init_fontsize;
     618                  jQuery(args.item_id).css("font-size") ==args.init_fontsize;           
    617619  //check the table to see if recover is needed//
    618620  if(spfa_primary_and_secondary_effects_array.includes('spfa_color')
  • sequence-animation/trunk/readme.txt

    r2164908 r2165205  
    66Requires at least: 4.7.8
    77Tested up to: 5.2.2
    8 Stable tag: 1.3
     8Stable tag: 1.4
    99License: GPLv2 or later
    1010
     
    5757=1.3=
    5858*Skew and rotate effect added, also fade in on window load is optimized Date - 28 Sep 2019*
     59
     60=1.3=
     61*minor bug fixes - 28 Sep 2019*
Note: See TracChangeset for help on using the changeset viewer.