Recent Questions Template Menu Tree
Q: I am currently using deluxe menu to generate a mouseover dropdown menu for my charity website - although it works fantastic in internet explorer it doesnt seem to work correctly in firefox, the mouseover dropdown menu looks flat and the special fade in effect doesnt work.
Please can you advise on what I am doing wrong.
A: Filters and transitional effects are features of Internet Explorer5.5+ only.
See more info here:
http://www.deluxe-menu.com/filters-and-effects-sample.html
Q: The page that I am creating lists out notes from our system - there is a "options" button to the right of each note - when the cursor hovers over this button I want to dynamically load the drag drop menu.
A: You can try to use pop up drag drop menu.
http://deluxe-menu.com/popup-mode-sample.html
You may also generate a menus from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
Q: Thank you for your prompt reply. But i was wondering where should I paste this code? Can you please explain the working of the javascript toolbar menu function
dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
I have 5 items in the javascript toolbar menu : Admin Options, Status Report, Remarks, Edit Profile, Data Entry.
I want to disable some fields for different users.
I have 3 role id's set in my database.
I want certain fields disabled for different users.
For eg : For Roleid =1 , i.e admin , I want all items to be visible.
For Roleid =2 , i dont want the Admin Options to be visible.
For Roleid=3 , I dont want Admin Options & Status reports.
Can you please elaborate on the working of the changeItemVisibility function. I was confused as there were no examples to demonstrate the code.
A: Notice also that you should set
var dynamic=1;
parameter to use API functions.
Q: I would like to open some javascript menu drop items in a JavaScript popup window of a certain size using something like this code:
window.open("FileName.asp,"PopName","scrollbars,toolbar=0,location=0,resizable=1, directories=0,menubar=0,width=575,height=375,left=100,top=100");
How can I do that?
A: I'm not sure I understand about what product you're saying. Could youclarify this?
You can write any HTML code within menuItems (JavaScript Tree Menu):
["Home","javascript:window.open('FileName.asp,'PopName','scrollbars,toolbar=0,location=0,resizable=1, directories=0,menubar=0,width=575,height=375,left=100,top=100')", "", "", "", "", "", "", "", "", "", ],
["<a href="javascript:window.open('FileName.asp,'PopName', 'scrollbars,toolbar=0,location=0,resizable=1,directories=0,menubar=0, width=575,height=375,left=100,top=100')">Product Info</a>","", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", "", "", "", "", "", "", "", ],