Difference between revisions of "Template:2016Demo bottom"
Line 303: | Line 303: | ||
//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( "top", event.pageY); |
$(".pop_why_cover").css ("height" , $(document).height() ); | $(".pop_why_cover").css ("height" , $(document).height() ); | ||
$(".pop_why_cover").css ("width" , $(document).width() ); | $(".pop_why_cover").css ("width" , $(document).width() ); | ||
// CALL BOTH ELEMENTS | // CALL BOTH ELEMENTS | ||
− | $(". | + | $(".pop_why_box").show(); |
$(".pop_why_cover").show(); | $(".pop_why_cover").show(); | ||
}); | }); | ||
Line 317: | Line 317: | ||
function remove_popwhy () { | function remove_popwhy () { | ||
− | $(". | + | $(".pop_why_box").hide(); |
$(".pop_why_cover").hide(); | $(".pop_why_cover").hide(); | ||
$( ".pop_why_content" ).empty(); | $( ".pop_why_content" ).empty(); |
Revision as of 20:45, 24 November 2015