简体   繁体   English

<a href>添加一些基于 jquery javascript 的图像滑块后不起作用</a>

[英]<a href> not working, after adding some jquery javascript based image sliders

My Web-Design was working perfectly, however i added a trendy image slider within it from some other template, and now my links have stopped responding.我的网页设计工作得很好,但是我从其他模板中添加了一个时尚的图像滑块,现在我的链接停止响应。 I think it is because of the Order of calling jquery scripts etc, but im not sure how should i order them to fix this issue.我认为这是因为调用 jquery 脚本等的顺序,但我不知道我应该如何命令它们来解决这个问题。

I tried many solutions available on internet, and finally worked it out.我尝试了许多互联网上可用的解决方案,终于解决了。 The reason links stopped working was because of Positioning of some jquery scripts that overlapped the whole page.链接停止工作的原因是因为某些 jquery 脚本的定位与整个页面重叠。

So i used z-index:100 for all in my page, and that enabled them.所以我在我的页面中使用了 z-index:100,并启用了它们。 Now they are working fine.现在他们工作正常。

<style>
    body a {
        z-index: 100;
    }
</style>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM