📄 java2.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>鼠标称到按钮上时</title>
<meta name="Microsoft Theme" content="maize 011">
</head>
<body background="maizbk.jpg" bgcolor="#FFFFFF" text="#000000" link="#669999" vlink="#999900" alink="#3366CC">
<!--mstheme--><font face="宋体"><!--mstheme--></font>
<table border="0" width="100%" cellspacing="1" cellpadding="0">
<tr>
<td width="100%">
<!--mstheme--><font face="宋体">
<p align="center"> </p>
</FORM>
<p align="center">鼠标称到按钮上时,按钮颜色变化.加入如下代码:</p>
<form method="post">
<p align="center"><textarea cols="60" name="S1" rows="10"><html>
<head>
<style>
</head>
<body bgcolor="#83E09C" onload="startclock()">
<p>.bigChange {color:blue; font-weight:bolder; font-size:175%;
letter-spacing:4px; text-transform: uppercase; background:yellow}
.start {color:ff0000; background:c8ff4e} </style> <script
language="JAVASCRIPT">
function highlightButton(s) {
if ("INPUT"==event.srcElement.tagName)
event.srcElement.className=s
}
</script> </p>
<p align="center"><font color="#0000FF" size="6">按钮变色</font></p>
<hr>
<form name="highlight" onmouseover="highlightButton('start')"
onmouseout="highlightButton('')">
<p align="center"><input type="button" value="变色按钮"
onclick> </p>
</form>
</textarea></p>
</form>
<p> <!--mstheme--></font></td>
</tr>
</table>
<!--mstheme--><font face="宋体"><!--mstheme--></font>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -