Recent Questions
Q: Is there a way to have the sub menus open to the left instead of the right?
A: You should set the following parameter:
var smViewType=2;
Q: When I put any new link on my javascript scrolling menu info tree it goes as if I am placing as _blank when I have it leading to _self.
A: No you have:
var titemTarget="_blank";
And you haven't specified "_self" parameter to
["||Unilock Fireplace MODS","fireplace_unilock_mods.htm", "", "", "", "", "", "", "", ],
You should set
var titemTarget="_self";
or set "_self" parameter for each item individually:
["||Unilock Fireplace MODS","fireplace_unilock_mods.htm","", "", "", "_self", "", "", "", ],
Q: I'm trying to get the dhtml tab menu aligned to the right. Can you make a suggestion on how I can do this?
A: Try to install your tabs into the table with right alignment, for example:
<table width='100%'>
<tr>
<td align="right">
<script type="text/javascript" src="test_files/tdata.js"></script>
</td>
</tr>
</table >
Q: I try to use the javascript menu popups to show an image; then when the mouse is over the image I dynamically generate a panel of http links. It works perfectly, but the problem is that I would like to do the same with several images (for instance 2) and different links : I'm not able to do that, whether I change the value of menuItems var or not, I display the same link values on both images (it seems menuItems is a global var and can be set only once).
Have you heard about this problem and could you give me a solution (this is a bit urgent, I have sold this solution to my customers) ?
A: See how you should call dm_popup() functions:
<img src="../../../../fileadmin/img/flag_de.gif" width="50" onMouseOver="return dm_popup(0, 2000, event);" style="cursor: pointer;">
// 0 - is ID of the first menu
....
<img src="../../../../fileadmin/img/flag_fr.gif" width="50" onMouseOver="return dm_popup(1, 2000, event);" style="cursor: pointer;">
// 1 - is ID of the second menu
// 2 - is ID of the third menu
... and so on.