Recent Questions
Q: I can not figure out why my submenus are not opening next to the javascript menu horizontal? I have included a picture so you can see what I am talking about. When I am in the turner program they pop up just fine but on my website they don't.
A: See, the problem is that the script can't get css properties of the object if they are described in separate .css block (or file).In other words, you can't get the value of "POSITION: absolute" attribute of the object if the object doesn't have this property within inline style (style="POSITION:absolute;"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
You should add style="POSITION: absolute; TOP: 0px"
to the
<div id=div_name>
So, you'll have:
<DIV id=div_name style="POSITION: absolute; TOP: 0px">
Try that.
Q: We are experimenting with your library but can't seem to make it work. I am getting "d_ddm is undefined" in dmenu_popup.js menu script.
Could you tell me what we are doing wrong?
A: You should change
onClick="return dm_popup(1, 500, event);
to
onClick="return dm_popup(0, 500, event);
If you have only one menu on the page your menuInd = 0;
Q: I have one more question before I purchase alicense: is there a way to use images instead of text as the menu items?
A: Yes, you can create image-based menu.
If item text is empty, icon fields will be used as item images.
For example:
["", "index.html", "itemImageNormal.gif", "itemImageOver.gif", "Home Page"]
Q: We are implementing your licensed drop down menu in dhtml on our new site and it does not appear to work in Firefox.
A: Now you have:
var transparency="";
it is not correct.
You should set, for example:
var transparency="100";
Try also to set:
var itemPadding="0px 15px 0px 15px";