Dhtml Menu Example by Deluxe-Menu.com
Dhtml Menu Example

Menu Screenshots

Dhtml Menu Example Javascript Horizontal

Features

Unrivalled Features
  • Scrollable, dragable, floating, right-click menus
  • Keyboard navigation - press Ctrl+F2 to enter the menu
  • Unique Java Script API for altering menu "on-the-fly", without page reloading
  • AJAX technology - loads menu data from the server "on-fly and on-demand".
  • Search feature - add the search area in the menu and type symbols. The found words will be higlighted.
  • Sound support!
High Performance
  • AJAX menu loading - loads web menu data from the server "on-the-fly".
  • Commonly loads quicker than other html page elements
  • UL/LI items structure
  • Runs well with an unlimited number of submenus and items
Flat Dropdown Html Dhtml Menu Example
Compatibility              
  • Full cross-browser compatibility including IE, Netscape, Mozilla, Opera, Firefox, Konqueror and Safari on Windows, Mac OS and Linux
  • Menu can be populated from a database using ASP, PHP, etc.
  • Search engine friendly
  • Support for any doctypes
  • Fits for secure sites
  • Section 508 compliant
Easy Setup
  • De Luxe Tuner. GUI interface to create your dhtml menu example menus easily and in no time
  • Sensible menu parameters for manual editing
Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed dhtml menu example samples
  • Hundreds of visual effects
  • Custom CSS styles can be applied for all menu settings



2.0 Buttons by Web-Buttons.com v3.0.0

Javascript Menu. DHTML Menu.

  • Submenus can be shown in 4 ways: - From from left to right + upwards and also left to right. - From right to left and also from right to left + upwards (e.g. for right-to-left languages).
  • Use images for icons, backgrounds of submenus and items. Using images you can create menus entirely based on graphics.
  • Create both horizontal and vertical menus and submenus with any amount of menus on one page.
  • Insert any HTML code inside the menu item - be it a form or a picture, a flash-object or a text. This ability allows you to create various menus of any complexity.

Recent Questions

Q: How can I from javascript code change a displayed tab selection to another one in the dynamic menu tabs... lets say from first tab to the third tab?


A: This Tabs menu can save pressed item automatically within1 page only.
If you open another page, the menu can't remember presseditem.
You should do that manually using Javascript and menu parameters
(  var bselectedItem and   var   var bselectedSmItem) or using any server-side script (php, asp, etc.)

Deluxe Tabs doesn't support API functions which can return theselected tab.

If your site is written on PHP you can set "bselectedItem" and "varbselectedSmItem" parameters
based on your link beforeyou call your data file.

For example, move "bselectedItem" and "  var bselectedSmItem" parametersfrom your data file to your code.

<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
  var bselectedItem=<?php echo $seltabs; ?>;
  var bselectedSmItem=<?php echo $selsmtabs; ?>;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>

You should define seltabs and selsmtabs using server side script.

You can also set it on every page before you call data.js file, forexample:

<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
  var bselectedItem=4;
  var bselectedSmItem=3;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>

Try that.



Q: Thanks for swift reply, however:
Tried the dmenu.js (only one we use) at our trial site and get the error :
Line 13
Invalid argument

- as you know this js file is obfuscated to one line, so using a debugger does not apply.

A: See the attached example. I've upgraded your javascript layer menu to Deluxe Menu v3.0.
use data file and engine files from the attachment.

You had several errors in the structure of menuItems.

It is not correct to write

 ["| Contact us","http://www.imarex.com/home/contact_us","","","","","8","","",],
   ["||| Energy team","http://www.imarex.com/home/contact_us/energy_team","","","","","8","","",],

You should write:
 ["| Contact us","http://www.imarex.com/home/contact_us","","","","","8","","",],
   ["|| Energy team","http://www.imarex.com/home/contact_us/energy_team","","","","","8","","",],



Q: Here is a snapshot from the javascript drop down menu:

["admin","/Main/Administration.asp", "", "", "", "", "1", "", "", ],

 ["|test1","http://www.vg.no", "", "", "", "", "0", "0", "", ],

 ["|test2","/Main/Setup.asp", "", "", "", "", "0", "0", "", ],

If I click on test1 which is a Norwegian newspaper, it works.

But it I click on test2 which is a link to my page – it does not work.

A: You cannot use "" symbols within menuItems. It is not correct.
Try to write your javascript drop down menu items in the following way:

["admin","/Main/Administration.asp", "", "", "", "", "1", "", "", ],
 ["|test1","http://www.vg.no", "", "", "", "", "0", "0", "", ],
 ["|test2","/Main/Setup.asp", "", "", "", "", "0", "0", "", ],



Q: Hi I have a accessible dhtml menu item which has a word wrap on it. The word wrap it auto so instead of saying the following

Sickline Call
123456789

It says

Sickline Call 123
456789

I need to put either spaces in the title to level it out or a carage return

A: You can use any html code within accessible dhtml menu Items, for example:

  var menuItems = [

["Home","testlink.html", "", "", "", "", "", "", "", ],
["Sickline Call<br>123456789","", "default.files/icon1.gif", "default.files/icon1o.gif", "", "", "", "", "", ],