development 2.2.0d0 merged with 2.1.4d series. Scroll offset and duration settings
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2432050 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
c432dde37b
commit
3e8d312969
12 changed files with 124 additions and 171 deletions
|
@ -53,9 +53,9 @@
|
|||
var l_obj_Target = jQuery('#' + p_str_TargetID);
|
||||
if (l_obj_Target.length) {
|
||||
jQuery('html, body').animate({
|
||||
scrollTop: l_obj_Target.offset().top - window.innerHeight * 0.20
|
||||
scrollTop: l_obj_Target.offset().top - window.innerHeight * [[scroll-offset]]
|
||||
},
|
||||
380);/*duration*/
|
||||
[[scroll-duration]]);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Reference in a new issue