Recent Questions
Q: Thank you. I got the menu working on my web page.
Now, I have to pass dynamic value from the link when the user click the floating javascript menu.
I was using a table type of menu and passing value like this
<td onclick="document.iframename.location.href='abc.jsp?value1=<%value1%>&value2=<%value2%>Click here</td>
What should I do to the deluxe-menu to get the same action?
I need to pass value to next page. The value is dynamic, so I have to use <%value1%> notation for JSP file.
A: Actually you can use your own Javascript code instead standard links. For example:
var menuItems = [
["text", "javascript:your_code_here"]
];
or
var menuitems = [
["<div onClick='your_code_here'>item text</div>", ""]
];
Q: I have created a test page using deluxe menu and would like the menu to appear in the centre of a frame. I have tried usind <div> and <table> tags and while either gives correct results with Internet Explorer, neither gives correct results with Mozilla.
A: Try to set exact value for menuWidth, for example:
var menuWidth="130px";
Q: I'm interested in using DHTMLMenu in web applications I develop and have some questions about licensing.
My company develops web applications that act as front ends for clients' legacy mainframe programs. DHTML Menu would be of great benefit in adding navigation functionality to these applications. Each application is custom-developed for each client, so we don't have a pre-packaged product in which the menu would be used. Would the Developer License meet our needs for this sort of development?
Also, a small minority of our clients develop and distribute applications themselves based on the applications that we develop for them. Does the Developer License support transferable redistribution? If not, how much would a license that permitted this cost?
Thank you for your time and I look forward to hearing from you.
A: Yes, Developer License will suit you.
You can use it within your applications and distribute them.
Q: We purchased your software and would like a way to give our users the ability to right click (or equivalent) and open a link in to a new window.
Is there a way to do this? If not, do you have a work around that people have found helpful.
As an example, I have a menu item that goes to http://www.google.com. Typically, it loads this in to one of our frames. However, I would like the end user to have the ability to either load it in to one of our existing frames or to load it in its own window.
A: You can try to write the following code for your items:
["<a href='index.html' target='_blank' class='home'>Home</a>","", "", "", "", "Return to Index page", "", "0", "", ],
And create styles
.home{
color: #FFFFFF;}
.home:hover{
color: #FFBEBE;}