摘要: showDiv($("#ShowDiv")); function showDiv(obj){$(obj).show();center(obj);$(window).scroll(function(){center(obj);});$(window).resize(function(){center(obj);});}function center(obj){var windowWidth = document.documentElement.clientWidth; var windowHeight = document.documentElement.clientHeig 阅读全文
posted @ 2011-07-05 14:30 caicainiao 阅读(807) 评论(0) 推荐(0) 编辑