Difference between revisions of "Template:2016Bottom"

Line 73: Line 73:
 
$(".pop_why_cover").show();
 
$(".pop_why_cover").show();
  
var z = $(this).offset().top;
+
var z = event.pageY;
var w = $(".pop_why_box").height();
+
 
+
if ( w+z  > y ) {
+
z = z-w ;
+
}
+
  
  
Line 85: Line 81:
 
$(".pop_why_cover").css("height" , y);
 
$(".pop_why_cover").css("height" , y);
 
$(".pop_why_cover").css("width" , x);
 
$(".pop_why_cover").css("width" , x);
 
 
 
});
 
});
  

Revision as of 15:44, 15 December 2015