问题描述:

I have been trying to look aroung for a solution to this problem. My web page works great on the desktop, but when I load the file onto my phone for testing the collapse button doesn't funtion. The phone knows that it is a button, but the information behind the button doesn't shoe.

Here is the code for the button.

<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">

<span class="sr-only">Toggle navigation</span>

<span class="icon-bar"></span>

<span class="icon-bar"></span>

<span class="icon-bar"></span>

</button>

I am using the most recent version of bootstrap. Any thoughts?

Thanks for the help.

网友答案:

Have you imported all the .js files proparly? else check this link: Bootstrap v2 Dropdown Navigation not working on Mobile Browsers

相关阅读:
Top