Dhtml Faq Code Sample by Deluxe-Menu.com
Dhtml Faq Code Sample

Menu Screenshots

Dhtml Faq Code Sample Simple Menu Example

Features

Cost Effective
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
Dynamic Menus In Html Dhtml Faq Code Sample
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
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 faq code sample menus easily and in no time
  • Sensible menu parameters for manual editing



2.0 Buttons by Web-Buttons.com v3.0.0

Javascript Menu. DHTML Menu.

  • Setup menu parameters manually or using De Luxe Tuner. Then add some rows of a code within html page code and your menu is ready!
  • Use special Java Script methods for: Dynamic changing of items (link, text, icons, arrows and even individual style!). Addition/removing of items or submenus. Disabling and enabling menu items. Getting the info on every submenu, menu, and items. Changing appearance of items. Other coding tricks.
  • Cross-frame mode lets you to construct full-featured dhtml menus on the pages with frames. But for all that frame set it's not necessary to insert any additional code into all the pages - just specify several extra menu parameters.
  • Ability to handle the menu from the keyboard via keystrokes.

Recent Questions

Q: How would I use the submenu feature to display itself only if a person is logged in. such as if a person logged in then the member area would expand, else it would always stay closed with only the login username section showing?


A: Unfortunately it is not possible. You can only add items depending onthe logged user.

You should use API functions:
see more info:
http://deluxe-menu.com/functions-info.html
For example, you can use:
function dtreet_ext_insertItem (menuInd, parentItemID, itemInd, itemParams)
function dtreet_ext_deleteItem (menuInd, itemID)
function dtreet_ext_showItem (itemID, visibility)
function dtreet_ext_expandItem (itemID, expand)


Q: I have another question regarding the popup window. I need to use an iframe within the popup window. Is there any way I can close the dhtml popup from the page loaded within the iframe?

A: You can close the popup using the following function:
document.getElementById('win').hide();

Unfortunately it won't work if you use iframe as window content.
You open another page in the popup (in Iframe) so you cannot accessdocument.getElementById('win').hide();
element which is situated on the first page.

When you use text or object_id as window content the content of the popup will be situatedon the same page so you can access document.getElementById('win') element and hide it.

There is a workaround.
Use text as content type and add the following code inside popup:

<a onclick="document.getElementById('win').hide();">...</a> <iframe></iframe>

Your link will work in that case.


Q: Could you please help me with another question?

I am using your regular dhtml menu inside an asp page.
I want to make a call to different javascripts with parameters from different menu items (Which should work fine.. )

I have now been trying to do this by using the alert() java metod....

This line works perfect:
 ["|Test A","javascript:alert('Test');", "", "", "", "", "0", "-1", "", ],

But if I try to write the same line within ASP brachets ( <% %> ) the menu does not show up:

<%
response.Write( " ['|Test A','javascript:alert('Test');', '', '', '', '', '0', '-1', '', ], " )
%>>

I have also found that if I remove the parameter inside the javascript like this:
<%
response.Write( " ['|Test A','javascript:alert();', '', '', '', '', '0', '-1', '', ], " )
%>>

the menu will show up and the script will work but since I can not insert any parameter it is pointless..

How can I achieve this?

I really hope you can help me with this one!

A: Try to write your code in the following way:

<%
response.Write( " ['|Test A','javascript:alert(\'Test\');', '', '', '', '', '0', '-1', '', ], " )
%>



Q: I wanted to ask a question about your software, we just purchased the multi license for Deluxe flash dropdown menu. We were trying in many ways to control the width between the words

We were trying to control the width between Europe, North America, Latin America, Asia, Oceania, Africa

We wanted to set the width as 16% to make them all equal with a 100% width flash dropdown menu but it did not work out for us. We tried to do it with creating an Individual style in the Item Style for all the top links. Can you please advise how are we supposed to achieve that?

A: Unfortunately it is not possible to set now:

  var menuWidth="100%";
  var itemStyles = [
["itemWidth=16%"],
];

To set the exact width for all flash dropdown menu items you should set width in 'px'.

  var menuWidth="798px";
  var itemStyles = [
["itemWidth=133px"],
];