Dynamic "To Top" Plugin - Version 3.1.4

Version Description

  • Fixes JS problem on 3.1.1 to 3.1.3
Download this release

Release Info

Developer sksmatt
Plugin Icon wp plugin Dynamic "To Top" Plugin
Version 3.1.4
Comparing to
See all releases

Code changes from version 3.1.3 to 3.1.4

dynamic-to-top.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Dynamic To Top
4
- Version: 3.1.3
5
  Plugin URI: http://www.mattvarone.com/wordpress/dynamic-to-top-wordpress-plugin
6
  Description: Adds an automatic and dynamic "To Top" button to scroll long pages back to the top.
7
  Author: Matt Varone
1
  <?php
2
  /*
3
  Plugin Name: Dynamic To Top
4
+ Version: 3.1.4
5
  Plugin URI: http://www.mattvarone.com/wordpress/dynamic-to-top-wordpress-plugin
6
  Description: Adds an automatic and dynamic "To Top" button to scroll long pages back to the top.
7
  Author: Matt Varone
inc/dynamic-to-top-class.php CHANGED
@@ -110,6 +110,8 @@ if ( !class_exists('Dynamic_To_Top'))
110
  return false;
111
  }
112
 
 
 
113
  add_action('wp_print_styles', array(&$this,'enqueue_style'));
114
  add_action('wp_print_scripts', array(&$this,'enqueue_script'));
115
  }
@@ -275,11 +277,7 @@ if ( !class_exists('Dynamic_To_Top'))
275
  */
276
 
277
  function get_position($position="")
278
- {
279
-
280
- if (!isset($this->options['margin']))
281
- $this->options['margin'] = 20;
282
-
283
  switch ($this->options['position'])
284
  {
285
  case 'Bottom Right':
@@ -487,7 +485,7 @@ if ( !class_exists('Dynamic_To_Top'))
487
 
488
  $js .= "// jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
489
 
490
- if(typeof jQuery.easeInExpo != 'function') {
491
 
492
  jQuery.extend( jQuery.easing,
493
  {
110
  return false;
111
  }
112
 
113
+ $this->options['margin'] = 20;
114
+
115
  add_action('wp_print_styles', array(&$this,'enqueue_style'));
116
  add_action('wp_print_scripts', array(&$this,'enqueue_script'));
117
  }
277
  */
278
 
279
  function get_position($position="")
280
+ {
 
 
 
 
281
  switch ($this->options['position'])
282
  {
283
  case 'Bottom Right':
485
 
486
  $js .= "// jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
487
 
488
+ if(typeof jQuery.easing.easeInBounce != 'function') {
489
 
490
  jQuery.extend( jQuery.easing,
491
  {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.mattvarone.com
4
  Tags: Dynamic, UI, Scroll, To top, Automatic, Enhance, UX
5
  Requires at least: 2.5
6
  Tested up to: 3.1.2
7
- Stable tag: 3.1.3
8
 
9
  Adds an automatic and dynamic "To Top" button to easily scroll long pages back to the top.
10
 
@@ -39,6 +39,10 @@ It features an intuitive control panel to style and adjust to each website's nee
39
 
40
  == Changelog ==
41
 
 
 
 
 
42
  = 3.1.3 =
43
  * Code improvements
44
  * Fixes Options problem
4
  Tags: Dynamic, UI, Scroll, To top, Automatic, Enhance, UX
5
  Requires at least: 2.5
6
  Tested up to: 3.1.2
7
+ Stable tag: 3.1.4
8
 
9
  Adds an automatic and dynamic "To Top" button to easily scroll long pages back to the top.
10
 
39
 
40
  == Changelog ==
41
 
42
+
43
+ = 3.1.4 =
44
+ * Fixes JS problem on 3.1.1 to 3.1.3
45
+
46
  = 3.1.3 =
47
  * Code improvements
48
  * Fixes Options problem