I have a question:
Is it possible to have two icons in front of each dhtml menu item?
I need two icons in front of each menu-item that will symbolize an alarm and a sabotage-alarm.
I want to use animated gifs on these so that I can visualize alarm and sabotage on each menu-item.
But I also need an icon on the right side of the menu to show if the menu-item is expanded or not.
I want the structure to be like this:
Icon | icon а| Main menuitem1а | expandedicon
Icon | icon | sub menuitem1 | expandedicon
Icon | icon | sub menuitem1.1 | expandedicon
Icon | icon | sub menuitem1.2 | expandedicon
Icon | icon | sub menuitem2 | expandedicon
Icon | icon а| Main menuitem2а | expandedicon
Is this possible to achieve with your menu?
A: Yes, it is possible.
Actually you can use any html code within menu items.
["|<img src='default.files/icon1_so.gif' style='margin-right: 10px'>Home","testlink.htm", "default.files/icon1_s.gif","default.files/icon1_so.gif", "", "Home Page Tip", "", "", "", ],
Q: I am setting up a menu with word wrapping "on". Is it possible to have the wording in the middle of the text go to a new line?
If so, how do I do that?
A: Unfortunately, you can't do it.
You can only set the following parameter
and use <br> tags in the text, for example
["ffffffff<br>fffffffffffff<br>fffffffffff Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , "0", , , ],
Q: Is there any way through script to call the function that would be called if the user clicked a dhtml tabbed menu?
var bmenuitems = [
Unfortunately, you can't assign onmouseover/onClick event to each item.
However, you can achieve this by using standard html objects within items, for example:
var bmenuitems = [
["<div onClick='your_code_here'>item text</div>", "index.html"]
Q: It appears that this product only supports IE (on the PC and Mac). It does not support Safari or Netscape on any platform. Is that correct?
I ask because I like the product and would like to purchase the developer\'s license but our users represent a wide range of platforms and browsers.
A: DHTML products support a major part of modern browsers:
Also they support MAC browsers: Safari, IE, Firefox.
But DHTML Menu has some problems on this browsers with a submenuspositioning in some cases.
If you can't see Tree Menu in Firefox you should set these parameters:
Try to specify units in "px".
var tmenuWidth = "280px";
It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.
You should set this parameter:
var tmenuHeight = "auto";