Recent Questions
Q: I need to include backgroundimages for my navigation, so I put them in the same folder where the "data.js" file can be found. I am using the deluxe tuner in order to call these files and it looks great in the preview. As soon as I save the file and load it in the browser, the background images are missing.
Any solutions for this problem?
A: Now you have such paths for all your images data.files/image.gif
var itemStyles = [
["itemWidth=128px","itemBackImage=data.files/nav01_off.gif,data.files/nav01_off.gif"],
["itemWidth=128px","itemBackImage=data.files/nav02_off.gif,data.files/nav02_off.gif"],
["itemWidth=128px","itemBackImage=data.files/nav03_off.gif,data.files/nav03_off.gif"],
["itemWidth=128px","itemBackImage=data.files/nav04_off.gif,data.files/nav04_off.gif"],
["itemWidth=128px","itemBackImage=data.files/nav05_off.gif,data.files/nav05_off.gif"],
];
But you don't have images in "data.files/" folder. That's why youcan't see them.
Please, check all your paths.
You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];
So, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif
Please, try to use these parameters.
Q: We are showing the "incorrect copyright" on our menu for some reason and I need you to look at the code. It's been this way for about a month. My company is going to make me stop using your menu if I can't get the issue corrected so please help me determine why we are suddenly having this problem.
The notice shows up on IE 6, but not IE 7.
A: "Incorrect Copyright" means that the script can't find required copyright parameters.
To avoid this, please, change:
<script type="text/javascript" language="JavaScript1.2" src="dmenu.js"></script>
to:
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript" language="JavaScript1.2" src="dmenu.js"></script>
<!-- (c) 2006, Deluxe-Menu.com, http://deluxe-menu.com -->
Q: We are in the stage of design, we have a requirement to have the right click drop down menu fly out from right to left.
A: The following parameter controls the ways of showing submenus:
From left to right:
var subMenuAlign="left";
var subMenuVAlign="top";
From left to right + upwards:
var subMenuAlign="left";
var subMenuVAlign="bottom";
From right to left:
var subMenuAlign="right";
var subMenuVAlign="top";
From right to left + upwards:
var subMenuAlign="right";
var subMenuVAlign="bottom";
You can find this info here:
http://deluxe-menu.com/ways-showing-submenus-sample.html
Q: I have downloaded the trial version and so far I really like what I see except for one issue. Any page that includes the following doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
seems to break the absolute positioning of the menu and sends it to the far upper left corner of the page. Any help on fixing this would be greatly appreciated.
A: The problem is in <!DOCTYPE> attribute.
Please, set 'px' units for posX and posY parameters,for example:
var posX="100px";
var posY="100px";