Changeset 7014
- Timestamp:
- Sep 24, 2010, 7:28:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/sobre/template/footer.tpl
r6302 r7014 3 3 {literal} 4 4 <script type="text/javascript"> 5 $().ready(function($){6 stt = $('#scrolltotop');7 $(window).scroll(function(){8 scrollTop = $(window).scrollTop();9 $('#scrolltotop a').click(function(){10 $('html,body').stop().scrollTop(0);5 jQuery().ready(function(jQuery){ 6 stt = jQuery('#scrolltotop'); 7 jQuery(window).scroll(function(){ 8 scrollTop = jQuery(window).scrollTop(); 9 jQuery('#scrolltotop a').click(function(){ 10 jQuery('html,body').stop().scrollTop(0); 11 11 }); 12 12 if(scrollTop >= 300){ … … 20 20 } 21 21 }); 22 $(window).scroll();22 jQuery(window).scroll(); 23 23 }); 24 24 </script>
Note: See TracChangeset
for help on using the changeset viewer.