Jquery 为什么链接/锚不工作?
我迷路了!!!希望有人能帮忙。我正在使用jqTouch。我尝试使此链接正常工作:Jquery 为什么链接/锚不工作?,jquery,html,Jquery,Html,我迷路了!!!希望有人能帮忙。我正在使用jqTouch。我尝试使此链接正常工作: <a href="#nana" style="position:absolute; left:70px; heigth:3px; width:200px; top:70px;">test</a> 但它不起作用 下面是整个身体: <body> <div id="jqt"> <div id="home" class="c
<a href="#nana" style="position:absolute; left:70px; heigth:3px; width:200px; top:70px;">test</a>
但它不起作用
下面是整个身体:
<body>
<div id="jqt">
<div id="home" class="current">
<div class="horizontal-scroll">
<table >
<tr>
<td>
<div class="slide-container current">
<h1 style="position: absolute; color:white; font-size:28px; left:60px; width:300px; top:0px;"> 1. Dezember </h1>
<a href="#nana" style="position:absolute; left:70px; heigth:3px; width:200px; top:70px;">test</a>
<img src="Bilder/Foto1@2x.jpg" width="320" higth="460" position="absolute" overflow="hidden" alt="Kuss"/>
</div>
</td>
<td><div class="slide-container"><img src="Bilder/Foto2.png" width="320" higth="460" alt="Kuss"/></div></td>
<td><div class="slide-container"><img src="Bilder/Foto2.png" width="320" higth="480" alt="Kuss"/></div></td>
</tr>
</table>
</div>
</div>
<div id="nana">
<h1>testtesttest</h1>
<img src="Bilder/Foto1@2x.jpg" width="320" higth="460" position="absolute" overflow="hidden" alt="Kuss"/>
</div>
</div>
</body>
1.德森伯
测试
此代码没有问题。。尝试将此CSS属性添加到链接中
z-index:10;
这可能会解决问题。此代码没有问题。。尝试将此CSS属性添加到链接中
z-index:10;
这可能会解决问题。明白了:我必须添加一个class=“slide”。谢谢,请将您的解决方案作为答案发布,并接受您自己的答案。明白了:我必须添加一个class=“slide”。谢谢,请将您的解决方案作为答案发布,并接受您自己的答案。