Recent Questions Jquery Accordion Java Tree 3 LevelsQ:
Looks like my submenu text is too long for the background.
How can I ensure the background is the same length as the longest word in my java edit menu submenu list. A: Try to change the following parameter:
Where do I add my "blahblah.htm" page links in js menu?
Copy of menu data below. I assume it is between the first pair " " but not sure about all the , , , , , "0" etc following.
["Home","", , , , , "0", , ],
["Contact","blahblah.htm", , , , , "0", , ],
["|Hosts","", , , , , , , ],A: You're right, the following syntax is correct:
["Contact","blahblah.htm", , , , , "0"]
Here is the format for a menu item:
["text", "link", "icon1", "icon2", "tip", "target", "styleIndex"]
Please, try to use Deluxe Tuner application to configure your menu:
Navigation bar code should indicate with on which page I me just considers..
but you 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,
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:
Hello, I am trying out your dhtml menu and would like to load an iframe into one of the menus, how would I go about this? A: If you want to insert <iframe> object inside a menu item you can do following things.
You can paste any html code into menu items, for example:
["item text <iframe src="link"></iframe>", link, ...]