通过PhoneGap Build从Android 4.x应用程序中的图像映射区域删除高亮 [英] Removing heighlight from image map area in Android 4.x app via PhoneGap Build
本文介绍了通过PhoneGap Build从Android 4.x应用程序中的图像映射区域删除高亮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试过各种方法,尝试在按下图像的图像映射区域时删除高光。我已经搜索google一次又一次,并添加了所有的CSS代码,我可以找到希望它会有帮助..但它似乎不。
I have tried every which way to try to remove the heighlight when pushing on an image map area of an image. I have search google time and time again and have added all the CSS code i could find in hopes it would help.. but it does not seem to.
我在说什么:
An example of what i am talking about:
我已添加:
-webkit-user-modify: read-write-plaintext-only;
border:none;
outline: 0;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
-khtml-user-select: none;
-o-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
* {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
cursor: none !important;
-webkit-user-modify: read-write-plaintext-only;
-khtml-user-select: none;
-o-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
outline:none;
border: none;
}
img{
-khtml-user-select: none;
-o-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
-webkit-user-modify: read-write-plaintext-only;
outline:none;
border: none;
border-style: none;
}
body, textarea:focus, input:focus, area:focus{
outline:none;
border: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
-khtml-user-select: none;
-o-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
-webkit-user-modify: read-write-plaintext-only;
}
a{
outline:none !important;
border: none !important;
}
a img
{
border:none;
outline:none;
}
area{
outline:none;
border: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
-khtml-user-select: none;
-o-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
-webkit-user-modify: read-write-plaintext-only;
}
#map {
outline:none;
border: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
-khtml-user-select: none;
-o-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
-webkit-user-modify: read-write-plaintext-only;
}
<img height="1024" src="img/MM.png" usemap="#MM_map" width="768" hidefocus="true">
<area coords="35,116,349,225" href="#HULU" id="HULU_id" onclick="$('#HULU').click();" shape="rect" style="border: none;" onfocus="blur();">
推荐答案
证明。在Android cordova应用程式中再次使用此功能。
Simple way. Proven. Used this again, just now even, in Android cordova app.
img[usemap], map area {
outline: none;
}
享受
这篇关于通过PhoneGap Build从Android 4.x应用程序中的图像映射区域删除高亮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文