Recent Questions Dhtml Tree Rapid
Q: I am having an issue using JavaScript Tree Menu with Netscape 7 and cross-frame support across domains. Everything works fine in IE however when I mouse over the top menus they do not adjust the size of the frame when looking at a page from another domain with Netscape. I have checked, and the submenus do appear when I increase the size of the top frame. How do I get the menu to function the same in Netscape or have it function like it does when it’s all in the same domain?
A: The menu will work correctly in the cross-frame mode if you load pages into the sub frame from the same domain.
If you load pages from another domain submenus won't be shown in the subframe - they will be shown in the frame with the top-menu.
It's caused by a security policy of browsers - a script can't modify a content of pages from another domain.
More info about cross-frame mode you can find here:
http://deluxe-menu.com/cross-frame-mode-sample.html
Q: I played with it and I got the tabs java script horizontal menu to work. but having problems with them:
1. I want the tabs to open when you mouse over them, not when you click. Is it possible to do this?
2. I want the tabs to close when your mouse leave them. Can I do this?
3. It keeps saying "Incorrect key" when you click on them. Is it possible to fix them?
A: No, unfortunately it is not possible in Deluxe Tabs.
But you can use JavaScript Tree Menu to create such java script horizontal menu.
To create such menu you should set the following parameters:
var smOrientation=1; //horizontal orientation of submenus
var subMenuAlign="pleft"; //submenu position (left align)
var smHidePause=-1; //your submenus won't be hidden till you click orscroll the page.
"Incorrect Key" message means that you didn't paste your reg. key into data.js filewith your menu.
You should paste your key parameter into .js file where your java script horizontal menuparameters (vars) and items ( var bmenuItems) are placed.You should paste the following code at the beginning of the file:
/*
JavaScript Tree Menu Data File
Created by Deluxe Tuner v3.2
http://deluxe-menu.com
*/
var key="XXXXXX";
// -- Deluxe Tuner Style Names
Where XXXXX the key from your license message.
Try to clear also browser cache.
Notice your key will work on registered domain only. It won't work onlocal machine.
Q: How do I turn off transitional effects of my java swing right click menu?
A: You should set the following java swing right click menu parameters.
var transition=-1;
var transOptions="";
var transDuration=0; var transOptions="";
var transDuration2=0;
Q: Am I under the correct assumption that if the inner menu item text expands past the ItemWidth or MenuWidth (being that the Width is set -- eg 150px), that the javascript menu div width will expand past it's boundaries instead of wrapping the text? (eg. A text like "Please Make this Wrap instead of expand the width boundary" seems to expand the container's width rather than wrap)
A: There are 2 ways to do that:
1. set
var noWrap=0;
2. use <br> tags, for example:
var menuItems = [
["line 1<br>line 2"],
];