Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<meta charset=utf-8 />
<title>Demo by roXon </title>
</head>
<body>
  
<ul class="menu">
  
    <li>
      <a href="#">1 level</a>   
      <ul class="depth2">
        <li><a href="#">2 level</a></li>
        <li><a href="#">2 level</a></li>
      </ul> 
    </li>
  
    <li><a href="#">1 level (no 2 level)</a></li> 
  
    <li>
      <a  href="#">1 level</a>
        <ul>
            <li><a href="#">2 level</a></li>
            <li>
                <a href="#">2 level (with 3 level)</a>
                <ul>
                    <li><a href="#">3 level</a></li>
                    <li><a href="#">3 level</a></li> 
                </ul>
            </li> 
        </ul>
    </li> 
    
</ul> 
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers