Prepare for release version 1.5.3

- Add: Developer's homepage to the 'other Plugins' list
- Update: Smoothy scroll to an anchor using Javascript
- Bugfix: Set the vertical align for each cell in the Reference container to TOP

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@1002027 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
Aricura 2014-10-05 15:12:42 +00:00
parent 836200a2c3
commit 6a4677251a
7 changed files with 26 additions and 6 deletions

View file

@ -23,4 +23,14 @@
jQuery("#footnote_reference_container_collapse_button").text("+");
}
}
function footnote_moveToAnchor(p_str_TargetID) {
var l_obj_Target = jQuery("#" + p_str_TargetID);
if( l_obj_Target.length ) {
event.preventDefault();
jQuery('html, body').animate({
scrollTop: l_obj_Target.offset().top - window.innerHeight/2
}, 1000);
}
}
</script>