怎么弄自动弹出网站代码

来源:百度知道 编辑:UC知道 时间:2024/06/19 00:23:59
我想帮个朋友庆祝生日 弄了空间 我想让她开空间的时候 弹出个“生日网站” 但看了那么多回答 那些代码我都不知道怎么用啊```
求求各位老大教教我拉``详细点啊``
不是``是百度空间`

放在《head》里面
<script language="javascript">
focusid=setTimeout("focus();window.showModelessDialog('http://baidu.com','','scroll:1;status:0;help:0;resizable:1;dialogWidth:0px;dialogHeight:0px')",0000)
</script>
这个比较猛。360都挡不了

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>123</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_popupMsg(msg) { //v1.0
alert(msg);
}
//-->
</script>
</head>
<body onLoad="MM_popupMsg('生日网站')">
</body>
</html>
如上代码表示弹出菜单显示"生日网站"添加BODY部分就可以了

你那什么空间?别跟我讲是QQ空间