Recent Questions Open Source Html Tree Menu Scripts
Q: We currentlly have a menu that uses standard html hyperlinks to open a new window with _blank as the target. Unfortunately, the size of the window is controlled by the browser and we want to be able to control it. The only way that we know how to do that is to use the window.open client-side function and pass the window's dimensions. Here is a sample of the code that would do that:
window.open("url","_blank","height=1024,width=768,status=yes,toolbar=no,menubar=no,location=no");
How can we add the javascript code to the dhtml menu vertical instead of a link? Do you have any samples?
A: You can use javascript code within menuItems, for example
Write:
["Test Window","javascript:window.open('http://www.microsoft.com','_blank','height=1024,width=768,status=yes,toolbar=no,menubar=no,location=no');", , ,'Monitor Exceptions' , , '0', '0',,],
Q: Is there any way can we display sub level menu items on mouse over of first level menu items using tabs (Text Style Javascript Dhtml Tab / Java Script Tab Script Text Style / Javascript Tab Navigation Text Style / Javascript Tabbed Menus XP Style)
A: Unfortunately, you can do it on mouseover with Deluxe Tabs.
But you can create such menu using JavaScript Tree Menu.
Q: And when purchase online can I download the java script for drop down menu immedielty after purchase? Or how do I get the product?
A: We don't send the product on CD/DVD. After the ordering is completeand ShareIt (Regsoft) has it verified (which can take approximately 24 hours), you'll get your license info.
Q: What I try to make is a menu dhtml with items having a border of only 1 px, also between the menu items. However it seems that Deluxe menu draws a 1 px line around every menu item giving an effective border line of 2 px between the area where the items touch each other. I want to have 1 px border also on the areas where the items touch each other.
Any suggestion how to fix this?
A: If you want to have the 1px border between the items only you canuse separators.
Please, see the following parameters:
//--- Separators
var separatorImage=""; //for subitems
var separatorWidth="5";
var separatorHeight="100%";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif"; //for the top items
var separatorVWidth="1";
var separatorVHeight="100%";
var separatorPadding="";
You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];