Recent Questions
Q: I have function "confirmLogout()" that it returns true or false. If it is false, the function does not make nothing. If it's true, I need to direct for the page "goout.jsp". How to use this function in the mouseover drop menu?
function confirmLogout() {
if(confirm('It really desires to leave? ?')) {
return true;
} else {
return false;
}
}
A: Actually you can use your own Javascript code instead standard mouseover drop menu links. For example:
var menuItems = [
["text", "javascript:your_code_here"]
];
or
var menuitems = [
["<div onClick='your_code_here'>item text</div>", ""]
];
Q: I see one of the styles of tabs that Deluxe tabs can create is vertical ones, however, they appear just to be the floating type with images. I'd like a more traditional looking, non-floating tab to sit vertically. Is that possible with your software?
A: If you don't want that your Tabs Menu float you should set thefollowing parameter:
var bfloatable=0;
Q: In my script, I did not have [<script type="text/javascript"language="JavaScript1.2" src="dmenu.js"></script>].
I did have something like [<script type="text/javascript" src="dmenu.js"></script>].
What does that mean?
Also, my client is still seeing the "incorrect key" notice.
A: Regina, you can see "Incorrect Key" message if you use the wrong reg.
key or if you forgot to paste your reg. key into your data file.
I've checked your reg. key. It is correct.
So, you cannot see such message on your website.
Your client should clear browser cache.
> In my script, I did not have [<script type="text/javascript"> language="JavaScript1.2" src="dmenu.js"></script>].
>> I did have something like [<script type="text/javascript" src="dmenu.js"></script>].
Both these lines mean the same.
Please, paste <noscript> tag
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com </a></noscript>
into the <head> tag on the pages with your menu.
Q: Can I add the value of the parameter to the link where I want my application to go when I active a submenu in the menu script?
A: Actually you can add php code inside menu links.
If you define your parameter in .js file you should write yourlinks in the following way, for example:
<?
....
$key = 123456;
....
?>
["Home","www.domain.com/home.php?key=<? echo $key ?>", "", "", "", "", "", "", "", ],
If you define your key parameter in the php file you should move your
menuItems into your php page directly:
<?
....
$key = 123456;
....
?>
<script type="text/javascript">
var tmenuItems = [
['Deluxe Menu','http://deluxe-menu.com','icon.gif',,,,,],
['Deluxe Tree','http://deluxe-tree.com','icon.gif',,'New!',,,],
['Deluxe Tabs','http://deluxe-tabs.com','icon.gif',,'New!',,,],
["Home","www.domain.com/home.php?key=<? echo $key ?>", "", "", "", "", "", "", "", ],
];
dm_init();
</script>