汉堡菜单在iphone移动设备上无法打开,但适用于Android设备。我使用的浏览器是chrome& safari iphone 4s设备。
如何使用汉堡菜单让我的网站在iphone设备上移动友好? 这是网站:http://xavierbreaker.com/ 这是我的代码:
<div id="nav">
<div class="navbar navbar-fixed-top navbar-inverse" data-spy="affix" data-offset-top="100">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">xyz company</a>
<a class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav pull-right navbar-nav">
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="shows.html">Shows</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Media<i class=""></i></a>
<ul class="dropdown-menu" role="menu">
<li><a href="gallery.html">Gallery</a></li>
<li><a href="audiovisual.html">Audio/Visual</a></li>
<li><a href="">Beats Coming Soon</a></li>
</ul>
</li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
</div>
</div>
</div>