Dhtml Drop Down Menu Sample by Deluxe-Menu.com
Dhtml Drop Down Menu Sample

Menu Screenshots

Dhtml Drop Down Menu Sample Javascript Tutorial Expanding Menu

Features

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
Easy Setup
  • De Luxe Tuner. GUI interface to create your dhtml drop down menu sample menus easily and in no time
  • Sensible menu parameters for manual editing
Drag And Drop Javascript Layers Dhtml Drop Down Menu Sample
Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed dhtml drop down menu sample samples
  • Hundreds of visual effects
  • Custom CSS styles can be applied for all menu settings
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!
Cost Effective



2.0 Buttons by Web-Buttons.com v3.0.0

Javascript Menu. DHTML Menu.

  • Create contextual menus for your pages. For this purpose you should assign a special function for the object you want. The current coordinates of the mouse pointer or your own ones can be used for the contextual menu.
  • When the submenu is larger than the visible area of the page the submenu will be automatically decreased. To see 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 automatically scrolled! You can also specify height and width for each separate submenu.
  • Build menus completely based on Cascading Style Sheets. It is possible to appoint the individual CSS styles for separate elements of the menu.

Recent Questions

Q: Can I use data from a SQL server using ASP for drop down menu code?

A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
However, these scripts don't work inside of Javascript .js files,
so, you should move parameters of a menu from a .js file into an html-page, e.g.:

<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript">  var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2006, http://deluxe-menu.com -->

<script type="text/javascript" language="JavaScript1.2">
// and describe parameters of a menu
  var parameter1=value1;
  var parameter2=value2;
etc.

  var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
];


Unfortunately we don't have examples with ASP and SQL.
The example of the menu working with PHP/MYSQL you can find here:
http://deluxe-menu.com/rq-loading-bar-MySQL-support.html



Q: There is a grey line that surrounds my menu (its on a page with black background. How do I get rid of the grey line?


A: See, you set the shadow for the top items and submenus

  var shadowLen=2;
  var shadowColor="#C4C4C4";
  var shadowTop=1;

You should set

  var shadowLen=0;
  var shadowColor="#C4C4C4";
  var shadowTop=0;


Q: How can I add a separator to the expanding navigation bar using the dynamic functions?
It seems as though the only way to get a separator into the menu is by defining itbefore hand,
but the website I'm building will require me to reload themenus dinamically,
and I'm losing the ability to put separators on it.

A: You should add items using the following function:

function dm_ext_addItem (menuInd, submenuInd, iParams)
or
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)

Find more info:
http://deluxe-menu.com/functions-info.html

Set the following parameter:
  var dm_writeAll=1;

So, you should write:
dm_ext_addItem(0, 4,  ["|-", "", "", "", "", "", "", ])


Q: Is there a way to specify certian font styles escpecailly a hanging indent on the text of the javascript menu scroll?

A: You should use Individual styles, for example:

  var itemStyles = [
["fontStyle=bold 12px Arial,Helvetica", "fontDecoration=none,underline"], // style 0
["fontStyle=normal 12px Arial,Helvetica", "fontDecoration=underline,underline"], // style 1
["fontStyle=normal 14px Arial,Helvetica", "fontDecoration=none,none"], // style 2
];

And assign styles to your items:

  var menuItems = [
["1 Item","index.php","","","","_self","0",,,],
["2 Item","","","","","_self","1",,,],
 ["|Submenu Item","","","","","_self","2",,,],...