Bootstrap还是不引导?这里出了什么问题?

时间:2016-08-26 21:28:09

标签: javascript jquery css twitter-bootstrap

确定在阅读时查看图像:

我正在使用此模板:https://startbootstrap.com/template-overviews/modern-business/

有一个顶级菜单,它可以工作,而我不包括Bootstrap(' js / bootstrap.js')。 (当我点击时)

查看图片:

enter image description here

但是当我包含Bootstrap文件(' js / bootstrap.js')时,我得到了这个结果(不起作用)。 (当我点击时):

enter image description here

这是标题代码(HTML):

<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Modern Business - Start Bootstrap Template</title>

    <!-- Bootstrap Core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="css/modern-business.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <link href="css/dermaquality.css" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->


    <script type="text/javascript" src="js/jquery-2.2.1.min.js"></script>    
    <script type="text/javascript" src="js/bootstrap.js"></script>
    <script type="text/javascript" src="js/dermaquality.funciones.js"></script>
    <script type="text/javascript" src="js/dermaquality.script.js"></script>
    <script type="text/javascript" src="js/dermaquality.validadores_campos.js"></script>
    <script type="text/javascript" src="js/dermaquality.validadores_formularios.js"></script>

</head>

<body>

0 个答案:

没有答案