Line 75: | Line 75: | ||
− | + | ||
//MODIFY SIZE AND POSITION OF THE POP DIV AND THE BACKGROUND | //MODIFY SIZE AND POSITION OF THE POP DIV AND THE BACKGROUND | ||
− | $(".pop_why_box").css( | + | |
+ | $(".pop_why_box")..css({top:'50%',left:'50%',margin:'-'+($('.pop_why_box').height() / 2)+'px 0 0 -'+($('.pop_why_div').width() / 2)+'px'}); | ||
+ | |||
$(".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:59, 15 December 2015