|
Changing two frames with one mouse click is a trick which can be pulled off easily with a little scripting...
- Create a page in NetObjects Fusion with MasterBorders set up as frames using our AutoFrames feature, then create your other pages (the pages which will contain the “changed” content) with the “ZeroMargins” MasterBorder.
- Make sure that your “changed” content pages are have the same dimensions as the frame you’re going to put the content into.
- (When changing a MasterBorder’s content, create a page which has the same dimensions as your MasterBorder - use the page’s overall height for the height of a left or right MasterBorder, or the page’s overall width for a top or bottom MasterBorder)
- Populate your pages with content
- Create a text or image object which will serve as the link which will change the content in two of your frames
- Select the text or image, then click on the “Link” button which appears in the “Properties” window
- Select the “Internal Link” tab
- Select the first page you wish to
- Type in the link as follows:
target= "frame1" onClick = "parent.frame2.locatio n = '../html/page2.html'" |
|
|
... as one line, where page1 is the page you want to appear in frame1 and page2 is the page you want to appear in frame2 .
- Remember, in NOF, the frames are “header”, “footer”, “left”, “right” and “body”. These correspond to the MasterBorder sides and the Layout area respectively.
|