╭ ▃ ▄ █
-=软件记忆 Solo ....=-
以前用了些时间弄的个小浏览窗口
 
 
 
-心灵的自由快乐-
2005-4-21 20:35
<head> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function writeLayer(text) { document.frames['myFrame'].location.href = text; document.addrForm.location.value = text; } function setLayer(text) { if (text.indexOf("http://",0) <= 0) text = "http://" +text; document.frames['myFrame'].location.href = text; document.addrForm.location.value = text; } function onLoad(text) { if (text != "Microsoft Internet Explorer") { alert("netscape not supported"); history.back(); } return true; } // End --> </script> </head> <body onLoad="onLoad(navigator.appName)"> <iframe src="about:blank" width=100% height=70% id=myFrame></iframe> <center> <form name=addrForm> <font color="#33FF33">开个小窗口先看看喽~</font> <input type=text name=location value="输入想查看的网页-不用输http://" onFocus="this.value=''" size=35> <input type=button value="快进" onClick="setLayer(document.addrForm.location.value)"> </form> </center> </body>
标签集:
TAGS:
回复
Comments
(
)
点击
Count
(
)
回复
Comments
{commenttime}
{commentauthor}
{CommentUrl}
{commentcontent}
.TIME.
分类日志
+链接+
最新评论
搜索日志
访问计数
获取 RSS
我的 Blog:
[-心灵的自由快乐-]
[--淡定Di..--]
全站 Blog:
Powered by
5DBlog.com
回复Comments
{commenttime}{commentauthor}
{CommentUrl}
{commentcontent}