变色按钮
在<head>和</head>之间加入以下代码:
<script language="javascript">
function tell() {
top.location='#'
}
</script>
<style>
.over {color:#ffffff; background-color:#FF9933;font-weight:bold;font-family:Arial}
</style>
<script LANGUAGE="JAVASCRIPT">
function change(s) {
if ("INPUT"==event.srcElement.tagName)
event.srcElement.className=s
}
</script>
在<body>和</body>之间加入以下代码:
<form name="form" onMouseOver="change('over')"
onMouseOut="change('')">
<input type="button" value="Move Here"
name="button" onClick="tell()" style="font-family:
Arial;font-weight:bold;border: #FF9933 1px dotted">
</form>