Bootstrapのプルダウンメニューdropdown

7756 ワード


<html>
<head>
   <meta charset="utf-8">
    <title>Dropdowntitle>
     
     <link href="dist/css/bootstrap.css" rel="stylesheet" type="text/css">
     <link href="dist/css/bootstrap.min.css" rel="stylesheet" type="text/css">
     <link href="dist/css/bootstrap-theme.css" rel="stylesheet" type="text/css">
     <link href="dist/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
     <script type="text/javascript" src="js/tests/vendor/jquery.min.js">script>
     <script type="text/javascript" src="dist/bootstrap.js">script>
     <script type="text/javascript" src="dist/bootstrap.min.js">script>
     <script type="text/javascript" src="dist/npm.js">script>
     <script type="text/javascript" src="js/tab.js">script>
     <script type="text/javascript" src="js/dropdown.js">script>
head>
<body>
    <div class="dropdown">
            <a href="#" id="myaddress" class="dropdown-toggle" data-toggle="dropdown">
                 
               <b class="caret">b>
            a>

           <ul class="dropdown-menu" data-toggle="dropdown" aria-labelledby="myaddress" >
              <li ><a href="#"> 1a>li>
              <li ><a href="#"> 2a>li>
              <li ><a href="#"> 3a>li>
           ul>
    div>
body>
<script type="text/javascript">
     /* */
    $('.dropdown-toggle').dropdown();
script>
html>