I am trying to create a multicolumn dhtml navigation menu and nothing appears when I upload it to my server.
Return to Recent Questions
Q:
I am trying to create a multicolumn dhtml navigation menu and nothing appears
when I upload it to my server. I am attaching my menu called menu.js that I
have created and placed in a folder called menudir.
Can you please advise, thank you.
A:
You can find more info here:
http://www.deluxe-menu.com/highlighted-items-sample.html
Deluxe Menu has only two states normal and mouseover.
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, for
example:
<noscript><a href="http://deluxe-menu.com">dhtml navigation menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript">var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<script type="text/javascript">var pressedItem=3;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also set a pressed item using Javascript API:
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.
Return to Recent Questions
Related:
- Sep 15, 2006 - How can I make paths in my DHTML MENU absolute?
- Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
- Oct 13, 2006 - Under the menu images there is a gray line that makes it look broken.
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
- Nov 12, 2006 - Where in the java menu creator would I inseart the icons for individual item labels
- Nov 14, 2006 - Can dhtml menu script work with tables ?
- Nov 23, 2006 - It is possible to have context menu work with your tree menu dhtml?
- Nov 30, 2006 - How to select the font and backcolors in java menubar using the hexidecimal number?
- Dec 04, 2006 - With the licensed .js files of menu dhtml the status bar on IE shows "Error on page".
|