Recent Questions
Q: Could I use the javascript menu system tab with ASP pages.
A: Deluxe Tabs is a javascript menu system. It works on aclient side and doesn't depend on server-side implementation.
So there is no limitation for server-side scripting.
Q: How do I get a second javascript popup window on the same page?
A: You should create another popup for the second link. Notice that you should use differentID's:
<a id="win2" href="javascript:;">
<img height="173" align="bottom" width="150" x-sas-useimageheight="" x-sas-useimagewidth="" src="gifs/vargas2.gif"/>
</a>
in Deluxe Tuner specify another parameters:
WinID = window2
(Use another winID than you have in your first data file if you don't want to
close 1-st popup window after you open the 2-nd one or use the same winID=win if you want to close 1-st popup.)
new url
onClick = win2
Save this popup (use another name, for example: popup2.html).
Q: Will all your dhtml menu samples work cross-frame?
A: See how should you create cross frame menu:
1. To initialize the cross frame menu call dm_initFrame()
function instead of standard dm_init() function within data.js file:
dm_initFrame(framesetID, mainFrameInd, subFrameInd, orientation);
framesetID - id attribute of the frameset;
mainFrameInd - index of the main frame (where the top-menu is placed), >=0;
subFrameInd - index of the subframe (where the submenus will be shown), >=0;
orientation - frame orientaion: 0 - top-to-bottom, 1 - left-to-right; 2 - bottom-to-top; 3 - right-to-left.
So you should create your menu in Deluxe Tuner, save it.
Create html file with your frame set.
Set ID for the first frameset:
<FRAMESET id=frmSet rows=220,*>
<FRAME id=frame1 src="Deluxe Menu Samples_files/cross-frame-horizontal-1.htm"> //menu frame
<FRAME id=frame2 name=frame2 src="Deluxe Menu Samples_files/testlink.htm"> //content frame
</FRAMESET>
Then you should open your data file in any text editor and change
dm_init(); for example to dm_initFrame("frmSet", 0, 1, 0);
You'll find more info here:
http://deluxe-menu.com/cross-frame-mode-sample.htmlQ: Looks like my submenu text is too long for the background.
How can I ensure the background is the same length as the longest word in my java edit menu submenu list.
A: Try to change the following parameter:
var smWidth="100%";
Set it:
var smWidth="";