Recent Questions Javascript Dtree Fonction Add
Q: I ordered Deluxe Popup Window Multiple Site License and I cannot get it to work at all. I need to have multiple choice javascript popup window to website links on a web page. How do I get it to work from a link on a page? Are there examples of how to use the javascript popup window settings. All the help files show is for menus, tree and tabs.
A: 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 the 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) Or you can create only one data file and 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 the same 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 (default in my example)
contentType - set this parameter to iframe.
If you want to open several windows at once use different id's for each link.Q: I can not however find the option to move submenus closer together, I have too much ident for my taste.
How can I change that, by hand if that is the only way...
I mean this:
MENU1
+ SUBMENU1
I would like
MENU1
+ SUBMENU1
Is that possible?
A: If you don't want to have icons before item text you can write so:
//------- Icons -------
var ticonWidth = 0;
var ticonHeight = 0;
var ticonAlign = "left";
Your items will be closer to the "+" buttons.
Q: How can I set the padding for the dhtml horizontal menu text at the top? I want more padding on the left of the text but I don't want it centered.
A: You can set bigger left padding for your Submenu Style, for example:
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 25px"],
];
itemPadding=0px 5px 0px 25px
top right bottom leftQ: Is there a function for flash tab menu a I can call to make a tab appear??
A: You can use the following function to open appropriate tab:
Unfortunately Deluxe Tabs doesn't support API functions now.
You can use the following function to open specific tab:
dtabs_itemClick(menuInd,itemInd);
where
menuInd - index of a tab menu on a page, >= 0.
itemInd - index of a item, >=0.
For example:
<DIV onClick="dtabs_itemClick(0,2)" style="width: 200px; border: 2px solid #000;">Click to open the third tab</DIV>