已采纳回答 / 慕后端4227358
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"><script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> 分别加上协议http:<link rel="stylesheet" href="http://maxcdn....
2018-10-01
最新回答 / 七月lyr
是慕课网的代码 那三行 有   这个中文全角字符 ,详情到 这位同学这儿https://www.imooc.com/qadetail/242228 我也是才在那儿看到的
2018-09-23
最新回答 / qq_文之彬bin_eiwCL9
例子里面Boostrap样式引入多了个http,改为下面这个就行了<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
2018-09-23
已采纳回答 / 橙月4409211
前面那是等待整个网页加载完成才执行以下script,相当于window.onload=function(){...},你可以看看jQuery教程
2018-09-19
最赞回答 / 3116ZY
CSS选择器中的“子元素选择器”,选中当前元素的第一代子元素;例子:<div class="one"> <div class="two"> <div class="three"></div> </div></div>.one>.two,选中类名为one下的第一代(>),类名为two的元素;
2018-09-03
已采纳回答 / 3116ZY
你代码关于下拉菜单的部分是没有错的;可能是你引入文件错误的问题,建议检查:检查引入文件的路径是否正确相应的bootstrap.js版本是否和jQuery版本匹配检查引入文件的源码,'ctrl+F'搜索'dropdown',看是否有相关支持
2018-08-30