[英]Please help me find the bug in my Bootstrap 3 nav bar
The collapsed nav bar (at small window sizes) no long functions. 折叠的导航栏(小窗口大小)没有长功能。 Clicking on the nav icon doesn't pop up a dropdown nav.
单击导航图标不会弹出下拉导航。 You can view the site and its source here: http://www.clearsoftinc.com/Clearsoft/public_html/index.html
您可以在此处查看该站点及其来源: http : //www.clearsoftinc.com/Clearsoft/public_html/index.html
Your data-target
on your button navbar-toggle
should be 您的按钮
navbar-toggle
上的data-target
应该是
data-target=".navbar-collapse"
It was previously .nav-collapse
它以前是
.nav-collapse
Easy to miss with so many similar classes in bootstrap! 在bootstrap中很容易错过这么多相似的课程!
You have JavaScript error: 您有JavaScript错误:
GET http://www.clearsoftinc.com/Clearsoft/public_html/js/jquery-1.10.2.min.map 404 (Not Found)
You must include this file. 您必须包含此文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.