Recent QuestionsQ: Thank you. I got the menu working on my web page.
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.
var menuItems = [
var menuitems = [
["<div onClick='your_code_here'>item text</div>", ""]
Q: For some reason all of the menu items are squished together when I put the js code in my page.
Is my site's CSS overriding the ones set in the menu css? If so how do I get around this?
A: See, the problem is that the script can't get css properties of the object if they are described in separate .css block (or file).
To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css
Q: How can you set an item in a dhtml dropdown to just have a text and not a link
A: Don't add link in the item's link field:
["Home","", "default.files/icon1_s.gif", "default.files/icon1_so.gif", "", "Home Page Tip", "_blank", "", "", "", ],];
A: Unfortunately, you can do it on mouseover with Deluxe Tabs.
But you can create such menu using Deluxe Menu.