Javascript Menu. DHTML Menu.

Build right-click menus for your site. For this purpose you should appoint a peculiar method for the object you want. The current X,Y of the mouse pointer or your own ones can be used for the context menu.

Design menus absolutely based on CSS (Cascading Style Sheets). It is possible to apply the personal CSS styles for every elements of the menu.

When the submenu is bigger than the visible page area, the size of submenu will be automatically decreased. To view all the submenu items you do not need to use scrollbars or something like that - just put your mouse to the bottom of a submenu and it will be automagically scrolled! You can also define width and height for each submenu.

Recent Questions

Q: The menu has a problem with newlines. The menu builds correctly (layout ok) but when pressed on the button nothing happens

At some point, in the DHTML menu, we have the following in the javascript:

var menuitems = [

["|Print HTML","javascript:alert('HTML print: Only the 7 most recent orders on the screen \n will be printed because of space limitations on paper.');printResult('4'); ","","", ,"_parent",,] ]

As you can see we have a newline (\n) between the words "screen" and "will". But when we click on the button nothing happens. If we remove the newline and we click on the button then we first get the alert box. After pressing the OK button the function printResult is called.

Is there any way for us to still use the newline character in the menuItems variable?

This can be easily reproducible. That's why I haven't made an example.

A: Try to write in the following way \\n:

["|Print HTML","javascript:alert('HTML print: Only the 7 most recent orders on the screen \\n will be printed because of space limitations on paper.');printResult('4'); ","","", ,"_parent",,]

Q: How do you center the text within the top-level cels in the drop down navigation bar?

A:You should set the following parameter:

var itemAlignTop="center";

Q: And another question about displaying the links code in html.

How to create a drop down menu links to be displayed in the html code for search engines to catch them, is that possible?

A: You can use search engine friendly code and install it on yourpage before you call your data file.You'll see text links in that case.

Q: Do I need to generate a html file after I create dhtml menu and than work from that file? Or can I just copy and paste the code into my existing html file?

A: It will be better create dhtml menu in Deluxe Tuner and save your menu as html file. And copy html codefor the menu from this file into your page. You should also copyfolder with all menu file and data file with menu parameters into the same folder with you html page.

The submenu of a menu buttons do not appear in front of a flash movie, it is allways under it. " Menu Cascade Html Codigo; ". ... I have created a three- level Vista style javascript vertical menu.." Como Insertar Un Menu Desplegable En

The submenu of a menu buttons do not appear in front of a flash movie, it is allways under it. " Menu Cascade Html Codigo; ". ... I have created a three- level Vista style javascript vertical menu.." Como Insertar Un Menu Desplegable En

The submenu of a menu buttons do not appear in front of a flash movie, it is allways under it. " Menu Cascade Html Codigo; ". ... I have created a three- level Vista style javascript vertical menu.." Como Insertar Un Menu Desplegable En