Version Description
*New: You can now exclude certain anchors from scrolling
*Imoprove: Set default scrolling animation effect to more smooth 'easeInQuint'
Download this release
Release Info
Developer | Jeriff Cheng |
Plugin | Easy Smooth Scroll Links |
Version | 1.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.4
- index.php +41 -12
- options.php +96 -8
- readme.txt +35 -14
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
index.php
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
/*
|
3 |
Plugin Name: Easy Smooth Scroll Links
|
4 |
Plugin URI: http://www.jeriffcheng.com/wordpress-plugins/easy-smooth-scroll-links
|
5 |
-
Description: Create
|
6 |
-
Version: 1.
|
7 |
Author: Jeriff Cheng
|
8 |
Author URI: http://www.jeriffcheng.com/
|
9 |
*/
|
@@ -75,6 +75,17 @@ define('ESSLPluginOptions_NICK', 'ESSL Settings');
|
|
75 |
{
|
76 |
register_setting(ESSLPluginOptions_ID.'_options', 'essl_speed');
|
77 |
register_setting(ESSLPluginOptions_ID.'_options', 'essl_offset');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
}
|
79 |
/** function/method
|
80 |
* Usage: hooking (registering) the plugin menu
|
@@ -115,34 +126,52 @@ define('ESSLPluginOptions_NICK', 'ESSL Settings');
|
|
115 |
if ( !is_admin() )
|
116 |
{
|
117 |
|
118 |
-
add_action(
|
119 |
add_action('wp_footer', 'essl_script',100);
|
120 |
|
121 |
function essl_enqueue_jquery() {
|
|
|
|
|
122 |
wp_enqueue_script( 'jquery' );
|
123 |
-
|
124 |
-
|
125 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
jQuery.noConflict();
|
127 |
(function( $ ) {
|
128 |
$(function() {
|
129 |
// More code using $ as alias to jQuery
|
130 |
-
|
131 |
-
|
132 |
-
$('a[href*=#]:not([href=#])').click(function() {
|
133 |
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
|
134 |
var target = $(this.hash);
|
135 |
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
|
136 |
if (target.length) {
|
137 |
$('html,body').animate({
|
138 |
scrollTop: target.offset().top -<?php echo get_option('essl_offset',20);?>
|
139 |
-
}, <?php echo
|
140 |
return false;
|
141 |
}
|
142 |
}
|
143 |
});
|
144 |
-
|
145 |
-
|
146 |
});
|
147 |
})(jQuery); </script>
|
148 |
<?php }
|
2 |
/*
|
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.4
|
7 |
Author: Jeriff Cheng
|
8 |
Author URI: http://www.jeriffcheng.com/
|
9 |
*/
|
75 |
{
|
76 |
register_setting(ESSLPluginOptions_ID.'_options', 'essl_speed');
|
77 |
register_setting(ESSLPluginOptions_ID.'_options', 'essl_offset');
|
78 |
+
register_setting(ESSLPluginOptions_ID.'_options', 'essl_easing');
|
79 |
+
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_begin_1');
|
80 |
+
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_begin_2');
|
81 |
+
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_begin_3');
|
82 |
+
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_begin_4');
|
83 |
+
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_begin_5');
|
84 |
+
register_setting(ESSLPluginOptions_ID.'_options', 'essl_exclude_match_1');
|
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
|
126 |
if ( !is_admin() )
|
127 |
{
|
128 |
|
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' ) );
|
135 |
wp_enqueue_script( 'jquery' );
|
136 |
+
wp_enqueue_script('jquery-easing');
|
137 |
+
}
|
138 |
+
|
139 |
+
function essl_script() {
|
140 |
+
$essl_exclude_begin_1=$essl_exclude_begin_2=$essl_exclude_begin_3=$essl_exclude_begin_4=$essl_exclude_begin_5=$essl_exclude_match_1=$essl_exclude_match_2=$essl_exclude_match_3=$essl_exclude_match_4=$essl_exclude_match_5='';
|
141 |
+
if(get_option('essl_exclude_begin_1')){ $essl_exclude_begin_1=":not([href^='".get_option('essl_exclude_begin_1')."'])"; }
|
142 |
+
if(get_option('essl_exclude_begin_2')){ $essl_exclude_begin_2=":not([href^='".get_option('essl_exclude_begin_2')."'])"; }
|
143 |
+
if(get_option('essl_exclude_begin_3')){ $essl_exclude_begin_3=":not([href^='".get_option('essl_exclude_begin_3')."'])"; }
|
144 |
+
if(get_option('essl_exclude_begin_4')){ $essl_exclude_begin_4=":not([href^='".get_option('essl_exclude_begin_4')."'])"; }
|
145 |
+
if(get_option('essl_exclude_begin_5')){ $essl_exclude_begin_5=":not([href^='".get_option('essl_exclude_begin_5')."'])"; }
|
146 |
+
if(get_option('essl_exclude_match_1')){ $essl_exclude_match_1=":not([href='".get_option('essl_exclude_match_1')."'])";}
|
147 |
+
if(get_option('essl_exclude_match_2')){ $essl_exclude_match_2=":not([href='".get_option('essl_exclude_match_2')."'])";}
|
148 |
+
if(get_option('essl_exclude_match_3')){ $essl_exclude_match_3=":not([href='".get_option('essl_exclude_match_3')."'])";}
|
149 |
+
if(get_option('essl_exclude_match_4')){ $essl_exclude_match_4=":not([href='".get_option('essl_exclude_match_4')."'])";}
|
150 |
+
if(get_option('essl_exclude_match_5')){ $essl_exclude_match_5=":not([href='".get_option('essl_exclude_match_5')."'])";}
|
151 |
+
$essl_exclude_begin= $essl_exclude_begin_1. $essl_exclude_begin_2. $essl_exclude_begin_3. $essl_exclude_begin_4. $essl_exclude_begin_5;
|
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 |
+
<script type="text/javascript">
|
156 |
jQuery.noConflict();
|
157 |
(function( $ ) {
|
158 |
$(function() {
|
159 |
// More code using $ as alias to jQuery
|
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 |
var target = $(this.hash);
|
164 |
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
|
165 |
if (target.length) {
|
166 |
$('html,body').animate({
|
167 |
scrollTop: target.offset().top -<?php echo get_option('essl_offset',20);?>
|
168 |
+
}, <?php echo get_option('essl_speed',900);?>,'<?php echo get_option('essl_easing','easeInQuint');?>');
|
169 |
return false;
|
170 |
}
|
171 |
}
|
172 |
});
|
173 |
+
|
174 |
+
|
175 |
});
|
176 |
})(jQuery); </script>
|
177 |
<?php }
|
options.php
CHANGED
@@ -1,9 +1,22 @@
|
|
1 |
<div class="wrap">
|
2 |
|
3 |
<?php screen_icon(); ?>
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
<form action="options.php" method="post" id="<?php echo $plugin_id; ?>_options_form" name="<?php echo $plugin_id; ?>_options_form">
|
6 |
-
|
7 |
<?php settings_fields($plugin_id.'_options'); ?>
|
8 |
|
9 |
<h2>Easy Smooth Scroll Links » Settings</h2>
|
@@ -16,31 +29,106 @@
|
|
16 |
|
17 |
<tbody>
|
18 |
<tr>
|
19 |
-
<td style="padding:
|
20 |
<label for="essl_speed">
|
21 |
<p>Scroll Speed ( smaller number, faster, default is 900 )</p>
|
22 |
-
<p><input type="text" name="essl_speed" value="<?php echo get_option('essl_speed'); ?>" /></p>
|
23 |
</label>
|
24 |
</td>
|
25 |
</tr>
|
26 |
<tr>
|
27 |
-
<td style="padding:
|
28 |
<label for="essl_offset">
|
29 |
<p>Offset ( default is 20 )</p>
|
30 |
-
<p><input type="text" name="essl_offset" value="<?php echo get_option('essl_offset'); ?>" /></p>
|
31 |
</label>
|
32 |
</td>
|
33 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
</tbody>
|
35 |
|
36 |
|
37 |
<tfoot>
|
38 |
<tr>
|
39 |
-
<th><input type="submit" name="submit" value="Save Settings" class="button button-primary" /></th>
|
40 |
</tr>
|
41 |
</tfoot>
|
42 |
</table>
|
43 |
-
|
44 |
</form>
|
|
|
|
|
45 |
|
|
|
46 |
</div>
|
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'); ?>
|
21 |
|
22 |
<h2>Easy Smooth Scroll Links » Settings</h2>
|
29 |
|
30 |
<tbody>
|
31 |
<tr>
|
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>
|
39 |
<tr>
|
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 id="offset" type="text" name="essl_offset" value="<?php echo get_option('essl_offset'); ?>" /></p>
|
44 |
</label>
|
45 |
</td>
|
46 |
</tr>
|
47 |
+
<tr>
|
48 |
+
<td style="padding:5px;font-family:Verdana, Geneva, sans-serif;color:#666;">
|
49 |
+
<label for="essl_easing">
|
50 |
+
<p>Scrolling Animation Effects ( default is easeInQuint ) </p>
|
51 |
+
<p>
|
52 |
+
<select name="essl_easing">
|
53 |
+
<option disabled="disabled" >Choose an Animation Effects</option>
|
54 |
+
<option name="essl_easing" value="easeInBounce" <?php echo (get_option('essl_easing') == "easeInBounce") ? 'selected="selected"' : ''; ?>>easeInBounce</option>
|
55 |
+
<option name="essl_easing" value="easeOutBounce" <?php echo (get_option('essl_easing') == "easeOutBounce") ? 'selected="selected"' : ''; ?>>easeOutBounce</option>
|
56 |
+
<option name="essl_easing" value="easeInOutBounce" <?php echo (get_option('essl_easing') == "easeInOutBounce") ? 'selected="selected"' : ''; ?>>easeInOutBounce</option>
|
57 |
+
<option name="essl_easing" value="easeInElastic" <?php echo (get_option('essl_easing') == "easeInElastic") ? 'selected="selected"' : ''; ?>>easeInElastic</option>
|
58 |
+
<option name="essl_easing" value="easeOutElastic" <?php echo (get_option('essl_easing') == "easeOutElastic") ? 'selected="selected"' : ''; ?>>easeOutElastic</option>
|
59 |
+
<option name="essl_easing" value="easeInOutElastic" <?php echo (get_option('essl_easing') == "easeInOutElastic") ? 'selected="selected"' : ''; ?>>easeInOutElastic</option>
|
60 |
+
<option name="essl_easing" value="easeInCirc" <?php echo (get_option('essl_easing') == "easeInCirc") ? 'selected="selected"' : ''; ?>>easeInCirc</option>
|
61 |
+
<option name="essl_easing" value="easeOutCirc" <?php echo (get_option('essl_easing') == "easeOutCirc") ? 'selected="selected"' : ''; ?>>easeOutCirc</option>
|
62 |
+
<option name="essl_easing" value="easeInOutCirc" <?php echo (get_option('essl_easing') == "easeInOutCirc") ? 'selected="selected"' : ''; ?>>easeInOutCirc</option>
|
63 |
+
<option name="essl_easing" value="easeInBack" <?php echo (get_option('essl_easing') == "easeInBack") ? 'selected="selected"' : ''; ?>>easeInBack</option>
|
64 |
+
<option name="essl_easing" value="easeOutBack" <?php echo (get_option('essl_easing') == "easeOutBack") ? 'selected="selected"' : ''; ?>>easeOutBack</option>
|
65 |
+
<option name="essl_easing" value="easeInOutBack" <?php echo (get_option('essl_easing') == "easeInOutBack") ? 'selected="selected"' : ''; ?>>easeInOutBack</option>
|
66 |
+
<option name="essl_easing" value="easeInQuint" <?php echo (get_option('essl_easing') == "easeInQuint") ? 'selected="selected"' : ''; ?>>easeInQuint</option>
|
67 |
+
<option name="essl_easing" value="easeOutQuint" <?php echo (get_option('essl_easing') == "easeOutQuint") ? 'selected="selected"' : ''; ?>>easeOutQuint</option>
|
68 |
+
<option name="essl_easing" value="easeInOutQuint" <?php echo (get_option('essl_easing') == "easeInOutQuint") ? 'selected="selected"' : ''; ?>>easeInOutQuint</option>
|
69 |
+
<option name="essl_easing" value="easeInExpo" <?php echo (get_option('essl_easing') == "easeInExpo") ? 'selected="selected"' : ''; ?>>easeInExpo</option>
|
70 |
+
<option name="essl_easing" value="easeOutExpo" <?php echo (get_option('essl_easing') == "easeOutExpo") ? 'selected="selected"' : ''; ?>>easeOutExpo</option>
|
71 |
+
<option name="essl_easing" value="easeInOutExpo" <?php echo (get_option('essl_easing') == "easeInOutExpo") ? 'selected="selected"' : ''; ?>>easeInOutExpo</option>
|
72 |
+
<option name="essl_easing" value="easeInCubic" <?php echo (get_option('essl_easing') == "easeInCubic") ? 'selected="selected"' : ''; ?>>easeInCubic</option>
|
73 |
+
<option name="essl_easing" value="easeOutCubic" <?php echo (get_option('essl_easing') == "easeOutCubic") ? 'selected="selected"' : ''; ?>>easeOutCubic</option>
|
74 |
+
<option name="essl_easing" value="easeInOutCubic" <?php echo (get_option('essl_easing') == "easeInOutCubic") ? 'selected="selected"' : ''; ?>>easeInOutCubic</option>
|
75 |
+
<option name="essl_easing" value="easeInQuart" <?php echo (get_option('essl_easing') == "easeInQuart") ? 'selected="selected"' : ''; ?>>easeInQuart</option>
|
76 |
+
<option name="essl_easing" value="easeOutQuart" <?php echo (get_option('essl_easing') == "easeOutQuart") ? 'selected="selected"' : ''; ?>>easeOutQuart</option>
|
77 |
+
<option name="essl_easing" value="easeInOutQuart" <?php echo (get_option('essl_easing') == "easeInOutQuart") ? 'selected="selected"' : ''; ?>>easeInOutQuart</option>
|
78 |
+
<option name="essl_easing" value="easeInSine" <?php echo (get_option('essl_easing') == "easeInSine") ? 'selected="selected"' : ''; ?>>easeInSine</option>
|
79 |
+
<option name="essl_easing" value="easeOutSine" <?php echo (get_option('essl_easing') == "easeOutSine") ? 'selected="selected"' : ''; ?>>easeOutSine</option>
|
80 |
+
<option name="essl_easing" value="easeInOutSine" <?php echo (get_option('essl_easing') == "easeInOutSine") ? 'selected="selected"' : ''; ?>>easeInOutSine</option>
|
81 |
+
<option name="essl_easing" value="easeInQuad" <?php echo (get_option('essl_easing') == "easeInQuad") ? 'selected="selected"' : ''; ?>>easeInQuad</option>
|
82 |
+
<option name="essl_easing" value="easeOutQuad" <?php echo (get_option('essl_easing') == "easeOutQuad") ? 'selected="selected"' : ''; ?>>easeOutQuad</option>
|
83 |
+
<option name="essl_easing" value="easeInOutQuad" <?php echo (get_option('essl_easing') == "easeInOutQuad") ? 'selected="selected"' : ''; ?>>easeInOutQuad</option>
|
84 |
+
</select>
|
85 |
+
</p>
|
86 |
+
</label>
|
87 |
+
</td>
|
88 |
+
</tr>
|
89 |
+
|
90 |
+
|
91 |
+
<tr>
|
92 |
+
<td style="padding:5px;font-family:Verdana, Geneva, sans-serif;color:#666;">
|
93 |
+
<label for="essl_exclude_begin"><p>Exclude Anchors Beginning With ( default is #tab #quicktab #pane )
|
94 |
+
</p>
|
95 |
+
<input id="essl_exclude_begin_1" type="text" name="essl_exclude_begin_1" placeholder="#beginwith1" value="<?php echo get_option('essl_exclude_begin_1'); ?>" />
|
96 |
+
<input id="essl_exclude_begin_2" type="text" name="essl_exclude_begin_2" placeholder="#beginwith2" value="<?php echo get_option('essl_exclude_begin_2'); ?>" />
|
97 |
+
<input id="essl_exclude_begin_3" type="text" name="essl_exclude_begin_3" placeholder="#beginwith3" value="<?php echo get_option('essl_exclude_begin_3'); ?>" />
|
98 |
+
<input id="essl_exclude_begin_4" type="text" name="essl_exclude_begin_4" placeholder="#beginwith4" value="<?php echo get_option('essl_exclude_begin_4'); ?>" />
|
99 |
+
<input id="essl_exclude_begin_5" type="text" name="essl_exclude_begin_5" placeholder="#beginwith5" value="<?php echo get_option('essl_exclude_begin_5'); ?>" />
|
100 |
+
</p>
|
101 |
+
</label>
|
102 |
+
</td>
|
103 |
+
</tr>
|
104 |
+
|
105 |
+
<tr>
|
106 |
+
<td style="padding:5px;font-family:Verdana, Geneva, sans-serif;color:#666;">
|
107 |
+
<label for="essl_offset"><p>Exclude Anchors Exactly Match</p>
|
108 |
+
<p>
|
109 |
+
<input id="offset" type="text" name="essl_exclude_match_1" placeholder="#exactmatch1" value="<?php echo get_option('essl_exclude_match_1'); ?>" />
|
110 |
+
<input id="offset" type="text" name="essl_exclude_match_2" placeholder="#exactmatch2" value="<?php echo get_option('essl_exclude_match_2'); ?>" />
|
111 |
+
<input id="offset" type="text" name="essl_exclude_match_3" placeholder="#exactmatch3" value="<?php echo get_option('essl_exclude_match_3'); ?>" />
|
112 |
+
<input id="offset" type="text" name="essl_exclude_match_4" placeholder="#exactmatch4" value="<?php echo get_option('essl_exclude_match_4'); ?>" />
|
113 |
+
<input id="offset" type="text" name="essl_exclude_match_5" placeholder="#exactmatch5" value="<?php echo get_option('essl_exclude_match_5'); ?>" />
|
114 |
+
</p>
|
115 |
+
</label>
|
116 |
+
</td>
|
117 |
+
</tr>
|
118 |
+
|
119 |
</tbody>
|
120 |
|
121 |
|
122 |
<tfoot>
|
123 |
<tr>
|
124 |
+
<th><input type="submit" name="submit" value="Save Settings" class="button button-primary" onClick="return empty()" /></th>
|
125 |
</tr>
|
126 |
</tfoot>
|
127 |
</table>
|
128 |
+
|
129 |
</form>
|
130 |
+
|
131 |
+
|
132 |
|
133 |
+
|
134 |
</div>
|
readme.txt
CHANGED
@@ -1,19 +1,25 @@
|
|
1 |
=== Easy Smooth Scroll Links ===
|
2 |
Contributors: Jeriff Cheng
|
3 |
-
Tags:
|
4 |
Requires at least: 2.6.5
|
5 |
Tested up to: 3.8
|
6 |
Stable tag: trunk
|
7 |
|
8 |
== Description ==
|
9 |
-
Create
|
10 |
-
|
11 |
-
Features
|
12 |
|
13 |
-
* You can set
|
14 |
-
*
|
15 |
-
*
|
16 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
For more information,refer to <a rel="follow" href="http://www.jeriffcheng.com/wordpress-plugins/easy-smooth-scroll-links" target="_blank">Easy Smooth Scroll Links WordPress Plugin</a>
|
19 |
|
@@ -24,17 +30,30 @@ For more information,refer to <a rel="follow" href="http://www.jeriffcheng.com/w
|
|
24 |
3. That's it!
|
25 |
|
26 |
== Frequently Asked Questions ==
|
27 |
-
For FAQs and bug report,refer to <a target="_blank" rel="follow" href="http://www.jeriffcheng.com/wordpress-plugins/easy-smooth-scroll-links#faqs">Easy Smooth Scroll Links
|
28 |
|
29 |
== Screenshots ==
|
30 |
|
31 |
-
1.
|
32 |
-
2.
|
33 |
-
|
34 |
|
35 |
|
36 |
== Changelog ==
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
= 1.3.1 =
|
39 |
|
40 |
*Fix: wp enqueue script error when turning WP_DEBUG mode on
|
@@ -61,6 +80,8 @@ Changed : Use wp_enqueue_script function to load the script instead of the defau
|
|
61 |
|
62 |
== Upgrade Notice ==
|
63 |
|
64 |
-
= 1.
|
|
|
|
|
65 |
|
66 |
-
*
|
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 |
+
* Works on __all major browsers__: IE, Firefox, Chrome, Safari...
|
17 |
+
* __Visual Editor__ Anchor Button
|
18 |
+
* __Shortcode__ Supported [anchor]anchorname[/anchor]
|
19 |
+
|
20 |
+
<h4>Video Tutorial</h4>
|
21 |
+
|
22 |
+
http://www.youtube.com/watch?v=te0FZcPulJs
|
23 |
|
24 |
For more information,refer to <a rel="follow" href="http://www.jeriffcheng.com/wordpress-plugins/easy-smooth-scroll-links" target="_blank">Easy Smooth Scroll Links WordPress Plugin</a>
|
25 |
|
30 |
3. That's it!
|
31 |
|
32 |
== Frequently Asked Questions ==
|
33 |
+
For FAQs and bug report,refer to <a target="_blank" rel="follow" href="http://www.jeriffcheng.com/wordpress-plugins/easy-smooth-scroll-links#faqs">Easy Smooth Scroll Links FAQs</a>
|
34 |
|
35 |
== Screenshots ==
|
36 |
|
37 |
+
1. Plugin Options Page
|
38 |
+
2. Easing Functions
|
39 |
+
2. Visual Editor Anchor Button
|
40 |
|
41 |
|
42 |
== Changelog ==
|
43 |
|
44 |
+
= 1.4 =
|
45 |
+
|
46 |
+
*New: You can now exclude certain anchors from scrolling
|
47 |
+
|
48 |
+
*Imoprove: Set default scrolling animation effect to more smooth 'easeInQuint'
|
49 |
+
|
50 |
+
|
51 |
+
= 1.3.2 =
|
52 |
+
|
53 |
+
*New: Added 30 Scrolling Animation Effects
|
54 |
+
|
55 |
+
*Fix: Prevent saving empty input fields
|
56 |
+
|
57 |
= 1.3.1 =
|
58 |
|
59 |
*Fix: wp enqueue script error when turning WP_DEBUG mode on
|
80 |
|
81 |
== Upgrade Notice ==
|
82 |
|
83 |
+
= 1.4 =
|
84 |
+
|
85 |
+
*New: You can now exclude certain anchors from scrolling
|
86 |
|
87 |
+
*Imoprove: Set default scrolling animation effect to more smooth 'easeInQuint'
|
screenshot-1.png
CHANGED
Binary file
|
screenshot-2.png
CHANGED
Binary file
|
screenshot-3.png
ADDED
Binary file
|