|
|
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:
- Oct 05, 2006 - Do you have a working sample of the loading bar with PHP/ MySQL?
- Nov 06, 2006 - Each item is a different width. Can I do this with your html navigation bar?...
- 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.
- March 14, 2007 - Does your license for css navigation menu need to be tied to a domain name to work?
- March 25, 2007 - My mouse over drop down menu disappears on the home page.
- May 06, 2007 - Sub-menus appear away for the menu/ dhtml navigation bar.
- June 02, 2007 - I have two same javascript menu examples. The second menu doesn't work correctly.
- Oct 04, 2007 - I don't understand how dm_ext_setPressedItem() function works in left navigation menu
- Jan 04, 2009 - Is it possible to call a JavaScript function from the dhtml navigation bar?
- Feb 27, 2009 - How can I center my navigation java script menu bar within my HTML page?
|