This is my site http://projekt.smartunit.de/ipos/faq-downloads-videos, I created "test" button, please scroll down to see them. And this is jQuery:
这是我的网站http://projekt.smartunit.de/ipos/faq-downloads-videos,我创建了“测试”按钮,请向下滚动查看它们。这是jQuery:
jQuery(".test").click(function(){
alert("dfndfndfndffd");
});
But it only working in Firefox, not working in IE, chrome, safari, opera..
但它只适用于Firefox,不适用于IE,Chrome,safari,opera ..
I don't know what did wrong? Please help!
我不知道做错了什么?请帮忙!
Thank you!
谢谢!
2 个解决方案
#1
-1
its issue of overlay. Add these into your .css file
它的叠加问题。将这些添加到.css文件中
.test{
z-index: 9999;
cursor: pointer;
position: relative;
}
#2
-1
Try this.
尝试这个。
<span class="test" style="position: absolute;">test</span>
#1
-1
its issue of overlay. Add these into your .css file
它的叠加问题。将这些添加到.css文件中
.test{
z-index: 9999;
cursor: pointer;
position: relative;
}
#2
-1
Try this.
尝试这个。
<span class="test" style="position: absolute;">test</span>