Can I use data from a SQL server using ASP for drop down menu code?A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
so, you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- Deluxe Menu -->
<!-- (c) 2006, http://deluxe-menu.com -->
// and describe parameters of a menu
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
Unfortunately we don't have examples with ASP and SQL.
The example of the menu working with PHP/MYSQL you can find here:
Thanks, we tried giving var pressedItem=0; and the script as below:
We are facing 2 problems
1) Two menus are getting highlighted, the "Home" and the dynamic html menu which is called onLoad using dm_ext_setPressedItem (0,8,0,0); function)
2) The submenu of the dm_ext_setPressedItem (0,8,0,0) is not getting highlighted. A: Try to set
dm_ext_setPressedItem function has a following parameters:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion, parentOpen)
So, if you want to highlight item in the submenu you should use itemInd of this item (notitemInd of the parent item).
For example you want to highlight submenu item of the 'Manage Users' parent item with
You can find more info about dynamic html menu indexes here:
So you should write the function in the following way:
dm_ext_setPressedItem (0, 3, 15, 1, 1)
menuInd = 0 if you have only one menu on the page
submenuInd = 3, see how to determine submenuInd in the table
itemInd = 15, see how to determine itemInd in the table
recursion = 1, to highlight parent items
parentOpen = 1, to open the submenu with the selected item.Q:
You know how you can drag sub-menus? Well I was wondering if it is possible to drag individual items off of the sub-menu? A: No, it is not possible to drag items from submenu.
I'd like to buy a template for creating a basic java script vertical menu that is image based. Can you tell me which of your products I should consider buying? I'm familiar with html, but not other programming languages. A: If you want to create java script vertical menu you should buy Deluxe Menu,
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.