Menu icon Foundation
menu dropdown not working

hey,

I have problem with dropdown menu in  Foundation 6.

It's not working !

<!DOCTYPE html>
<html lang="fa"  dir="rtl">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/foundation.css">
    <title>test</title>
    <style>
        body{
            margin-top: 5px;
        }
        .s{
            background-color: gray;
        }
        .s1{
               background-color: yellow;
               height: 300px;
               margin-top: 10px;
           }
        .s2{
            background-color: purple;
            height: 200px;
            margin-top: 10px;
        }
        .s3{
            background-color: #80627b;
margin-top: 10px;
        }
        .row{max-width: 100%;}
    </style>
</head>
<body>

      <ul class="dropdown menu" data-dropdown-menu>
          <li><a href="#">link1</a>
          <ul class="menu">
              <li><a href="#">link1-1</a></li>
              <li><a href="#">link1-2</a></li>
          </ul>
          </li>
          <li><a href="#">link2</a></li>
          <li><a href="#">link3</a></li>
          <li><a href="#">link4</a></li>
          <li><a href="#">link5</a></li>
      </ul>

<script src="js/foundation.js"></script>
<script src="js/jquery.js"></script>
<script src="js/app.js"></script>
</body>
</html>

codes:

menudropdown

hey,

I have problem with dropdown menu in  Foundation 6.

It's not working !

<!DOCTYPE html>
<html lang="fa"  dir="rtl">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/foundation.css">
    <title>test</title>
    <style>
        body{
            margin-top: 5px;
        }
        .s{
            background-color: gray;
        }
        .s1{
               background-color: yellow;
               height: 300px;
               margin-top: 10px;
           }
        .s2{
            background-color: purple;
            height: 200px;
            margin-top: 10px;
        }
        .s3{
            background-color: #80627b;
margin-top: 10px;
        }
        .row{max-width: 100%;}
    </style>
</head>
<body>

      <ul class="dropdown menu" data-dropdown-menu>
          <li><a href="#">link1</a>
          <ul class="menu">
              <li><a href="#">link1-1</a></li>
              <li><a href="#">link1-2</a></li>
          </ul>
          </li>
          <li><a href="#">link2</a></li>
          <li><a href="#">link3</a></li>
          <li><a href="#">link4</a></li>
          <li><a href="#">link5</a></li>
      </ul>

<script src="js/foundation.js"></script>
<script src="js/jquery.js"></script>
<script src="js/app.js"></script>
</body>
</html>

codes:

Daren Barry over 2 years ago

Do you have a link to a live site? Web 4U Inc