|
Usage
Instructions on installing and using JQuery Scroll Follow
Usage
<script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="ui.core.js"></script> <script type="text/javascript" src="jquery.easing.js"></script> <script type="text/javascript"> $( '#example' ).scrollFollow(); </script> <script type="text/javascript">
$( document ).ready( function () {
$( '#example' ).scrollFollow( {
speed: 1000,
offset: 60,
killSwitch: 'exampleLink',
onText: 'Disable Follow',
offText: 'Enable Follow'
} );
} );
</script><script type="text/javascript">
$( document ).ready( function () {
$( '#example' ).scrollFollow( {
container: 'outer'
} );
} );
</script> |
► Sign in to add a comment
the "See Example" links are incorrect :(
Thank you. Fixed
in Firefox the container doesn't seem to work if the position is relative and the container is not the immediate container. i.e. div(container) > div > scrollobject. doesn't seem to work. have to prove again but in pre-existing page it's just scrolling right on through the container. position had to changed to relative to fix IE bug, it worked flawlessly in FF with position absolute
Where are the required plugins like ui.core? Thanks.
fdfdfd
# Include required plugins, including Scroll Follow:
<script type="text/javascript" src="ui.core.js"></script> <script type="text/javascript" src="jquery.easing.js"></script>
Why don't you add scrollfollow.js here also?
how does it works horizontally?
Does not seem to work with elements position with either fixed,absolute,relative ?
;;;
too bad it only works with an old version of JQuery ... 1.2.6 works but 1.7.1 won't!