Recent Questions
Q: We are a registered user of deluxe menu.
We are using your Deluxe-Menu.
We have one problem we have implemented menu in our html page.
It works very well in IE but there is a problem in firefox.
It display gap between two menu.
A: 1) You can move search engine friendly code inside the NOSCRIPT tag:
<!-- Code for Deluxe Menu Items. Generated by Deluxe Tuner -->
<noscript><a href=http://deluxe-menu.com/>Javascript Menu by Deluxe-Menu.com</a>
<div class="dmlinks" style="font:normal 11px Verdana;color:#000000;text-decoration:none">
<a href="default.html">Home</a>
<a href="products.html">Products</a>
...
<a href="channel_partners.html">Partners</a>
<a href="feedback.html">Feedback</a>
<a href="http://blogs.innowera.biz">Blogs</a>
</div>
<!-- End of Code for Deluxe Menu Items -->
</noscript>
You won't see links when your page loads in that case.
2) You should specify the following parameter:
var itemSpacing="0";
Q: For the attributes that can have top, left, right, bottom, i.e. border, padding, is there any way to specify just one of them in the javascript context menu? i.e. border-left: 2px. I tried 2px 0 0 0 but that doesn't seem to work.
A: You can set different border width , forexample:
var itemBorderWidth="1 0 2 5";
var itemBorderWidth="top right bottom left";
Q: I have installed all .js files in a subfolder under my html folder. \html\menudir\ all js files are here
My html file is in html folder.
Inserted in HEAD section in HTML file
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">simple javascript menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2006, http://deluxe-menu.com -->
Later in BODY, used your sample popup javascript data-popup-mode.js file
<script type="text/javascript"
src="menudir/data-popup-mode.js"></script>
<img src="../images/lov.gif" onClick="return dm_popup(1, 2000, event);" style="cursor: pointer;"> When I view the page with simple javascript menu and click on the image, I get an error.
What am I doing wrong?
A: If you have only one menu on the page you should write popup functionin the following way:
return dm_popup(0, 2000, event);
Q: I'm trying the deluxe menu and I'm positively impressed.
But now I'm trying to simply use javascript to add some properties to my menu.
I modified the dynamic to 1
and I get only one error in the javascript monitor telling me:
Error: dm has no properties
Source File:
http://devel.discgolf-geneve.ch:8081/docroot/dg/js/menu/data.files/dmenu_dyn.js
Line: 8
A: Please, see how you should write this function:
function dm_ext_addItem (menuInd, submenuInd, iParams)
<script type="text/javascript" language="JavaScript1.2">
dm_ext_addItem(0, 0, ["Hello", "testlink.htm", "", "", "Hello", "_blank", "-1"]);
menuInd - index of a menu on a page, >= 0. (you have written menuInd=1, but if you have one menu on your page you should write 0).
You also have written itemStyleInd=1, but you have only one style in your menu. So you should write "0" or "-1".