Recent Questions Collapsible Tree Jquery
Q: Can I create menus with cross-frame capability using your drop down menu generator?
With the menu beingin one frame and the submenus opening to the other 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="JavaScript Tree Menu Samples_files/cross-frame-horizontal-1.htm"> //menu frame
<FRAME id=frame2 name=frame2 src="JavaScript Tree 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.html
Q: I am trying the menu and facing one problem…
The text is too large and doesn't wrap around.. instead it makes the javascript left menu wider.
My javascript left menu needs to be 175 px only.. if there are too many characters in the link, I like it to wrap around to the next line…
Any options?
A: You should set the following parameter:
var noWrap=0;
You can also use standard <br> tags inside item's text:
["All Card <br>Envelopes","", "", "", "", "", "", "", "", "", "", ],
Q: Is this tag necessary?
<script type="text/javascript"> var dmWorkPath="scripts/";</script>
Because Dreamweaver will not automatically update the path when the directory changes, (won't change from scripts/ to ../scripts).
A: Yes, it is a necessary tag.
Your menu won't work correctly without this tag.
Q: Hello, I very much like your components and will most likely buy one or more (or all!) of them for multi domain use after evaluating, I am however finding a problem with the Deluxe Popup javascript menu windows when it contains Flash content and I am resizing the window in IE6 or IE7, is this a known issue? Do you need an example of what I am referring to? We intend to use a lot of Flash content inside the windows so this is a big issue I need to resolve or workaround somehow, it seems fine in other browsers however.
Also do you have examples of how a window can be manipulated after creation, for example altering its position, width/height, window title and content etc with JS? Such an example would probably save me time evaluating.
A: To overlap your flash file you should add opaque parametersto your flash, for example:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="566" height="250" title="Intro">
<param name="movie" value="/includes/banner_final3d.swf" />
<param name="wmode" value="opaque">
<param name="quality" value="high" />
<embed src="/includes/banner_final3d.swf" quality="high" wmode="opaque" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="566" height="250"></embed>
</object>
You can find more info about menu parameters on our website:
http://www.deluxepopupwindow.com/parameters.html