Recent Questions Zend Tree MenuQ: Is there a way to get text to wrap on a tree menu rather then have scroll bars if the text is wider then the area?
A: To wrap your text you can use the following parameter:
you can also use standard <br> tags.
["|Home aaaa aaaaaa aaaaaa<br>aaa aaaaaaaaaaa","testlink.htm", "default.files/icon1_s.gif", "default.files/icon1_so.gif", "", "Home Page Tip", "", "", "", ],
Can you help me out?
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).
In other words, you can't get the value of "position" attribute of the object if the object doesn't have this property within inline style(style="position:relative"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
For example, you should add style="position:relative;"
So, you'll have:
<DIV class=MainBody style="position:relative;">
<DIV class=Menu style="position:relative;">
Now we have only such solution for this problem.
We'll try to fix this problem in the future versions.
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";
I read this page, but it didn't work
A: 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 menuitems = [
["<div onClick='your_code_here'>item text</div>", "index.html"]