jQuery Smooth Scroll - Version 1.0.2

Version Description

  • minor fixes
Download this release

Release Info

Developer BlogSynthesis
Plugin Icon 128x128 jQuery Smooth Scroll
Version 1.0.2
Comparing to
See all releases

Version 1.0.2

css/jss-style.css ADDED
@@ -0,0 +1,23 @@
1
+ a#scroll-to-top {
2
+
3
+ /* Background image, replace in images folder */
4
+ background: url(../images/arrow.png) no-repeat center center;
5
+
6
+ /* Match to background image size */
7
+ width: 35px;
8
+ height: 35px;
9
+
10
+ /* Postion on the page */
11
+ position: fixed;
12
+ right: 30px;
13
+ bottom: 30px;
14
+
15
+ /* Hide link text */
16
+ text-indent: -9999px;
17
+ font-size: 0;
18
+
19
+ /* Other */
20
+ cursor: pointer;
21
+ outline: 0;
22
+
23
+ }
css/jss-style.min.css ADDED
@@ -0,0 +1 @@
1
+ a#scroll-to-top{background:url(../images/arrow.png) no-repeat center center;width:35px;height:35px;position:fixed;right:30px;bottom:30px;text-indent:-9999px;font-size:0;cursor:pointer;outline:0}
images/arrow.png ADDED
Binary file
images/source.psd ADDED
Binary file
js/jss-script.js ADDED
@@ -0,0 +1 @@
0
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
1
*
2
* Uses the built in easing capabilities added In jQuery 1.1
3
* to offer multiple easing options
4
*
5
* TERMS OF USE - jQuery Easing
6
*
7
* Open source under the BSD License.
8
*
9
* Copyright © 2008 George McGinley Smith
10
* All rights reserved.
11
*
12
* Redistribution and use in source and binary forms, with or without modification,
13
* are permitted provided that the following conditions are met:
14
*
15
* Redistributions of source code must retain the above copyright notice, this list of
16
* conditions and the following disclaimer.
17
* Redistributions in binary form must reproduce the above copyright notice, this list
18
* of conditions and the following disclaimer in the documentation and/or other materials
19
* provided with the distribution.
20
*
21
* Neither the name of the author nor the names of contributors may be used to endorse
22
* or promote products derived from this software without specific prior written permission.
23
*
24
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
25
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
26
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
27
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
28
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
29
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
30
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
32
* OF THE POSSIBILITY OF SUCH DAMAGE.
33
*
34
*
35
* TERMS OF USE - EASING EQUATIONS
36
*
37
* Open source under the BSD License.
38
*
39
* Copyright © 2001 Robert Penner
40
* All rights reserved.
41
*
42
* Redistribution and use in source and binary forms, with or without modification,
43
* are permitted provided that the following conditions are met:
44
*
45
* Redistributions of source code must retain the above copyright notice, this list of
46
* conditions and the following disclaimer.
47
* Redistributions in binary form must reproduce the above copyright notice, this list
48
* of conditions and the following disclaimer in the documentation and/or other materials
49
* provided with the distribution.
50
*
51
* Neither the name of the author nor the names of contributors may be used to endorse
52
* or promote products derived from this software without specific prior written permission.
53
*
54
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
55
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
56
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
57
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
58
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
59
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
60
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
61
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
62
* OF THE POSSIBILITY OF SUCH DAMAGE.
63
*
64
*/
65
});
66
67
/*
68
* jQuery PlusAnchor 1.0.7.2
69
* By Jamy Golden
70
* http://css-plus.com
71
*
72
* Copyright 2011, Jamy Golden
73
* Free to use under the MIT license.
74
* http://www.opensource.org/licenses/mit-license.php
75
*/
76
77
jQuery(document).ready(function($) {
78
79
$.plusAnchor = function(el, options){
80
// To avoid scope issues, use 'base' instead of 'this'
81
// to reference this class from internal events and functions.
82
var base = this;
83
// Access to jQuery and DOM versions of element
84
base.el = el;
85
base.$el = $(el);
86
base.$el.data('plusAnchor', base); // Add a reverse reference to the DOM object
87
base.scrollEl = 'body, html';
88
base.initHash = window.location.hash;
89
base.offsetTop = function( ) {
90
return $('html').offset().top;
91
}; // base.offsetTop()
92
base.detectScrollEl = function() {
93
var curPos = base.offsetTop(),
94
newPos = 0;
95
$('body').animate({
96
scrollTop: curPos * -1 + 1
97
}, 0, function() {
98
newPos = base.offsetTop();
99
});
100
101
// IE fails this test but scrolls on 'html', so the fallback should be html
102
newPos < curPos && newPos !== 0 ? base.scrollEl = 'body' : base.scrollEl = 'html';
103
}; // base.detectScrollEl()
104
base.init = function(){
105
base.options = $.extend({}, $.plusAnchor.defaults, options);
106
base.detectScrollEl();
107
// onInit callback
108
if ( base.options.onInit && typeof( base.options.onInit ) == 'function' ) base.options.onInit( base );
109
// End onInit callback
110
base.$el.find('a[href^="#"]').click(function( e ) {
111
112
e.preventDefault();
113
114
var $this = $(this);
115
href = $this.attr('href'),
116
$name = $('a[name="' + $(this).attr('href').substring(1) + '"]');
117
118
if ( $(href).length ){
119
// onSlide callback
120
if ( base.options.onSlide && typeof( base.options.onSlide ) == 'function' ) base.options.onSlide( base );
121
// End onSlide callback
122
$(base.scrollEl).animate({
123
scrollTop: $(href).offset().top
124
}, base.options.speed, base.options.easing);
125
} else if ( $name.length ){
126
// onSlide callback
127
if ( base.options.onSlide && typeof( base.options.onSlide ) == 'function' ) base.options.onSlide( base );
128
// End onSlide callback
129
$(base.scrollEl).animate({
130
scrollTop: $name.offset().top
131
}, base.options.speed, base.options.easing);
132
}
133
});
134
}; // base.init()
135
// Run initializer
136
base.init();
137
};
138
$.plusAnchor.defaults ={
139
easing: 'swing', // Anything other than "swing" or "linear" requires the easing.js plugin
140
speed: 1000, // The speed, in miliseconds, it takes to complete a slide
141
onInit: null, // Callback function on plugin initialize
142
onSlide: null // Callback function that runs just before the page starts animating
143
};
144
$.fn.plusAnchor = function(options){
145
return this.each(function(){
146
(new $.plusAnchor(this, options));
147
});
148
};
149
$(document).ready(function(){
1
+ /*
2
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
3
*
4
* Uses the built in easing capabilities added In jQuery 1.1
5
* to offer multiple easing options
6
*
7
* TERMS OF USE - jQuery Easing
8
*
9
* Open source under the BSD License.
10
*
11
* Copyright © 2008 George McGinley Smith
12
* All rights reserved.
13
*
14
* Redistribution and use in source and binary forms, with or without modification,
15
* are permitted provided that the following conditions are met:
16
*
17
* Redistributions of source code must retain the above copyright notice, this list of
18
* conditions and the following disclaimer.
19
* Redistributions in binary form must reproduce the above copyright notice, this list
20
* of conditions and the following disclaimer in the documentation and/or other materials
21
* provided with the distribution.
22
*
23
* Neither the name of the author nor the names of contributors may be used to endorse
24
* or promote products derived from this software without specific prior written permission.
25
*
26
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
27
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
28
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
29
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
30
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
31
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
33
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
34
* OF THE POSSIBILITY OF SUCH DAMAGE.
35
*
36
*
37
* TERMS OF USE - EASING EQUATIONS
38
*
39
* Open source under the BSD License.
40
*
41
* Copyright © 2001 Robert Penner
42
* All rights reserved.
43
*
44
* Redistribution and use in source and binary forms, with or without modification,
45
* are permitted provided that the following conditions are met:
46
*
47
* Redistributions of source code must retain the above copyright notice, this list of
48
* conditions and the following disclaimer.
49
* Redistributions in binary form must reproduce the above copyright notice, this list
50
* of conditions and the following disclaimer in the documentation and/or other materials
51
* provided with the distribution.
52
*
53
* Neither the name of the author nor the names of contributors may be used to endorse
54
* or promote products derived from this software without specific prior written permission.
55
*
56
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
57
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
58
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
59
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
60
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
61
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
62
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
63
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
64
* OF THE POSSIBILITY OF SUCH DAMAGE.
65
*
66
*/
67
});
68
69
/*
70
* jQuery PlusAnchor 1.0.7.2
71
* By Jamy Golden
72
* http://css-plus.com
73
*
74
* Copyright 2011, Jamy Golden
75
* Free to use under the MIT license.
76
* http://www.opensource.org/licenses/mit-license.php
77
*/
78
79
jQuery(document).ready(function($) {
80
81
$.plusAnchor = function(el, options){
82
// To avoid scope issues, use 'base' instead of 'this'
83
// to reference this class from internal events and functions.
84
var base = this;
85
// Access to jQuery and DOM versions of element
86
base.el = el;
87
base.$el = $(el);
88
base.$el.data('plusAnchor', base); // Add a reverse reference to the DOM object
89
base.scrollEl = 'body, html';
90
base.initHash = window.location.hash;
91
base.offsetTop = function( ) {
92
return $('html').offset().top;
93
}; // base.offsetTop()
94
base.detectScrollEl = function() {
95
var curPos = base.offsetTop(),
96
newPos = 0;
97
$('body').animate({
98
scrollTop: curPos * -1 + 1
99
}, 0, function() {
100
newPos = base.offsetTop();
101
});
102
103
// IE fails this test but scrolls on 'html', so the fallback should be html
104
newPos < curPos && newPos !== 0 ? base.scrollEl = 'body' : base.scrollEl = 'html';
105
}; // base.detectScrollEl()
106
base.init = function(){
107
base.options = $.extend({}, $.plusAnchor.defaults, options);
108
base.detectScrollEl();
109
// onInit callback
110
if ( base.options.onInit && typeof( base.options.onInit ) == 'function' ) base.options.onInit( base );
111
// End onInit callback
112
base.$el.find('a[href^="#"]').click(function( e ) {
113
114
e.preventDefault();
115
116
var $this = $(this);
117
href = $this.attr('href'),
118
$name = $('a[name="' + $(this).attr('href').substring(1) + '"]');
119
120
if ( $(href).length ){
121
// onSlide callback
122
if ( base.options.onSlide && typeof( base.options.onSlide ) == 'function' ) base.options.onSlide( base );
123
// End onSlide callback
124
$(base.scrollEl).animate({
125
scrollTop: $(href).offset().top
126
}, base.options.speed, base.options.easing);
127
} else if ( $name.length ){
128
// onSlide callback
129
if ( base.options.onSlide && typeof( base.options.onSlide ) == 'function' ) base.options.onSlide( base );
130
// End onSlide callback
131
$(base.scrollEl).animate({
132
scrollTop: $name.offset().top
133
}, base.options.speed, base.options.easing);
134
}
135
});
136
}; // base.init()
137
// Run initializer
138
base.init();
139
};
140
$.plusAnchor.defaults ={
141
easing: 'swing', // Anything other than "swing" or "linear" requires the easing.js plugin
142
speed: 1000, // The speed, in miliseconds, it takes to complete a slide
143
onInit: null, // Callback function on plugin initialize
144
onSlide: null // Callback function that runs just before the page starts animating
145
};
146
$.fn.plusAnchor = function(options){
147
return this.each(function(){
148
(new $.plusAnchor(this, options));
149
});
150
};
151
$(document).ready(function(){
js/jss-script.min.js ADDED
@@ -0,0 +1 @@
1
+ jQuery(document).ready(function($){jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def:'easeOutQuad',swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b},easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b},easeInExpo:function(x,t,b,c,d){return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b},easeInBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b},easeOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b},easeOutBounce:function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b}},easeInOutBounce:function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b}})});jQuery(document).ready(function($){(function($){$.plusAnchor=function(el,options){var base=this;base.el=el;base.$el=$(el);base.$el.data('plusAnchor',base);base.scrollEl='body, html';base.initHash=window.location.hash;base.offsetTop=function(){return $('html').offset().top};base.detectScrollEl=function(){var curPos=base.offsetTop(),newPos=0;$('body').animate({scrollTop:curPos*-1+1},0,function(){newPos=base.offsetTop()});newPos<curPos&&newPos!==0?base.scrollEl='body':base.scrollEl='html'};base.init=function(){base.options=$.extend({},$.plusAnchor.defaults,options);base.detectScrollEl();if(base.options.onInit&&typeof(base.options.onInit)=='function')base.options.onInit(base);base.$el.find('a[href^="#"]').click(function(e){e.preventDefault();var $this=$(this);href=$this.attr('href'),$name=$('a[name="'+$(this).attr('href').substring(1)+'"]');if($(href).length){if(base.options.onSlide&&typeof(base.options.onSlide)=='function')base.options.onSlide(base);$(base.scrollEl).animate({scrollTop:$(href).offset().top},base.options.speed,base.options.easing)}else if($name.length){if(base.options.onSlide&&typeof(base.options.onSlide)=='function')base.options.onSlide(base);$(base.scrollEl).animate({scrollTop:$name.offset().top},base.options.speed,base.options.easing)}})};base.init()};$.plusAnchor.defaults={easing:'swing',speed:1000,onInit:null,onSlide:null};$.fn.plusAnchor=function(options){return this.each(function(){(new $.plusAnchor(this,options))})}})(jQuery);$(document).ready(function(){$(document).plusAnchor()})});jQuery.noConflict();jQuery(function($){var upperLimit=100;var scrollElem=$('a#scroll-to-top');var scrollSpeed=500;scrollElem.hide();$(window).scroll(function(){var scrollTop=$(document).scrollTop();if(scrollTop>upperLimit){$(scrollElem).stop().fadeTo(300,1)}else{$(scrollElem).stop().fadeTo(300,0)}});$(scrollElem).click(function(){$('html, body').animate({scrollTop:0},scrollSpeed);return false})});
lang/default.po ADDED
@@ -0,0 +1,26 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Cudazi Scroll to Top\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-01-19 10:40-0600\n"
6
+ "PO-Revision-Date: 2012-01-19 10:40-0600\n"
7
+ "Last-Translator: Cudazi <info@cudazi.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: _e;__\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: English\n"
15
+ "X-Poedit-Country: United States\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+ "X-Poedit-SearchPath-1: ..\n"
18
+
19
+ #: ../plugin.php:68
20
+ msgid "Scroll to Top"
21
+ msgstr ""
22
+
23
+ #: ../plugin.php:68
24
+ msgid "Top"
25
+ msgstr ""
26
+
plugin.php ADDED
@@ -0,0 +1,4 @@
0
Copyright 2011 Anand Kumar (blogsynthesis.com)
1
This program is free software; you can redistribute it and/or modify
2
it under the terms of the GNU General Public License, version 2, as
3
published by the Free Software Foundation.
4
This program is distributed in the hope that it will be useful,
5
but WITHOUT ANY WARRANTY; without even the implied warranty of
6
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7
GNU General Public License for more details.
8
You should have received a copy of the GNU General Public License
9
along with this program; if not, write to the Free Software
10
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
11
12
Kindly check README.txt for more details about the plugin.
13
14
// Load JavaScript and stylesheets
15
$this->register_scripts_and_styles();
16
17
18
19
20
1
+ <?php
2
+ Plugin Name: jQuery Smooth Scroll
3
+ Plugin URI: http://www.blogsynthesis.com/wordpress-jquery-smooth-scroll-plugin/
4
Copyright 2011 Anand Kumar (blogsynthesis.com)
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License, version 2, as
7
published by the Free Software Foundation.
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
You should have received a copy of the GNU General Public License
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
15
16
Kindly check README.txt for more details about the plugin.
17
18
// Load JavaScript and stylesheets
19
$this->register_scripts_and_styles();
20
21
+ function display_link() {
22
23
24
25
readme.txt ADDED
@@ -0,0 +1 @@
1
+ === jQuery Smooth Scroll ===
screenshot-1.png ADDED
Binary file
screenshot-2.png ADDED
Binary file