I finally found how to solve this here: http://jsfiddle.net/297t6/
.menu
{
margin:0;
padding:0;
}
.menu > li
{
list-style:none;
float:left;
margin:0;
padding:0;
position:relative;
}
.menu a
{
text-decoration:none;
color:#fff;
background:red;
display:block;
padding:10px;
}
.menu > li ul
{
margin:0;
padding:0;
width:150px;
position:absolute;
display:none;
z-index: 999;
}
.menu > li ul ul
{
margin:0;
padding:0;
width:150px;
position:absolute;
display:none;
left:150px;
top:0;
z-index: 999;
}
.menu > li ul li
{
margin:0;
padding:0;
list-style:none;
position:relative;
}
Copied the CSS and Javascript (which is much cleaner than what I had), changed class names an voilla - it works.