Guest dlbjmb35 Posted February 3, 2008 Share Posted February 3, 2008 I am using the latest version of CC4 which has the dynamic menu built in. I would like to align the bottom of the submenu with the bottom of the parent menu item. I am not sure what I need to add to the jslibrary.js showSubMenu method to accomplish this. Any help would be greatly appreciated. Below are the CSS and the showSubMenu method. function showSubMenu() { var objThis = this; for (var i = 0; i < objThis.childNodes.length; i++) { if (objThis.childNodes.item(i).nodeName == "UL") { objThis.childNodes.item(i).style.display = "block"; } } } .li-nav .ul-nav { display: none; position: absolute; margin-left: 100px; margin-top: -19px; border-left: 1px solid #e1e1e1; border-right: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1; border-top: 4px solid #e24854; z-index: 99; /*z-index: 150;*/ } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.