我想打一个锚Branche 1
锚不工作
在网页“模卡”就可以看到一个div(Branchen
)的链接。我的问题是,如果我点击链接Branche 1
它不会去div Branche 1
,有什么建议吗?
HTML
<div data-role="content" id="branchen" name="branche">
<div data-role="header" data-theme="d">
<a href="#menupanel" data-icon="bars" data-iconpos="notext" data-shadow="false" data-iconshadow="false" data-corners="true" data-wrapperels="span" title="Menu"></a>
<h1>Branchen</h1>
</div>
<div id="Branche">
<p><a href="#b1">Branche 1</a></p>
<p><a href="branche2" >Branche 2</a></p>
<p><a href="#">Branche 3</a></p>
<p><a href="#">Branche 4</a></p>
<p><a href="#">Branche 5</a></p>
<p><a href="#">Branche 6</a></p>
</div>
<div id="branche1" name="b1">
<div data-role="header" data-theme="d">
<a href="#menupanel" data-icon="bars" data-iconpos="notext" data-shadow="false" data-iconshadow="false" data-corners="true" data-wrapperels="span" title="Menu"></a>
<h1>Branche 1</h1>
</div>
<img src="bilder/branche1.jpg" width="100%" height="100%">
</div>
<!-- Other branches -->
</div>
哪里是你的代码? –
在js小提琴 – Leonardo20
@ Leonardo20如果答案是正确的,请接受它对其他otheres – Ben10