图像地图悬停效果 css 或 jquery [英] image map hover effect css or jquery

查看:21
本文介绍了图像地图悬停效果 css 或 jquery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经制作了图像映射,我想使用 jquery 或 css 突出显示悬停的特定部分我该怎么做?

i have made image map already, i want to highlight that particular section on hover using jquery or using css how do i do it?

我没有找到任何关于此的好文章.

I did not find any good article on this.

我的所有图像地图区域工作正常,但悬停效果不正常

i have all the image map region working fine but the hover effect not wokring

我试过这个 css

.map{
    background:#fff;
    display:block;
    height:475px;
    opacity:0;
    position:absolute;
    width:320px;
}
#area2 {
    left:320px;
}
#area1:hover, #area2:hover ,#area3:hover,#area4:hover,#area5:hover{
    opacity:0.2;
}

推荐答案

这可能对您有所帮助.Mapser 是 jquery 插件,可帮助您完成此类任务 http://www.outsharked.com/imagemapster/default.aspx?docs.html

This might help you a bit. Mapser is jquery plugin that helps you in such a kind of tasks http://www.outsharked.com/imagemapster/default.aspx?docs.html

这篇关于图像地图悬停效果 css 或 jquery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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