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

用"button"的"onMouseMove事件"和"onMouseOut时间"可以控制样式!代码如下:

2007-08-09 14:36 609 查看
用"button"的"onMouseMove事件"和"onMouseOut时间"可以控制呀!代码如下:
<script language="JavaScript">
function over(scr){
scr.className = "inout22";//sdfsdfsdf
}
function out(scr){
scr.className = "input21";
}
</script>
<input type="button" name="Submit" value="按钮" class="input21" onMouseMove="over(this)" onMouseOut="out(this)" >
<input type="button" name="Submit" value="按钮" class="input21" onMouseMove="over(this)" onMouseOut="out(this)" >
<input type="button" name="Submit" value="按钮" class="input21" onMouseMove="over(this)" onMouseOut="out(this)" >
<input type="button" name="Submit" value="按钮" class="input21" onMouseMove="over(this)" onMouseOut="out(this)" >
<asp:textbox id="textbox1" runat="server" onMouseMove="over(this)" onMouseOut="out(this)" >
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐