Recent Questions
Q: How do I go about using the menu javascripts feature and javascript popup on the same HTML page? I'm getting a Java Error.
A: 1) Notice that you should call dmWorkPath parameter and dmenu.js file only once on yourhtml page.
2) When you have several menus on the same page they have different menuInd (0,1,2,3...)
For example you have:
<script type="text/javascript" src="data.js"></script> //standard menu menuInd=0
...
<script type="text/javascript" src="popup-data.js"></script> //popup menu menuInd=1
You should call your popup in the following way:
<img src="mypic.gif" onClick="return dm_popup(1, 1000, event);">
or
<script type="text/javascript" src="popup-data.js"> </script> //popup menu menuInd=0
...
<script type="text/javascript" src="data.js"></script> //standard menu menuInd=1
You should call your popup in the following way:
<img src="mypic.gif" onClick="return dm_popup(0, 1000, event);">
Q: I have one more question. I built the menu using Deluxe Tuner.
I cannot find where to change the mouse over color from blue to something more appropriate in my drop down menu templates. Can you tell me where to do this?
A: You should change the second color in the following parameter:
var itemBackColor=["#FCEEB0","#65BDDC"];
Q: I cannot see the shadow on the top items of the menu. Can you help me?
A: Now you have shadow the submenus only, if you want to have shadowfor the top items you should set the following parameters:
//--- Transitional Effects & Filters
var shadowLen=4;
var shadowColor="#B1B1B1";
var shadowTop=1;
You can see the shadow in Internet Explorer 5+ only.
See more info here:
http://deluxe-menu.com/filters-and-effects-sample.html
Q: Trying to install XP style floating dhtml slide down menu but have these problems:
- Menu does not stay within table cell
- Is not floating
A: > - DHTML slide down menu does not stay within table cell
You're using the floating feature now. Your dhtml slide down menu will float withabsolute position only. So, now you have:
var tabsolute=1;
var tleft="1px";
var ttop="1px";
That is why your dhtml slide down menu does not stay within table cell and hasabsolute position.
> - Is not floating
Try to call on your page
<script type="text/javascript" src="philmenu.files/dtree_add.js"></script>