|
|
Will all your dhtml menu samples work cross-frame?
Return to Recent Questions
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://dm/cross-frame-mode-sample.html
Return to Recent Questions
Related:
- Sep 18, 2006 - Does the js menu work to load pages into an iframe?
- Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
- Nov 10, 2006 - I can't make my vertical dynamic menu work in at Dreaweaver template - why?!
- Nov 14, 2006 - Can dhtml menu script work with tables ?
- Nov 22, 2006 - My scroll menu doesn't work with !DOCTYPE
- Nov 23, 2006 - It is possible to have context menu work with your tree menu dhtml?
- Dec 02, 2006 - How does the search engine stuff for rollover menu work?
- Dec 03, 2006 - expandable menu doesn�t work in Firefox or Netscape. It works fine in Internet Explorer.
|