|
|
Will your navigation bar examples work cross-frame?
Return to Recent Questions
Q:
Will all your navigation bar examples 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://dm/cross-frame-mode-sample.html
Return to Recent Questions
Related:
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Oct 05, 2006 - Do you have a working sample of the loading bar with PHP/ MySQL?
- Oct 06, 2006 - How can I use right-to-left languages in javascript popupmenu?
- Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
- Nov 06, 2006 - Each item is a different width. Can I do this with your html navigation bar?...
- Nov 28, 2006 - Do I need any additional loaded software using the javascript select menu?
- Dec 04, 2006 - When running navigation bar code with IE or Firefox, the background is transparent.
- Dec 15, 2006 - I can't seem to have a "contact us" menu item to work in the html navigation menu.
- Jan 01, 2007 - Does your vertical slide menu compatible with Namo WebEditor 2007?
- Jan 19, 2007 - The floating buttons turn white or unload and reload when hovered over.
- Feb 03, 2007 - The dhtml menu example looks different in IE and Firefox. In IE it is much
|