Changeset 7014
- Timestamp:
- 09/24/10 19:28:52 (3 years ago)
- Files:
-
- 1 modified
-
extensions/sobre/template/footer.tpl (modified) (2 diffs)
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>
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)