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>
  
<div id="menu">
<ul>
  <li>1
    <ul>
      <li>1.1</li>
      <li>1.2</li>
      <li>1.3</li>
      <li>1.4</li>
    </ul>
  </li>
  <li>2
    <ul>
      <li>2.1</li>
      <li>2.2</li>
      <li>3.3</li>
    </ul>
  </li>
  <li>3</li>
</ul> 
  </div>
  
  
</body>
</html>
 
.submenuarrow{
  background:red;
  cursor:pointer;
}
ul{
  list-style:none;
  padding:0px;
}
#menu>ul>li{
  float:left;
  margin-right:20px;
}
li>ul{
  display:none;
  position:absolute;
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers