Recent Questions
Q: Once again, I need your help....I have gone through my eniter site to fix what it takes to keep this menu from hiding the flash header when you role over the main menu items. It still hides. The problem still exists. Help!
A: You should add the following function in the beginning of your data file
function dm_ext_ruleObjectHide()
{
// Safari detect
if ((parseInt(navigator.productSub)>=20020000) && (navigator.vendor.indexOf('Apple Computer') != -1) && (navigator.product=='Gecko'))
return true;
else
return false;
}
You should add this function each time you change your menu in DeluxeTuner as it deletes this function from your data file.
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>
Q: Is it possible to change from a default target setting for all links to _self target for onsite links and _blank target for offsite links?
A: You can set target parameter for each item.
See menuItems parameter:
var menuItems =
[
["Home","testlink.html","icon.gif","iconover.gif","Home Tip",target,"1"],
["|Our Products","testlink.html","icon1.gif","icon2.gif","Our Products Tip","_blank",,"0"],
];
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.