Difference between revisions of "Template:2016Bottom"

Line 74: Line 74:
  
 
var z = $(this).offset().top;
 
var z = $(this).offset().top;
 +
var w = $(".pop_why_box").height();
  
 
+
if ( w+z  > y ) {
if ( y - z <= 500 ) {
+
z = z-w ;
z = z-400 ;
+
 
}
 
}
  

Revision as of 15:28, 15 December 2015