We need to place a vertical menu on the right of our page, and have the subnav options popout on the LEFT of the vertical navbar.
Can you script handle this?A: Yes, you can create such menu with Deluxe Menu.
You should set this parameter.
Submenus can be shown in 4 ways. More info you can find here:
How I can write the changed dhtml pull down menu into a database?A: Unfortunately, we don't have such example.
<!-- Deluxe Tree -->
<!-- (c) 2006, http://deluxe-tree.com -->
// and describe parameters of a menu
var tmenuItems = [
// 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:
This example is not for Deluxe Tree menu, but you can create your menu in the same way.
See more info here:
You can use
dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
to disable your items or
dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
to hide your items.Try that.Q:
Navigation bar code should indicate with on which page I me just considers..
(with anothercolour of the font of the active Link from the navigation, or an underline, bolder font, ...). A: Deluxe Menu has only two states normal and mouseover,
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: