广 告 位 置 |
|
|
 |
站 内 搜 索 |
|
|
 |
|
|
|
|
父页内创建子窗口
来源:盛绿设计 等级:默认等级
发布于2006-10-08 08:43 被读40次 【字体:大 中 小】
|
|
<html> <head> <title>Test</title> <script> function openSubWin() { subWindow=window.open("", "newwin", "height=250, width=250,toolbar=no ,scrollbars="+scroll+",menubar=no"); subWindow.document.write("<TITLE>Op</TITLE>") subWindow.document.write("<BODY BGCOLOR=#ffffff>") subWindow.document.write("<h1>Hello!</h1>") subWindow.document.write("New window opened!") subWindow.document.write("</BODY>") subWindow.document.write("</HTML>") subWindow.document.close() ; }
</script> </head> <body> <a href="#" onclick="openSubWin()">open</a> </body> </html>
|
相关专题:暂无相关专题
上一篇:一些常用的辅助代码 下一篇:擦除式图片轮番显示效果
|
共有评论 0 条 网友评分 查看全部
|
|
|