2005/06/11 | 网页代码——弹出窗口在中间
类别(网页制作) | 评论(0) | 阅读(184) | 发表于 19:46
<script>
window.open("http://www.cctv.com","","width=400,height=240,
top="+(screen.availHeight-240)/2+",left="+(screen.availWidth-400)/2);
</script>

把这段代码加在网页代码的<body></body>中即可实现.
0

评论Comments