jq定位div到屏幕的中间

//定位在屏幕中间 $.fn.center = function(){ var left = ($(window).width() -this.width())/2-20 ; var top = ($(window).height() - this.height())/2; var scrollTop = $(document).scro
相关文章
相关标签/搜索