Version Description
*New: Option to enable Go To Top Button (with custom scroll speed and animation effect)
Download this release
Release Info
Developer | Jeriff Cheng |
Plugin | Easy Smooth Scroll Links |
Version | 1.5 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.5
- index.php +69 -19
- options.php +57 -17
- readme.txt +90 -87
- screenshot-1.png +0 -0
- screenshot-4.png +0 -0
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Easy Smooth Scroll Links
|
4 |
Plugin URI: http://www.jeriffcheng.com/wordpress-plugins/easy-smooth-scroll-links
|
5 |
Description: Create anchors and add up to to 30 scrolling animation effects to links that link to page anchors. You can set scroll speed and offset value.
|
6 |
-
Version: 1.
|
7 |
Author: Jeriff Cheng
|
8 |
Author URI: http://www.jeriffcheng.com/
|
9 |
*/
|
@@ -85,7 +85,11 @@ define('ESSLPluginOptions_NICK', 'ESSL Settings');
|
|
85 |
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_match_2');
|
86 |
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_match_3');
|
87 |
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_match_4');
|
88 |
-
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_match_5');
|
|
|
|
|
|
|
|
|
89 |
}
|
90 |
/** function/method
|
91 |
* Usage: hooking (registering) the plugin menu
|
@@ -116,6 +120,18 @@ define('ESSLPluginOptions_NICK', 'ESSL Settings');
|
|
116 |
|
117 |
}
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
if ( is_admin() )
|
120 |
{
|
121 |
add_action('admin_init', array('ESSLPluginOptions', 'register'));
|
@@ -129,6 +145,7 @@ define('ESSLPluginOptions_NICK', 'ESSL Settings');
|
|
129 |
add_action('wp_enqueue_scripts', 'essl_enqueue_jquery', 999 );
|
130 |
add_action('wp_footer', 'essl_script',100);
|
131 |
|
|
|
132 |
function essl_enqueue_jquery() {
|
133 |
wp_deregister_script( 'jquery-easing' );
|
134 |
wp_register_script( 'jquery-easing', '//cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js',array( 'jquery' ) );
|
@@ -152,30 +169,63 @@ define('ESSLPluginOptions_NICK', 'ESSL Settings');
|
|
152 |
$essl_exclude_match= $essl_exclude_match_1. $essl_exclude_match_2. $essl_exclude_match_3. $essl_exclude_match_4. $essl_exclude_match_5;
|
153 |
|
154 |
?>
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
$(function() {
|
159 |
-
|
160 |
-
|
161 |
-
$("a[href*=#]:not([href=#]):not([href^='#tab']):not([href^='#quicktab']):not([href^='#pane'])<?php if($essl_exclude_begin) echo $essl_exclude_begin; ?><?php if($essl_exclude_match) echo $essl_exclude_match; ?>").click(function() {
|
162 |
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
$('html,body').animate({
|
167 |
-
|
168 |
-
}
|
169 |
return false;
|
170 |
-
|
171 |
}
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
});
|
176 |
-
|
177 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
}
|
|
|
|
|
179 |
endif;
|
180 |
|
181 |
?>
|
3 |
Plugin Name: Easy Smooth Scroll Links
|
4 |
Plugin URI: http://www.jeriffcheng.com/wordpress-plugins/easy-smooth-scroll-links
|
5 |
Description: Create anchors and add up to to 30 scrolling animation effects to links that link to page anchors. You can set scroll speed and offset value.
|
6 |
+
Version: 1.5
|
7 |
Author: Jeriff Cheng
|
8 |
Author URI: http://www.jeriffcheng.com/
|
9 |
*/
|
85 |
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_match_2');
|
86 |
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_match_3');
|
87 |
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_match_4');
|
88 |
+
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_match_5');
|
89 |
+
|
90 |
+
register_setting(ESSLPluginOptions_ID.'_options', 'essl_top_enabled');
|
91 |
+
register_setting(ESSLPluginOptions_ID.'_options', 'essl_top_speed');
|
92 |
+
register_setting(ESSLPluginOptions_ID.'_options', 'essl_top_easing');
|
93 |
}
|
94 |
/** function/method
|
95 |
* Usage: hooking (registering) the plugin menu
|
120 |
|
121 |
}
|
122 |
|
123 |
+
|
124 |
+
// Add settings link on plugin page
|
125 |
+
function essl_plugin_action_links($links) {
|
126 |
+
$settings_link = '<a href="options-general.php?page=essl-plugin-options_options">Settings</a>';
|
127 |
+
array_unshift($links, $settings_link);
|
128 |
+
return $links;
|
129 |
+
}
|
130 |
+
|
131 |
+
$plugin = plugin_basename(__FILE__);
|
132 |
+
add_filter("plugin_action_links_$plugin", 'essl_plugin_action_links' );
|
133 |
+
|
134 |
+
|
135 |
if ( is_admin() )
|
136 |
{
|
137 |
add_action('admin_init', array('ESSLPluginOptions', 'register'));
|
145 |
add_action('wp_enqueue_scripts', 'essl_enqueue_jquery', 999 );
|
146 |
add_action('wp_footer', 'essl_script',100);
|
147 |
|
148 |
+
|
149 |
function essl_enqueue_jquery() {
|
150 |
wp_deregister_script( 'jquery-easing' );
|
151 |
wp_register_script( 'jquery-easing', '//cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js',array( 'jquery' ) );
|
169 |
$essl_exclude_match= $essl_exclude_match_1. $essl_exclude_match_2. $essl_exclude_match_3. $essl_exclude_match_4. $essl_exclude_match_5;
|
170 |
|
171 |
?>
|
172 |
+
<script type="text/javascript">
|
173 |
+
jQuery.noConflict();
|
174 |
+
(function( $ ) {
|
175 |
$(function() {
|
176 |
+
// More code using $ as alias to jQuery
|
177 |
+
$("a[href*=#]:not([href=#]):not([href^='#tab']):not([href^='#quicktab']):not([href^='#pane'])<?php if($essl_exclude_begin) echo $essl_exclude_begin; ?><?php if($essl_exclude_match) echo $essl_exclude_match; ?>").click(function() {
|
|
|
178 |
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
|
179 |
+
var target = $(this.hash);
|
180 |
+
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
|
181 |
+
if (target.length) {
|
182 |
$('html,body').animate({
|
183 |
+
scrollTop: target.offset().top - <?php if (get_option('essl_offset')!='') {echo get_option('essl_offset');} else {echo '20';} ?>
|
184 |
+
},<?php if (get_option('essl_speed')!='') {echo get_option('essl_speed');} else {echo '900';} ?> ,'<?php echo get_option('essl_easing','easeInQuint');?>');
|
185 |
return false;
|
186 |
+
}
|
187 |
}
|
188 |
+
});
|
|
|
|
|
189 |
});
|
190 |
+
})(jQuery);
|
191 |
+
</script>
|
192 |
+
<?php }
|
193 |
+
|
194 |
+
if(get_option('essl_top_enabled')){
|
195 |
+
|
196 |
+
add_action('wp_footer', 'essl_go_to_top',100);
|
197 |
+
function essl_go_to_top() { ?>
|
198 |
+
<a id="esslgotop" href="#essltop">Back to Top</a>
|
199 |
+
<style>#esslgotop{position:fixed;bottom:2em;right:2em;text-decoration:none;color:white;background-color:rgba(0,0,0,0.3); font-size:12px;padding:1em;display:none;} #esslgotop:hover{background-color:rgba(0,0,0,0.6);}</style>
|
200 |
+
<script type="text/javascript">
|
201 |
+
jQuery.noConflict();
|
202 |
+
(function( $ ) {
|
203 |
+
$(function() {
|
204 |
+
//Go to Top Button Script
|
205 |
+
$(document).ready(function(){
|
206 |
+
$("#esslgotop").hide();
|
207 |
+
$(function () {
|
208 |
+
$(window).scroll(function () {
|
209 |
+
if ($(this).scrollTop() > 100) {
|
210 |
+
$('#esslgotop').fadeIn();
|
211 |
+
} else {
|
212 |
+
$('#esslgotop').fadeOut();
|
213 |
+
}
|
214 |
+
});
|
215 |
+
$('a[href=#essltop]').click(function () {
|
216 |
+
$('html, body').animate({scrollTop:0}, <?php if (get_option('essl_top_speed')!='') {echo get_option('essl_top_speed');} else {echo '900';} ?>,'<?php echo get_option('essl_top_easing','easeInQuint');?>');
|
217 |
+
return false;
|
218 |
+
});
|
219 |
+
});
|
220 |
+
});
|
221 |
+
});
|
222 |
+
})(jQuery);
|
223 |
+
</script>
|
224 |
+
<?php }
|
225 |
+
}
|
226 |
}
|
227 |
+
|
228 |
+
|
229 |
endif;
|
230 |
|
231 |
?>
|
options.php
CHANGED
@@ -1,20 +1,6 @@
|
|
1 |
<div class="wrap">
|
2 |
|
3 |
-
<?php screen_icon(); ?>
|
4 |
-
<script type="text/javascript">
|
5 |
-
|
6 |
-
// More code using $ as alias to jQuery
|
7 |
-
function empty() {
|
8 |
-
var x;
|
9 |
-
x = document.getElementById("offset").value;
|
10 |
-
y = document.getElementById("speed").value;
|
11 |
-
if (x == ""||y == "") {
|
12 |
-
alert("Input field can't be empty");
|
13 |
-
return false;
|
14 |
-
};
|
15 |
-
}
|
16 |
-
|
17 |
-
</script>
|
18 |
<form action="options.php" method="post" id="<?php echo $plugin_id; ?>_options_form" name="<?php echo $plugin_id; ?>_options_form">
|
19 |
|
20 |
<?php settings_fields($plugin_id.'_options'); ?>
|
@@ -32,7 +18,7 @@ function empty() {
|
|
32 |
<td style="padding:5px;font-family:Verdana, Geneva, sans-serif;color:#666;">
|
33 |
<label for="essl_speed">
|
34 |
<p>Scroll Speed ( smaller number, faster, default is 900 )</p>
|
35 |
-
<p><input id="speed" type="text" name="essl_speed" value="<?php echo get_option('essl_speed'); ?>" /></p>
|
36 |
</label>
|
37 |
</td>
|
38 |
</tr>
|
@@ -40,7 +26,7 @@ function empty() {
|
|
40 |
<td style="padding:5px;font-family:Verdana, Geneva, sans-serif;color:#666;">
|
41 |
<label for="essl_offset">
|
42 |
<p>Offset ( default is 20 )</p>
|
43 |
-
<p><input
|
44 |
</label>
|
45 |
</td>
|
46 |
</tr>
|
@@ -116,6 +102,60 @@ function empty() {
|
|
116 |
</td>
|
117 |
</tr>
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
</tbody>
|
120 |
|
121 |
|
1 |
<div class="wrap">
|
2 |
|
3 |
+
<?php screen_icon(); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
<form action="options.php" method="post" id="<?php echo $plugin_id; ?>_options_form" name="<?php echo $plugin_id; ?>_options_form">
|
5 |
|
6 |
<?php settings_fields($plugin_id.'_options'); ?>
|
18 |
<td style="padding:5px;font-family:Verdana, Geneva, sans-serif;color:#666;">
|
19 |
<label for="essl_speed">
|
20 |
<p>Scroll Speed ( smaller number, faster, default is 900 )</p>
|
21 |
+
<p><input size="10" id="speed" type="text" name="essl_speed" value="<?php echo get_option('essl_speed'); ?>" /></p>
|
22 |
</label>
|
23 |
</td>
|
24 |
</tr>
|
26 |
<td style="padding:5px;font-family:Verdana, Geneva, sans-serif;color:#666;">
|
27 |
<label for="essl_offset">
|
28 |
<p>Offset ( default is 20 )</p>
|
29 |
+
<p><input size="10" id="offset" type="text" name="essl_offset" value="<?php echo get_option('essl_offset'); ?>" /></p>
|
30 |
</label>
|
31 |
</td>
|
32 |
</tr>
|
102 |
</td>
|
103 |
</tr>
|
104 |
|
105 |
+
|
106 |
+
|
107 |
+
<tr>
|
108 |
+
<td style="padding:5px;font-family:Verdana, Geneva, sans-serif;color:#666;">
|
109 |
+
<label for="essl_top_enabled">
|
110 |
+
<p><strong>Enable GoToTop Button ?</strong></p>
|
111 |
+
<p><input type="checkbox" value="1" id="gototop_enabled" name="essl_top_enabled" <?php if (get_option( 'essl_top_enabled' )) echo 'checked' ; ?>><strong>YES</strong>. →
|
112 |
+
GoToTop Speed( Default:900) <input size="10" id="topspeed" type="text" name="essl_top_speed" value="<?php echo get_option('essl_top_speed'); ?>" /> →Animation Effect <select name="essl_top_easing">
|
113 |
+
<option disabled="disabled" >Choose an Animation Effects</option>
|
114 |
+
<option name="essl_top_easing" value="easeInBounce" <?php echo (get_option('essl_top_easing') == "easeInBounce") ? 'selected="selected"' : ''; ?>>easeInBounce</option>
|
115 |
+
<option name="essl_top_easing" value="easeOutBounce" <?php echo (get_option('essl_top_easing') == "easeOutBounce") ? 'selected="selected"' : ''; ?>>easeOutBounce</option>
|
116 |
+
<option name="essl_top_easing" value="easeInOutBounce" <?php echo (get_option('essl_top_easing') == "easeInOutBounce") ? 'selected="selected"' : ''; ?>>easeInOutBounce</option>
|
117 |
+
<option name="essl_top_easing" value="easeInElastic" <?php echo (get_option('essl_top_easing') == "easeInElastic") ? 'selected="selected"' : ''; ?>>easeInElastic</option>
|
118 |
+
<option name="essl_top_easing" value="easeOutElastic" <?php echo (get_option('essl_top_easing') == "easeOutElastic") ? 'selected="selected"' : ''; ?>>easeOutElastic</option>
|
119 |
+
<option name="essl_top_easing" value="easeInOutElastic" <?php echo (get_option('essl_top_easing') == "easeInOutElastic") ? 'selected="selected"' : ''; ?>>easeInOutElastic</option>
|
120 |
+
<option name="essl_top_easing" value="easeInCirc" <?php echo (get_option('essl_top_easing') == "easeInCirc") ? 'selected="selected"' : ''; ?>>easeInCirc</option>
|
121 |
+
<option name="essl_top_easing" value="easeOutCirc" <?php echo (get_option('essl_top_easing') == "easeOutCirc") ? 'selected="selected"' : ''; ?>>easeOutCirc</option>
|
122 |
+
<option name="essl_top_easing" value="easeInOutCirc" <?php echo (get_option('essl_top_easing') == "easeInOutCirc") ? 'selected="selected"' : ''; ?>>easeInOutCirc</option>
|
123 |
+
<option name="essl_top_easing" value="easeInBack" <?php echo (get_option('essl_top_easing') == "easeInBack") ? 'selected="selected"' : ''; ?>>easeInBack</option>
|
124 |
+
<option name="essl_top_easing" value="easeOutBack" <?php echo (get_option('essl_top_easing') == "easeOutBack") ? 'selected="selected"' : ''; ?>>easeOutBack</option>
|
125 |
+
<option name="essl_top_easing" value="easeInOutBack" <?php echo (get_option('essl_top_easing') == "easeInOutBack") ? 'selected="selected"' : ''; ?>>easeInOutBack</option>
|
126 |
+
<option name="essl_top_easing" value="easeInQuint" <?php echo (get_option('essl_top_easing') == "easeInQuint") ? 'selected="selected"' : ''; ?>>easeInQuint</option>
|
127 |
+
<option name="essl_top_easing" value="easeOutQuint" <?php echo (get_option('essl_top_easing') == "easeOutQuint") ? 'selected="selected"' : ''; ?>>easeOutQuint</option>
|
128 |
+
<option name="essl_top_easing" value="easeInOutQuint" <?php echo (get_option('essl_top_easing') == "easeInOutQuint") ? 'selected="selected"' : ''; ?>>easeInOutQuint</option>
|
129 |
+
<option name="essl_top_easing" value="easeInExpo" <?php echo (get_option('essl_top_easing') == "easeInExpo") ? 'selected="selected"' : ''; ?>>easeInExpo</option>
|
130 |
+
<option name="essl_top_easing" value="easeOutExpo" <?php echo (get_option('essl_top_easing') == "easeOutExpo") ? 'selected="selected"' : ''; ?>>easeOutExpo</option>
|
131 |
+
<option name="essl_top_easing" value="easeInOutExpo" <?php echo (get_option('essl_top_easing') == "easeInOutExpo") ? 'selected="selected"' : ''; ?>>easeInOutExpo</option>
|
132 |
+
<option name="essl_top_easing" value="easeInCubic" <?php echo (get_option('essl_top_easing') == "easeInCubic") ? 'selected="selected"' : ''; ?>>easeInCubic</option>
|
133 |
+
<option name="essl_top_easing" value="easeOutCubic" <?php echo (get_option('essl_top_easing') == "easeOutCubic") ? 'selected="selected"' : ''; ?>>easeOutCubic</option>
|
134 |
+
<option name="essl_top_easing" value="easeInOutCubic" <?php echo (get_option('essl_top_easing') == "easeInOutCubic") ? 'selected="selected"' : ''; ?>>easeInOutCubic</option>
|
135 |
+
<option name="essl_top_easing" value="easeInQuart" <?php echo (get_option('essl_top_easing') == "easeInQuart") ? 'selected="selected"' : ''; ?>>easeInQuart</option>
|
136 |
+
<option name="essl_top_easing" value="easeOutQuart" <?php echo (get_option('essl_top_easing') == "easeOutQuart") ? 'selected="selected"' : ''; ?>>easeOutQuart</option>
|
137 |
+
<option name="essl_top_easing" value="easeInOutQuart" <?php echo (get_option('essl_top_easing') == "easeInOutQuart") ? 'selected="selected"' : ''; ?>>easeInOutQuart</option>
|
138 |
+
<option name="essl_top_easing" value="easeInSine" <?php echo (get_option('essl_top_easing') == "easeInSine") ? 'selected="selected"' : ''; ?>>easeInSine</option>
|
139 |
+
<option name="essl_top_easing" value="easeOutSine" <?php echo (get_option('essl_top_easing') == "easeOutSine") ? 'selected="selected"' : ''; ?>>easeOutSine</option>
|
140 |
+
<option name="essl_top_easing" value="easeInOutSine" <?php echo (get_option('essl_top_easing') == "easeInOutSine") ? 'selected="selected"' : ''; ?>>easeInOutSine</option>
|
141 |
+
<option name="essl_top_easing" value="easeInQuad" <?php echo (get_option('essl_top_easing') == "easeInQuad") ? 'selected="selected"' : ''; ?>>easeInQuad</option>
|
142 |
+
<option name="essl_top_easing" value="easeOutQuad" <?php echo (get_option('essl_top_easing') == "easeOutQuad") ? 'selected="selected"' : ''; ?>>easeOutQuad</option>
|
143 |
+
<option name="essl_top_easing" value="easeInOutQuad" <?php echo (get_option('essl_top_easing') == "easeInOutQuad") ? 'selected="selected"' : ''; ?>>easeInOutQuad</option>
|
144 |
+
</select></p>
|
145 |
+
</label>
|
146 |
+
|
147 |
+
</td>
|
148 |
+
</tr>
|
149 |
+
|
150 |
+
|
151 |
+
|
152 |
+
|
153 |
+
|
154 |
+
|
155 |
+
|
156 |
+
|
157 |
+
|
158 |
+
|
159 |
</tbody>
|
160 |
|
161 |
|
readme.txt
CHANGED
@@ -1,87 +1,90 @@
|
|
1 |
-
=== Easy Smooth Scroll Links ===
|
2 |
-
Contributors: Jeriff Cheng
|
3 |
-
Tags: smooth scroll,jquery smooth scroll div,smooth scroll jquery,smooth scroll chrome,smooth scroll firefox,smooth scroll javascript,smooth scroll to anchor,smooth scroll plugin,smooth scroll tutorial,anchor,anchor text
|
4 |
-
Requires at least: 2.6.5
|
5 |
-
Tested up to: 3.8
|
6 |
-
Stable tag: trunk
|
7 |
-
|
8 |
-
== Description ==
|
9 |
-
Create anchors and add up to to 30 scrolling animation effects to links that link to page anchors. You can set scroll speed and offset value.
|
10 |
-
|
11 |
-
<h4>Features</h4>
|
12 |
-
|
13 |
-
* You can set __scroll speed__ and __offset value__.
|
14 |
-
* Choose from __30 Scrolling Animation Effects__
|
15 |
-
* You can __exclude certain anchors from scrolling__.
|
16 |
-
*
|
17 |
-
*
|
18 |
-
*
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
2.
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
*
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
|
|
|
|
|
1 |
+
=== Easy Smooth Scroll Links ===
|
2 |
+
Contributors: Jeriff Cheng
|
3 |
+
Tags: smooth scroll,jquery smooth scroll div,smooth scroll jquery,smooth scroll chrome,smooth scroll firefox,smooth scroll javascript,smooth scroll to anchor,smooth scroll plugin,smooth scroll tutorial,anchor,anchor text
|
4 |
+
Requires at least: 2.6.5
|
5 |
+
Tested up to: 3.8
|
6 |
+
Stable tag: trunk
|
7 |
+
|
8 |
+
== Description ==
|
9 |
+
Create anchors and add up to to 30 scrolling animation effects to links that link to page anchors. You can set scroll speed and offset value.
|
10 |
+
|
11 |
+
<h4>Features</h4>
|
12 |
+
|
13 |
+
* You can set __scroll speed__ and __offset value__.
|
14 |
+
* Choose from __30 Scrolling Animation Effects__
|
15 |
+
* You can __exclude certain anchors from scrolling__.
|
16 |
+
* Option to enable __Go To Top Button__.
|
17 |
+
* Works on __all major browsers__: IE, Firefox, Chrome, Safari...
|
18 |
+
* __Visual Editor__ Anchor Button
|
19 |
+
* __Shortcode__ Supported [anchor]anchorname[/anchor]
|
20 |
+
|
21 |
+
<h4>Video Tutorial</h4>
|
22 |
+
|
23 |
+
http://www.youtube.com/watch?v=te0FZcPulJs
|
24 |
+
|
25 |
+
For more information,refer to <a rel="follow" href="http://www.jeriffcheng.com/wordpress-plugins/easy-smooth-scroll-links#faqs" target="_blank">Easy Smooth Scroll Links WordPress Plugin</a>
|
26 |
+
|
27 |
+
|
28 |
+
== Installation ==
|
29 |
+
1. Upload the full directory into your wp-content/plugins directory
|
30 |
+
2. Activate the plugin at the plugin administration page
|
31 |
+
3. That's it!
|
32 |
+
|
33 |
+
== Frequently Asked Questions ==
|
34 |
+
For FAQs and bug report,refer to <a target="_blank" rel="follow" href="http://www.jeriffcheng.com/wordpress-plugins/easy-smooth-scroll-links#faqs">ESSL FAQs</a>
|
35 |
+
|
36 |
+
== Screenshots ==
|
37 |
+
|
38 |
+
1. Plugin Options Page
|
39 |
+
2. Animation Effects
|
40 |
+
3. Visual Editor Anchor Button
|
41 |
+
4. Go To Top Button
|
42 |
+
|
43 |
+
== Changelog ==
|
44 |
+
|
45 |
+
= 1.5 =
|
46 |
+
|
47 |
+
*New: Option to enable Go To Top Button (with custom scroll speed and animation effect)
|
48 |
+
|
49 |
+
= 1.4 =
|
50 |
+
|
51 |
+
*New: You can now exclude certain anchors from scrolling
|
52 |
+
|
53 |
+
*Imoprove: Set default scrolling animation effect to more smooth 'easeInQuint'
|
54 |
+
|
55 |
+
|
56 |
+
= 1.3.2 =
|
57 |
+
|
58 |
+
*New: Added 30 Scrolling Animation Effects
|
59 |
+
|
60 |
+
*Fix: Prevent saving empty input fields
|
61 |
+
|
62 |
+
= 1.3.1 =
|
63 |
+
|
64 |
+
*Fix: wp enqueue script error when turning WP_DEBUG mode on
|
65 |
+
|
66 |
+
= 1.3 =
|
67 |
+
|
68 |
+
*NEW: You can set scroll speed and offset value on WordPress backend now !
|
69 |
+
|
70 |
+
= 1.2 =
|
71 |
+
|
72 |
+
*FIX:Chrome Compatibility Problem
|
73 |
+
|
74 |
+
*FIX: wp_enqueue_script was called incorrectly
|
75 |
+
|
76 |
+
= 1.1 =
|
77 |
+
|
78 |
+
*NEW : Add Page Anchor Shortcode.
|
79 |
+
|
80 |
+
Changed : Use wp_enqueue_script function to load the script instead of the default <script> tag.
|
81 |
+
|
82 |
+
= 1.0 =
|
83 |
+
|
84 |
+
*First Version
|
85 |
+
|
86 |
+
== Upgrade Notice ==
|
87 |
+
|
88 |
+
= 1.5 =
|
89 |
+
|
90 |
+
*New: Option to enable Go To Top Button (with custom scroll speed and animation effect)
|
screenshot-1.png
CHANGED
Binary file
|
screenshot-4.png
ADDED
Binary file
|