Recent Questions Xp Tree Script
Q: I'm trying to get the dhtml tab menu aligned to the right. Can you make a suggestion on how I can do this?
A: Try to install your tabs into the table with right alignment, for example:
<table width='100%'>
<tr>
<td align="right">
<script type="text/javascript" src="test_files/tdata.js"></script>
</td>
</tr>
</table >
Q: It all works great under IE, but when you view it in Firefox the fly-out menus (off of Products, Services & About Us) do not appear over the Flash animation to the right in IE.
It works fine under Firefox on all other pages apart form Home, because Home is the only page with containing the Flash animation.
Could you please have a look and let us know if this is a known issue (we're using the latest 8 dmenu .js file, time-stamped 11 April 2006).
Thanks in anticipation.
A: Please, try to set this parameter:
var dmObjectsCheck=1;
Q: I have downloaded the trial version of JavaScript Tree Menu and am seriously looking at buyingit. I am trying to go thro the instructions and check out if it meets my requirement.
I am not able to figure out how to equally space out all my menu items on the javascript menu bar.
My menu bar width is fixed at 800 px and I have 7 items - horizontal type. The menuitems widths appear different for the menu items. How do I ensure that all of them are ofequal size ??
A: Set width for the items using Individual styles:
var itemStyles=[["itemWidth=100px"],] //style 0
Assign Individual Styles for the menu Items.
var menuItems = [
["Item 1","", "", "", "", "", "0", "", "", "", "", ], //style 0
["Item 2",", "data2.files/icon1.gif", "data2.files/icon1o.gif", "", "", "0", "", "", "", "", ], //style 0
];
Q: Cross-frame mode: after clicking on a menu item and the subframe is loading and then mouse over the menu when the subframe has not finished loading a javascript error occurs and then the javascript vertical menu breaks.
A: You can get this error when you load pages from the another domain.
JavaScript Tree Menu can support this mode for the same domain only -- ifyou loaded a page to a subframe from another domain, the submenuscan't be shown in it. It happens because all browsers don't allow todo that for security reasons. Just imagine if you'll able to create aframeset from 2 frames, 1st frame will be with a zero height-width,and you'll load your page into it. Then user will go to another domainand your "invisible" frame will change a content of other pages!