Recent Questions Mediawiki Tree And Menu Demo
Q: I've been working with your javascript menu sample and like what I see so far. One issue I have seems to be with the smColumns variable. I'm assuming it was for just the sub menus but in the trial when I change this the entire menu goes into multi- column mode. I exported the project to HTML thinking I could manually change it there, that produced the same result, changed the entire menu to multi-column.
Our menu will be dynamic (populated from SQL Server) with only some of the sub menus being multi-column. We will even have multiple sub menus for certain items and we'll need to have the capability to set which one of those will be displayed in Multi-columns and which ones will not. (See Below) So the question becomes; Is there a way to set the number of columns only for the javascript menu sample subitems we desire to have multi-column and if so how?
A: You should use Individual Styles and set number of javascript menu sample submenu columns foreach submenu individually.
var menuStyles = [
["smColumns=2","smOrientation=undefined"],
];
Q: I came across your program through a link on the Internet. The menu script displayed was DHTML Menu Demo #23 displayed on
http://dhtml-menu.com/dhtml-samples/menu2752.html - this is the only menu I am interested in as it has the capability of positioning the menu script relative to an existing table in the HTML coding of the page. I already have a vertical scrolling menu with several features visitors. We are moving our website to our own server and are doing some updating to make it more attractive when viewed at different resolutions. If you look at the source coding for the page (yes, it's almost exclusively in HTML - it usually views well on any browser) you will see that ALL the content is enclosed in a table which is centered on the page allowing it to be completely viewed at any resolution of 800 x 600 or greater. But the scripting I'm using ( /* Created by Randy Bennet...) uses the left margin of the browser window as left margin of the page. If it could be written so that the left margin of the existing (and centered in the browser window) table would be the point from which the left corner of the "object1" was measured, then the page would view nicely at any resolution. But I cannot find out how to do this from your "newer version".
A: You can create the same menu using JavaScript Tree Menu:
http://dhtml-menu.com/dhtml-samples/menu2752.html
To install JavaScript Tree Menu in the table cell with center alignment youshould use relative position for the menu:
var absolutePos=0;
var posX="0px";
var posY="0px";
And install it on your page in the following way:
<table>
<tr>
<td align="center">
<script type="text/javascript" src="deluxe-menu.js"></script>
</td>
</tr>
</table>
Q: We want to evaluate Delux Menu(DM). But before doing any testing I want to ask few questions.
-#1 Can DM support context menus on right click with in a DIV and on a button click.
ex: I have a Options button on the web page and also a DIV which is transformed using xml and xsl.
Onclick of the button and right click within the DIV area should popup the same menu.
I have various DIVs and each DIV has its own context menu.
-#2 Any issues like IE memory leaks by using DM. I am asking this we are having some issues with the present menu control we are using. IE hangs up when the web page is idle for more than 20 mins.
A: 1. JavaScript Tree Menus supports such a feature. Please, go tohttp://deluxe-menu.com, section "Samples->Functional Samples->Popup Menu"
You can create any number of menus on a page.
2. We don't know about such a problem with JavaScript Tree Menu. Please, try atrial version of DM. It has a full functionality.
Q: How to open a popup after clicking on a popup menu in javascript item in Mozilla.
The code in java script is supporting internet explorer but not mozilla.
A: You can write your popup menu in javascript Items in the following way:
["Home","javascript:window.open('http://deluxe-menu.com');window.focus;", "", "", "Home", "", "", "", "", "", "", ],