Recent Questions
Q: I was wondering why when I add the code below the flash disappears in safari, but now works in Firefox, when the dropdown menu is rolled over? Can it work in both Safari and Firefox?
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;
}
A: The following code in this function
// Safari detect
if ((parseInt(navigator.productSub)>=20020000) && (navigator.vendor.indexOf('Apple Computer') != -1) && (navigator.product=='Gecko'))
return true;
hides flash in Safari.
Deluxe Menu can't drop down over an object correctly in Safari that iswhy the latter will be hidden for a time when the submenu is shown.
You can try to delete this code.
Q: In Internet Explorer 7 , the menu with javascript was completely invinsible.
A: Try to set exact width for the menu, for example:
var menuWidth="500px";
Q: How does an item on the simple html menu connect to pages?
A: You should create menu items in the Deluxe Tuner and specify link and target for each item, for example:
var menuItems = [
["Upcoming Trainings","http://domain.org/pub/upcoming-trainings", "", "", "", "_self", "", "", "", "", "", ],
["Conferences & Workshops","upcoming-workshops.html", "", "", "", "_blank", "", "", "", "", "", ],
["Continuing Ed","ceu.html", "", "", "", "main", "", "", "", "", "", ],
];Q: I want frameless popup window to appear when an image is clicked,
but at the moment it appears automatically on page load..
A: You can specify the ID of the element you want to click on.
Actions sections in Deluxe Tuner, onClick parameter.
1) You can show the popup window when you hover, click or mouseout on some elements on yourpage.
For example you have:
<p><img border="0" src="images/submenu-bg.gif" width="170" height="29" id="open_popup"></p>
So, in Deluxe Tuner you should enter 'open_popup' object ID in the onMouseOver,onClick or onMouseOut fields.
Actually you can assign id to any object on your page:
add id="open_popup" for <a>, <div>, <img> ... tags.
2) You can also use deluxePopupWindow.open() function to open the popups.
More info about deluxePopupWindow.open() function you can find:
http://deluxepopupwindow.com/window-installation-info.html
function deluxePopupWindow.open("winID", "content", "header", "param", "skin", "contentType")
Use another winID (first parameter) than you have in your data file if you don't want to close 1-st popup window
or use thesame winID=win if you want to close 1-st popup.
content - will be the path to the file you want to load in your popup (files/test.html)
skin - is the name of your skin
contentType - set this parameter to iframe.