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: How do I set just one sub menu link to open in a new window for the css dhtml menu
when the rest is set to _self ?
A: You can set item's target for each item individually:
["Home","testlink.htm", "default.files/icon1_s.gif", "default.files/icon1_so.gif",
"", "Home Page Tip", "_blank", "", "", "", ],
Q: Expandable javascript menu doesn't actually affect the plus/minus icon I have specified. Any ideas?
A: It is not correctly to add expand/collapse buttons into the iconfield, they won't work. You should add icons there.
To add expand/collapse buttons you should use the followingparameters:
var texpandBtn=["img/expandbtn.gif","img/expandbtn.gif","img/collapsebtn.gif"];
var texpandBtnW=14;
var texpandBtnH=14;
var texpandBtnAlign="left";
Q: I recently decided to begin using the modal popup window and needthe calling browser window to reload when the deluxe-popup closes.
A: You can add an event when you close your popup window in the following way:
document.getElementById('ID').onclose = function(){ call(parameter1, parameter2); };
where ID is the ID of your window.
Add this code after you call your data file or deluxePopupWindow.open function.