Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/fortran/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap 如何从索引页上的nav中删除引导中的活动类?_Twitter Bootstrap - Fatal编程技术网

Twitter bootstrap 如何从索引页上的nav中删除引导中的活动类?

Twitter bootstrap 如何从索引页上的nav中删除引导中的活动类?,twitter-bootstrap,Twitter Bootstrap,我在标题中使用引导菜单。默认情况下,index.php上的第一个链接是活动的(我有类'active'),但我不想在index.php上创建活动链接 如何仅在索引页上禁用活动li,可能是更改bootstrap.js或其他内容?无需您进一步输入,您只需通过编辑HTML删除该类即可。好的,我知道,问题不在bootstrap中。框架YII2的小部件中的问题,它生成nav。这个问题不正确。那么,还有别的问题吗?

我在标题中使用引导菜单。默认情况下,index.php上的第一个链接是活动的(我有类'active'),但我不想在index.php上创建活动链接


如何仅在索引页上禁用活动li,可能是更改bootstrap.js或其他内容?

无需您进一步输入,您只需通过编辑
HTML
删除该类即可。好的,我知道,问题不在bootstrap中。框架YII2的小部件中的问题,它生成nav。这个问题不正确。那么,还有别的问题吗?