Dhtml Examples by Deluxe-Menu.com
Dhtml Examples

Menu Screenshots

Dhtml Examples Pull Down Menu Creation In Html Sample

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
Seamless Integration
  • Cross-frame support - menus work on frameset-based pages
  • Visible over flash, select boxes, iframes, java applets
  • Multiple menus on the same page
  • Amicable to other scripts and css styles
  • Any HTML code can be used inside menu items
Javascript Pulldown Menu Tutorial Dhtml Examples
Easy Setup
  • De Luxe Tuner. GUI interface to create your dhtml examples 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 examples 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!



2.0 Buttons by Web-Buttons.com v3.0.0

Javascript Menu. DHTML Menu.

  • Tune menu parameters manually or using Deluxe Tuner. Then add several rows of a code within html page - your menu is ready!
  • Use special JavaScript functions for: Dynamic changing of items (text, link, icons and even individual style!). Making a menu item active/inactive. Addition/removing of items. Changing of visibility of items. Getting the information on any menu, submenu and items. Other tricks.
  • Opportunity to control the menu from the keyboard.
  • Cross-frame mode allows you to build full-featured menus on the pages that use frame-based structure. But for all that it's not necessary to insert any additional code into all the pages - just specify some additional parameters of the menu.

Recent Questions

Q: I’d like to know how to populate the navigation bar menu from a database?


A: Please, see the example of .php file.The content of .php file depends on your database structure.

<?php

// The example for PHP/MySQL.
// MySQL database has the table "menuTable" that contains data for menu items.
// The table has the following fields:
// 1. "text" - item text
// 2. "link" - item link
// 3. "icon1" - item icon (normal state)
// 4. "icon2" - item icon (mouseover state)
function getMenuItems()
{
$jsItems = '';

// Select all records from table "menuTable"
$allItems = mysql_query('SELECT * FROM menuTable;');

// Extract items data from database and build Javascript code for menuItems
while ($itemData=mysql_fetch_array($allItems))
{
$jsItems .= '["'.$itemData['text'].'", "'.$itemData['link'].'", "'.$itemData['icon1'].'", "'.$itemData['icon2'].'"],';
}

// Return Javascript code
return $jsItems;
}


?>

<script>
  var menuParam1 = value1;
  var menuParam2 = value2;
  var menuParam2 = value2;
...

  var menuItems = [

// Write Javascript code for menu items
echo getMenuItems();

?>

];
</script>


Q: I've just updated my menu from 2.4 to 3.2. All is fine except two of my java script pop up menu (vertical) appear on the left instead of the right, all the others pop out to the right as before. I've tried saving it as a completely different file name, same problem, both within a browser and within your preview pane.

Any help would be much appreciated, I'm at a loss.

A: You can try to change the following parameter:

  var subMenuAlign="left";

You can also send us a direct link to your website, so we can check it.



Q: When I save the file in our folder all the icons stop showing.  I placed a image folder in our IE folder and still no icons are showing.

A: You should check all your paths.
Please, check that you have correct paths in the tmenuItems. Forexample:

 ["|Samples", "", "icon3_s.gif", "icon3_so.gif", "", "Samples Tip"],
   ["||Sample 1", "testlink.htm", "iconarrs.gif"],
   ["||Sample 2", "testlink.htm", "iconarrs.gif"],
   ["||Sample 3", "testlink.htm", "iconarrs.gif"],
   ["||Sample 4", "testlink.htm", "iconarrs.gif"],
You can also try to use the following parameter:

  var tpathPrefix_img = "img/";



Q: Is there a convenient template somewhere that allows me to have a standard windows tree control menu that stays open so that the user does not lose track of himself.


A: Thanks for your interest in our products.

You can expand any items when you load your page.

You should add "+" symbol before the item text. For example:

["+DHTML Menus","", "images/xpicon1.gif", , , "DHTML Menus", , "0", , , , ],
     ["|DHTML Menu","http://dhtml-menu.com", "images/icon1.gif", "images/icon1o.gif", "images/icon1o.gif", "Information", "_self", , , , , ],
    ["|+DHTML Tree Menu","", "images/icon1.gif", "images/icon1o.gif", "images/icon1o.gif", "Support", "_self", "2", , , , ],
       ["||2 styles: standard & XP","", , , , , , "3", , , , ],
       ["||Individual Item & Submenu Styles","", , , , , , "3", , , , ],