0
我用两个JavaScript库的web项目,一个是具有滑动(引导-slider.js),另一个来处理一些DIV事件刷卡(jquery.touchSwipe.min.js)上一个div删除“边框”
在jquery.touchSwipe.min.js库我可以设置一个excludedElements属性
$(".div_Oggetti").swipe({
swipe:function(event, direction, distance, duration, fingerCount, fingerData) {
if(....){
switch(direction){
case "left" :
...
break;
}
}
},
threshold:100,
excludedElements : ".slider-handle,button, input, select, textarea, a, .noSwipe"
});
但是当我插入类滑动球(.slider把手)的,在元件上,以从被排除滑动事件,添加到幻灯片球的边缘ID(Chrome上的蓝色,Firefox上的黑色方块)
我不能边框将其删除:无,或文字修饰:无
我怎么删除边界? 感谢
您可以粘贴到一个小提琴?你有没有尝试边框:无!重要;? – Jay 2014-09-11 10:13:51
你有演示吗?你可以尝试重置'outline'属性吗? – Harry 2014-09-11 10:14:05