使用CSS的图像标签鼠标事件操作 [英] image tag mouse event actions using css
本文介绍了使用CSS的图像标签鼠标事件操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
action表示使用CSS执行颜色更改并单击动作等...
action means using css perform a color change and click actions etc...
<div class="Btn" id="bold" title="Bold" "> </div>
这是div
this is code for div
推荐答案
是的代码:
Yes:
<div class="Btn" id="bold" title="Bold" önmouseover="return alert('hello')">
<img alt="bold" class="Ico" width="25px" height="25px" src="images/button.gif" />
</div>
注意:请忽略"o-with-an-umlaut":它是"on"一词中的"o",但似乎有错误显示错误-报告.
好的,作为预览,它是带变音符号的.作为张贴的答案,它的两个外国字符.
"Bold"后面有一个空格,然后是单词onmouseover
Note: ignore the ''o-with-an-umlaut'' : it is a ''o'' as in the word "on" but a bug appears to be showing it incorrectly - reported.
OK, as a preview it''s an o-with-an-umlaut. As a posted answer its two foreign characters.
After the "Bold" there is a space, and then the word onmouseover
这篇关于使用CSS的图像标签鼠标事件操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文