<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxmenu_dhx_skyblue.css">
<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxmenu.js"></script>
<script src="../../codebase/ext/dhtmlxmenu_ext.js"></script>
<div style="height: 250px;"><div id="menuObj"></div></div>
<input type="text" value="4" id="overflowValue" size="2">
<input type="button" value="set overflow" onclick="setOverflow(document.getElementById('overflowValue').value);">
<br>
<script>var menu;
function initMenu() {
menu = new dhtmlXMenuObject("menuObj");
menu.setIconsPath("../common/imgs/");
menu.loadXML("../common/dhxmenu.xml?etc=" + new Date().getTime());
}
function setOverflow(h) {
if (isNaN(h))
return;
menu.setOverflowHeight(h);
}
</script>