Difference between revisions of "Template:ZJU-China/mascot"

Line 76: Line 76:
 
     jQuery(document).scroll(function() {
 
     jQuery(document).scroll(function() {
  
         if(jQuery(document).height() - jQuery(window).height() - jQuery(window).scrollTop()>280)
+
         if(jQuery(document).height() - jQuery(window).height() - jQuery(window).scrollTop()>270)
 
             {
 
             {
 
jQuery('MASCOT').css('position','fixed').css('bottom','30px').css('top','auto');
 
jQuery('MASCOT').css('position','fixed').css('bottom','30px').css('top','auto');
Line 82: Line 82:
 
             else
 
             else
 
             {
 
             {
                 jQuery('MASCOT').css('position','absolute').css('top',jQuery(document).height()-465);
+
                 jQuery('MASCOT').css('position','absolute').css('top',jQuery(document).height()-445);
 
             }  
 
             }  
 
                
 
                

Revision as of 13:28, 17 September 2015

termit