你好朋友当我检查元素时我的代码到目前为止......
<div class="ja-megamenu " id="ja-megamenu">
<ul class="megamenu level0">
<li class="mega first active">
<a href="http://127.0.0.1/" class="mega first active" id="menu435" >
<span class="has-image" >
<img src=images/on_home.png>
</span>
</a>
</li>
<li class="mega haschild">
<a href="/index.php?option=com_community&view=frontpage&Itemid=455" class="mega haschild" id="menu455" title="Grower Community">
<span class="has-image" >
<img src=images/active_11.png>
</span>
</a>
<div class="childcontent cols1 ">
<div class="childcontent-inner-wrap">
<div class="childcontent-inner clearfix" style="width: 200px;">
<div class="megacol column1 first" style="width: 200px;">
<ul class="megamenu level1">
<li class="mega first">
<div class="group">
<div class="group-title">
<a href="/index.php?option=com_community&view=photos&Itemid=507" class="mega first" id="menu507" title="Photos">
<span class="has-image" >
<img src=images/wt_under_link_01_01.png>
</span>
</a>
</div>
</div>
</li>
<li class="mega last">
<a href="/index.php?option=com_allvideoshare&view=category&slg=0&orderby=default&Itemid=934" class="mega last" id="menu934" title="Videos">
<span class="has-image" >
<img src=images/wt_under_link_01_02.png>
</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</li>
<li class="mega">
<a href="/index.php?option=com_kunena&view=topics&mode=replies&Itemid=506" class="mega" id="menu506" title="Forum">
<span class="has-image" >
<img src=images/active_05.png>
</span>
</a>
</li>
<li class="mega last">
<a href="/index.php?option=com_easyblog&view=blogger&limit=-2&Itemid=944" class="mega last" id="menu944" title="Blog">
<span class="has-image" >
<img src=images/active_07.png>
</span>
</a>
</li>
</ul>
</div>
现在在这里我想更改悬停时的图像...
我正在使用这样的东西
.ja-megamenu ul.level0 li.mega a.mega span.has-image:hover{
background:url(../../images/act_05.png) no-repeat 0 0;
}
但图像悬停没有发生......任何人都可以帮助我
我认为悬停不会发生由于跨度...
请建议我在这里可以做什么?