(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    I'm trying to simply use API functions to add some properties to my css dropdown menus.

Return to Recent Questions


Q: I'm trying the DHTML Menu and I'm positively impressed.

But now I'm trying to simply use API functions to add some properties to my css dropdown menus.

I set the dynamic parameter to 1

and now I get only one error in the css dropdown menus telling me:

Error: dm has no properties
Source File:
http://devel.discgolf-geneve.ch:8081/docroot/dg/js/menu/data.files/dmenu_dyn.js
Line: 8



A: menuInd - index of a css dropdown menus on a page, >= 0. (you have written menuInd=1, but if you have one css dropdown menus on your page you should write 0).
You also have written itemStyleInd=1, but you have only one style in your css dropdown menus. So you should write "0" or "-1".
See how you should use this API function:

function dm_ext_addItem (menuInd, submenuInd, iParams)

<script type="text/javascript" language="JavaScript1.2">
dm_ext_addItem(0, 0, ["Hello", "testlink.htm", "", "", "Hello", "_blank", "-1"]);






Return to Recent Questions

   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. website builder | github pages | website editor | best web design software | HTML5 Video