网页代码——弹出窗口在中间

      网页制作 2005-6-11 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>中即可实现.
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}