当鼠标悬停在图像上时如何查看div [英] How to view the div when mouse over the image buttor

查看:120
本文介绍了当鼠标悬停在图像上时如何查看div的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





当鼠标悬停在图像或图像按钮上时,必须显示特定的div。我在子菜单中有一个菜单。请帮助解决这个问题。

Hi,

When mouse over on the image or imagebutton the particular div have to show. I have a menu in that div like submenu. Please help for this problem.

推荐答案

它太简单了......



只写代码:



it''s too simple...

just write the code:

<img arc="your image source" onmouseover="dv.style.display=''inline'';" onmouseout="dv.style.display=''none'';" />


使用Jquery。

Use Jquery.


document )。ready( function ()
{
(document).ready(function() {


这篇关于当鼠标悬停在图像上时如何查看div的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆