Recent Questions
Q: Is there a way to keep global nav image highlighted (rollover image) if click on subnav link?
A: You should write your own code on PHP.
To use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page.That is why you should write your own code on PHP.
Q: Can I move the submenu 5px to the right so it doesn’t stick to the main tree javascript hierarchical menu (Please try to separate them without a color).
A: You should set the following parameter:
var topDX=5;
Q: My slide drop down menu appears at the top of the page rather than in the cell in which I placed it
A: You're using absolute position for the menu now:
var absolutePos=1;
You should use the relative position:
var absolutePos=0;
Q: When I roll my mouse over my menu, it appears halfway down the page, not next to the menu. This only happens when I enclose the code in <div></div> layers. Is there a way to fix this?
A: It is possible that you have some problems with your css.
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" 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 <DIV id=SiteMenu>
to the
style="position:absolute;"
So, you'll have:
<DIV id=SiteMenu style="position:absolute;">
Check that.