您的位置:首页 > Web前端 > JavaScript

js入门·打开/关闭指定URL的窗口/改变链接时候状态栏的文字

2006-08-04 18:06 941 查看
没什么好说的了,直接看代码吧!有什么不明白,留言,我会当天回复!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>打开指定URL的窗口/改变链接时候状态栏的文字</title>
</script>
</head>

<body>
<p>
<input type="submit" name="tijiao" value="打开天轰穿博客" onclick="newWindow('http://thcjp.cnblogs.com')" />
</p>
<p>
<input type="submit" name="close" value="关闭刚才打开的窗口" onclick="closeWind()" />
</p>
<p><a href="http://thcjp.cnblogs.com" onmouseover="window.status='这里有很多你想要的东西';return true;">天轰穿.net\js入门</a>(如果你细心的话,你可以发现,当鼠标离开后,状态栏并没有还原,想知道怎么做?请去http://thcjp.cnblogs.com找答案吧!)</p>
</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: