Recent Questions Jquery Outlook Style TreeviewQ: Why is it that when we place a drop menu ina div that the droppping part is not right uner the menu? The menu on top banner is the problem.. Thesame code outside of a div futher down the page works fine.
I can place the same menu outside of the div and it works fine.When it is in a div the drop part of the menu is pushed to the far right of the screen.
A: Brian, see, the problem is that the script can't get css properties of the object if they are described in separate .css block (or file).
In other words, you can't get the value of "POSITION: absolute" attribute of the object if the object doesn't have this property within inline style (style="POSITION:absolute;"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
You should add style="POSITION: absolute;"
So, you'll have:
<DIV id="menu" style="POSITION: absolute;">
Q: What I try to make is a menu dhtml with items having a border of only 1 px, also between the menu items. However it seems that Deluxe menu draws a 1 px line around every menu item giving an effective border line of 2 px between the area where the items touch each other. I want to have 1 px border also on the areas where the items touch each other.
Any suggestion how to fix this?
A: If you want to have the 1px border between the items only you canuse separators.
Please, see the following parameters:
var separatorImage=""; //for subitems
var separatorVImage="images/public/separator.gif"; //for the top items
You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["About Us","about.cfm", , , , , , , , ],
Q: How can I have two menus dhtml under each other using the float option? So that do not collide with each other?
A: You can try to adjust the following parameters to the one menu:
Q: Whenver I choose the enable Ajax feature and set the AjaxCount to 0, my menus don't pop out anymore. How do I get it to pop out?
A: That variable set the maximal number of submenus that will be loadedfrom server on your page.
If you don't know exact number of submenus you can set a big value forthis parameter.
If you set var dmAJAXCount=0; you cannot see you submenus.
To enable Ajax feature you should set, for example: