Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(window).scroll(function() {
- if ($(this).scrollTop()>850){
- $("#bio-title").fadeOut();
- $("#bio-facts").css( "height", "450" );
- } else {
- $("#bio-title").fadeIn();
- $("#bio-facts").css( "height", "200" );
- }
- });
- </script>
- <div class="container">
- <div id="bio-title">...</div>
- <div id="bio-facts">-...-</div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement