MouseWheel Smooth Scroll - Version 1.0

Version Description

  • First version
Download this release

Release Info

Developer kubiq
Plugin Icon 128x128 MouseWheel Smooth Scroll
Version 1.0
Comparing to
See all releases

Code changes from version 1.0.2 to 1.0

Files changed (2) hide show
  1. mousewheel-smooth-scroll.php +5 -5
  2. readme.txt +2 -8
mousewheel-smooth-scroll.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: MouseWheel Smooth Scroll
4
  Plugin URI: http://kubiq.sk
5
  Description: MouseWheel smooth scrolling for your WordPress website
6
- Version: 1.0.2
7
  Author: Jakub Novák
8
  Author URI: http://kubiq.sk
9
  */
@@ -55,8 +55,8 @@ if (!class_exists('wpmss')) {
55
  wp_enqueue_script( 'wpmss_jquery_mousewheel', plugins_url( 'js/jquery.mousewheel.min.js' , __FILE__ ));
56
  wp_enqueue_script( 'wpmss_jquery_easing', plugins_url( 'js/jquery.easing.1.3.js' , __FILE__ ));
57
  $options = array(
58
- 'step' => isset( $this->settings['general']['step'] ) && trim( $this->settings['general']['step'] ) != "" ? $this->settings['general']['step'] : 120,
59
- 'speed' => isset( $this->settings['general']['speed'] ) && trim( $this->settings['general']['step'] ) != "" ? $this->settings['general']['speed'] : 800,
60
  'ease' => isset( $this->settings['general']['ease'] ) ? $this->settings['general']['ease'] : 'easeOutCubic',
61
  'enableAll' => isset( $this->settings['general']['enable_mac'] ) ? 1 : 0
62
  );
@@ -106,7 +106,7 @@ if (!class_exists('wpmss')) {
106
  <label for="q_field_1"><?php _e("Step:", $this->domain) ?></label> 
107
  </th>
108
  <td>
109
- <input type="text" name="step" placeholder="120" value="<?php echo $this->settings[ $this->tab ]["step"]; ?>" id="q_field_1">
110
  </td>
111
  </tr>
112
  <tr>
@@ -114,7 +114,7 @@ if (!class_exists('wpmss')) {
114
  <label for="q_field_2"><?php _e("Speed:", $this->domain) ?></label> 
115
  </th>
116
  <td>
117
- <input type="text" name="speed" placeholder="800" value="<?php echo $this->settings[ $this->tab ]["speed"]; ?>" id="q_field_2">
118
  </td>
119
  </tr>
120
  <tr>
3
  Plugin Name: MouseWheel Smooth Scroll
4
  Plugin URI: http://kubiq.sk
5
  Description: MouseWheel smooth scrolling for your WordPress website
6
+ Version: 1.0
7
  Author: Jakub Novák
8
  Author URI: http://kubiq.sk
9
  */
55
  wp_enqueue_script( 'wpmss_jquery_mousewheel', plugins_url( 'js/jquery.mousewheel.min.js' , __FILE__ ));
56
  wp_enqueue_script( 'wpmss_jquery_easing', plugins_url( 'js/jquery.easing.1.3.js' , __FILE__ ));
57
  $options = array(
58
+ 'step' => isset( $this->settings['general']['step'] ) ? $this->settings['general']['step'] : 55,
59
+ 'speed' => isset( $this->settings['general']['speed'] ) ? $this->settings['general']['speed'] : 400,
60
  'ease' => isset( $this->settings['general']['ease'] ) ? $this->settings['general']['ease'] : 'easeOutCubic',
61
  'enableAll' => isset( $this->settings['general']['enable_mac'] ) ? 1 : 0
62
  );
106
  <label for="q_field_1"><?php _e("Step:", $this->domain) ?></label> 
107
  </th>
108
  <td>
109
+ <input type="text" name="step" placeholder="55" value="<?php echo $this->settings[ $this->tab ]["step"]; ?>" id="q_field_1">
110
  </td>
111
  </tr>
112
  <tr>
114
  <label for="q_field_2"><?php _e("Speed:", $this->domain) ?></label> 
115
  </th>
116
  <td>
117
+ <input type="text" name="speed" placeholder="400" value="<?php echo $this->settings[ $this->tab ]["speed"]; ?>" id="q_field_2">
118
  </td>
119
  </tr>
120
  <tr>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://kubiq.sk
4
  Tags: smooth scroll, mousewheel scroll, scrolling
5
  Requires at least: 3.0.1
6
  Tested up to: 4.1
7
- Stable tag: 1.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -34,10 +34,4 @@ Replace basic scrolling "efect" on Windows, Linux and some browsers with nice sm
34
  == Changelog ==
35
 
36
  = 1.0 =
37
- * First version
38
-
39
- = 1.0.1 =
40
- * Optimalisation
41
-
42
- = 1.0.2 =
43
- * Improve / change default settings
4
  Tags: smooth scroll, mousewheel scroll, scrolling
5
  Requires at least: 3.0.1
6
  Tested up to: 4.1
7
+ Stable tag: 1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
34
  == Changelog ==
35
 
36
  = 1.0 =
37
+ * First version