码迷,mamicode.com
首页 > 其他好文 > 详细

鼠标放上面有提示

时间:2015-11-04 14:32:48      阅读:120      评论:0      收藏:0      [点我收藏+]

标签:

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
</head>
<body>
<script language="javascript" type="text/javascript">
function overto()
{
seeme.innerHTML=" are you look at me";

}
function moveto()
{
seeme.innerHTML=" ";

}
</script>
<form name="form1" action="#">
<input type="button" name="button1" value="鼠标放上面有提示" onmouseover="javascript:overto()" onmouseout="javascript:moveto()" />
<font id="seeme">&nbsp;</font>
</form>
</body>
</html>

鼠标放上面有提示

标签:

原文地址:http://www.cnblogs.com/rysly/p/tooltip.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!