|
|
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:
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 22, 2006 - Where do I add my "blahblah.htm" page links in js menu?
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
- Nov 10, 2006 - I can't make my vertical dynamic menu work in at Dreaweaver template - why?!
- Nov 14, 2006 - Can dhtml menu script work with tables ?
- Nov 20, 2006 - I've tried to add the pathPrefix_img but I'm still having trouble with images in jump menu.
- Nov 23, 2006 - It is possible to have context menu work with your tree menu dhtml?
|