I currently have the menus set to show the selected item in white and the non-selected items in blue.
However, I can only choose one item in each menu.
Is there any way to choose multiple items from a single drop down css menu and have all of
selected items show white?
Actually you can use the following function:
function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
You can create Individual Item Style with style of selected item and
using this function assign it for the items you want to highlight
<iframe src="files/1.pdf" name="iframe" style="z-index:0;" width="100%" height="100%"></iframe>
Submenus will overlap PDF correctly if you load it in the IFRAME only!Q:
I would like the button in the sub navigation bar to stay white when you navigate to a particular page..A: 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:
See the example here:
You can also use your own images for the menu items.
If item text is empty, icon fields will be used as item images.
["", "index.html", "itemImageNormal.gif", "itemImageOver.gif", "Home Page"]
Please, try the trial version at first. It has full functionality.