반응형

$("#sidebox").css({

"top":(($(window).height()-$('#sidebox').outerHeight())/2+$(window).scrollTop())+"px", 

"left":(($( window ).width()-$('#sidebox').outerWidth())/2+$(window).scrollLeft())+"px",

"position": "absolute"

}).show();


쉽당...

반응형

+ Recent posts