有什么问题请到<a href='/bbs/forums.php?fid=21'>论坛</a>中发表<br>
<!--# 特效来源:http://www.webjx.com/js -->
<!-- 把下面代码加到<body>区域中>
<script language="JavaScript">
<!--
function surfto(form) {
var myindex=form.select1.selectedIndex
if (form.select1.options[myindex].value != null) {
parent.main.location.href=form.select1.options[myindex].value;
}
}
// -->
</script>
<script language="JavaScript1.2">
<!--
function shake(n) {
if (window.top.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
window.top.moveBy(0,i);
window.top.moveBy(i,0);
window.top.moveBy(0,-i);
window.top.moveBy(-i,0);
}
}
}
alert(" 没吓坏吧!!! 嘻。");
}
// End -->
</script>
<script
language="JavaScript">
<!--
function moyamoya(htmlfile) {
parent.main.location.href=htmlfile;
}
// -->
</script>
<form>
<div align="center"><center><p><input onclick="shake(2)" type="button"
value="地震拉!!!"> </p>
</center></div>
</form>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]