If you have any suggestions, I'd be very appreciative. A: 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; TOP: 0px"
So, you'll have:
<DIV id=div_name style="POSITION: absolute; TOP: 0px">aaspot_US~.Hration...M&Project Tool Configuration.Try that.
Is there a way to make the dhtml pull down menu not reset after a link is clicked.
Now every time I click a link in the tree menu it takes me to the linked page
but all the menus re-expand.A: When user clicks the link, the browser loads a new page and the script re-create the menu.
If you want to open the needed section automatically on load you can use the following:
1. Save the state to cookies
2. Use frames
3. Put the special script on each page of site that will open appropriate section:
See more info here:
I think I followed the instructions on FAQ to center my drop down menu js but it still will not center. Can you help?A: You can use different colors for each item and subitem of the drop down menu js
You should use individual item styles.
More info you can find here:
I would like to separate each main menu item in a dhtml menu bar with a dotted line graphic. A: To add a separator you should
var separatorImage=""; //for subitems (top items in vertical menu)
var separatorVImage="separator.gif"; //for the top items (subitems items in vertical menu)
You can create separators using menuItems, for example:
var menuItems = [
["-"], // this item is separator