Recent Questions
Q: One more query, can we remove the following line from all the pages,
<noscript><a href=http://deluxe-menu.com/>Javascript Menu byDeluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "/";</script>
As the script <noscript> tags are used in body section of webpage and when we use this in Head tag, it is creating a problem for us. Will removing this line would cause some problem in working of menu, as now a days every browser in the world supports JavaScripts.
A: You cannot delete the following line:
<script type="text/javascript"> var dmWorkPath = "/";</script>
Your menu won't work without this line.
You can try to move the following code in the <body> tag. Try that.
...
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">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 -->
...
<body>
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, ["|-", "", "", "", "", "", "", ])Q: I have tried to use the Deluxe tuner menu in one of the websites I am trying to create however, the menu gives an error. I have created the menu multiple times but everytime it comes up with the same error. I have attached the entire web page file with this mail. Can you please go through this and help me fix the errors.
A: Now you have var itemBorderWidth=""; var menuBorderWidth="";
It is not correct. You should set values for these parameters.
var menuBorderWidth="0"; var itemBorderWidth="0";
Q: Images don't appear in my menu.
A: Now you have two lines:
<SCRIPT type=text/javascript> var dmWorkPath = "../misyssbm.files/";</SCRIPT>
and
<SCRIPT type=text/javascript> var dmWorkPath = "../side_menu.files/";</SCRIPT>
But you should have only one line.
Please, check it.