Sie sind hier: Home > Product > Sothink DHTML Menu > Cross Frame with Two Menu
Corss Frame Menu --- Two Menus
This is the example of two menus cross a same frame window. In this sample, both the menus show their popup menu in this main frame.
Steps:
At first, create a frameset page, where there are frames. In this sample, the frameset page (index.htm) contains 3 frame pages: top.htm, left.htm and main.htm.
The frame window that loads the main.htm. The code is like:
<frameset rows="*" cols="159,*" frameborder="no" border="0" framespacing="0">
<frame src="/product/dhtmlmenu/store/crossframe/twomenus/left.htm" name="left" scrolling="No" noresize="noresize" id="left" title="leftFrame" />
<frameset rows="91,*" cols="*" framespacing="0" frameborder="no" border="0">
<frame src="/product/dhtmlmenu/store/crossframe/twomenus/top.htm" name="topframe" scrolling="No" noresize="noresize" id="topframe" title="topFrame" />
<frame src="/product/dhtmlmenu/store/crossframe/twomenus/main.htm" name="main" id="main" title="mainFrame" />
</frameset>
</frameset>
Then please click the corresponding menu items to view the detailed steps to make the menus.