How do I change the background color for the floating drop down menuA: To change menu colors you should change the following parameters:
You can also use Individual Item Styles to change the color of the specific items:
var menuStyles = [
var itemStyles = [
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, 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: I recently started using a new software program on my home page and am running into an issue with your drop down menu in css working with this software.
Basically no matter what I change the DmZorder to drop down menu in css always shows up behind the dhtml windows that I am trying to use.
After working with their support team they have stated that they believe the problem exists within the menus and I am attaching a screenshot they sent me.
Can you please assist me in resolving this issue?
A: Try to delete the following properties from #main style:
POSITION: absolute; TOP: 0px; LEFT: 0px;
See the attached example.
Set also units in "px":
It helps to display the drop down menu in css correctly in all browsers.
Q: Can data be loaded dynamically in the free drop down menu? For example, can you load the child of a node once the node is clicked on.
A: You can use AJAX like technology.
// and describe parameters of a menu
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
The example of the menu working with PHP/MYSQL you can find here: