(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    How can I add a separator to the dhtml menu examples using the dynamic functions?

Return to Recent Questions


Q: I am conisdering purchasing your menu generator product, however I have a question that is very important to me.

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

If there's a workaround for it, or if there's a chance that you can give me a prototype function that exposes that functionality, that would be acceptable as well.

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, ["|-", "", "", "", "", "", "", ])





Return to Recent Questions

Related:
Best 18 Landing Page Bootstrap Theme Roundup 40+ Free Bootstrap Templates 2021  |  Top Mindblowing HTML Image Slideshow Ideas  |  Offline Mobile Website Builder Software  |  Free and Easy Website Builder  |  Bootstrap Table Template  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Generator | Website Generator AI | AI website design generator | AI web page design generator