Recent Questions Jquery Treemenu Drag And Drop
Q: Is transparent drop down menu compatable with MS Expression Web?
A: JavaScript Tree Menu wasn't developed as Dreamweaver/Frontpage extension,
BUT you can use it as standard Javascript files. To install the menu into your html page:
1. open the page in Dreamweaver/Frontpage
2. open html source code of the page
3. add several rows of code (<script> tags), For info see:
http://deluxe-menu.com/installation-info.html
That's all.
Q: I would like to open some javascript menu drop items in a JavaScript popup window of a certain size using something like this code:
window.open("FileName.asp,"PopName","scrollbars,toolbar=0,location=0,resizable=1, directories=0,menubar=0,width=575,height=375,left=100,top=100");
How can I do that?
A: I'm not sure I understand about what product you're saying. Could youclarify this?
You can write any HTML code within menuItems (JavaScript Tree Menu):
["Home","javascript:window.open('FileName.asp,'PopName','scrollbars,toolbar=0,location=0,resizable=1, directories=0,menubar=0,width=575,height=375,left=100,top=100')", "", "", "", "", "", "", "", "", "", ],
["<a href="javascript:window.open('FileName.asp,'PopName', 'scrollbars,toolbar=0,location=0,resizable=1,directories=0,menubar=0, width=575,height=375,left=100,top=100')">Product Info</a>","", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", "", "", "", "", "", "", "", ],
Q: Our company has been using the trial version of JavaScript Tree Menu and was satisfied enough with initial integration efforts to acquire the license version.
We are interested in making our main dhtml rollover menu items a constant width, but the data.js parameters ( var menuWidth="800px"; var menuHeight="30px"; var smWidth=""; var smHeight="";) don't seem to give us that capability. We dynamically remove main menu items based on user roles and when we do the main menu always re-sizes and the remaining main menu item widths no longer match our sub-menu widths. We're able to adjust for this by using the API but that seems to be a lot of unnecessary coding. If we could keep each main menu item a fixed width, our sub-menu widths would not have to change.
Do you have information on how to accomplish fixed main menu item widths, even better would be an example?
A: Actually you can specify the width and of all or individual dhtml rollover menu items or submenus usingIndividual Item/Submenu styles.Q: The menu is the table imbedded to the layer.
If you want to center the menu paste itwithin the <div>> or <table> with a static position and specify a center alignment for it, for example:
<div align=center>
<script src="data.js"></script>
</div>
Please, set exact value for var menuWidth parameter, for example:
var menuWidth = "500px";
This can help to align your menu correctly in all browsers.
Try also to specify units in "px".
Set also:
var absolutePos = 0;
If you want to use absolute position for the menu, use varabsolutePos=1 instead of absolute position for div.