2013-02-27 57 views
0

当我点击时,模式打开的链接,但是当模式打开时,会出现黑色背景色。随之而来的是黄点出现。我不希望在叠加层上显示黄色圆点。隐藏覆盖层上的黄色点

http://jsfiddle.net/y88WX/18/embedded/result/

<nav class="da-dots"><span></span><span></span><span></span></nav> 

.da-dots { 
width: 100%; 
position: absolute; 
text-align: center; 
left: 0px; 
bottom: 20px; 
z-index: 2000; 
-moz-user-select: none; 
-webkit-user-select: none; 
} 
+2

你应该减少他们的z-index进行定义。 – 2013-02-27 18:44:50

+2

JSFiddle完全冻结我的浏览器,脚本变得没有响应,我不得不重新启动它。 FF 18和19. – Derek 2013-02-27 18:50:58

+1

你可以检查它在铬 – user2045025 2013-02-27 18:53:33

回答

1
变化

·DA-点的z索引为2000〜100(或一些你喜欢的值,但它应该比层降低了)

规则被定义在style2.css中。
建议:您应该修改style2.css文件中的z-index。

.da-dots { 
    -moz-user-select: none; 
    bottom: 20px; 
    left: 0; 
    position: absolute; 
    text-align: center; 
    width: 100%; 
    z-index: 2000; /* change to 100 */ 
} 

如果你不能够编辑style2.css,你可以在你的身体

<style> 
.da-dots { 
    z-index: 100 !important; 
    /* You can remove !important if you able to edit style2.css*/ 
} 
</style> 

http://jsfiddle.net/y88WX/21/embedded/result/

+0

我改变它在萤火虫它不工作....你可以更新小提琴 – user2045025 2013-02-27 18:50:24

+1

在小提琴更新,让我们检查 – Derek 2013-02-27 19:01:58