However, the background and shadow do not render in Firefox. As a result the menu is not as attractive.
var itemStyles = [
["Home","index.shtml", "", "", "First Page", "", "0", "", "", "", "", ],
["Communication","", "", "", "", "", "0", "-1", "", "", "", ],
Filters and transitional effects are features of Internet Explorer5.5+ only.
See more info here:
In internet explorer the menu appears as expected, in firefox it is shiftedway to the right
The deluxe menu code is all wrapped within < center> < /center> tags
How can this be resolved? A: Try to specify units in "px", for example:
It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.
butyou can highlight menu items in two ways:
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.
You can find more info here:
How can I add a separator to the vertical menu using the dynamic functions?
It seems as though the only way to get a separator into the menu is by defining itbefore hand, but the website I'm building will require me to reload themenus dinamically, and I'm losing the ability to put separators on it.A: You should add items using the following function:
function dm_ext_addItem (menuInd, submenuInd, iParams)
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)
Find more info:
Set the following parameter:
So, you should write:
dm_ext_addItem(0, 4, ["|-", "", "", "", "", "", "", ])