©2000-2002 3Dize Inc. All rights reserved
CPHGuidesFrame Sets :  Frame Set Linking
Frame Set Linking
Linking Basics


Linking pages and objects in a Frame Set requires an understanding of the basics of linking as covered below. 

The Links Toolbar
Text Link Colors
Link to a Page on Your Site
Link to Images or Files
Link to Files on Other Site
Link to Downloads
Email Links
Link to an Object on Same Page

Link to an Object on Other Page
Testing Links

The
main difference with Frame Set Linking is how and where a linked page or object will open in the Frame Set.  A link in one frame can open a page in the same frame, a new window or another frame in the Frame Set.  For instance, here at CoolPageHelp, the links in the left frame Tree Menu open pages in the right frame (the frame where this page is seen). 
Targeting Windows


Use the Links Toolbar to choose the Target Window of a link.  The Target Window is the window where a page or object will appear when a link in a frame is clicked.

The Links Toolbar automatically adds choices based on the frame set you are making, eg the number of rows and columns of your frame set:
Target Windows of
a 2x2 Frameset
In the below example, to make the link in the Row2Col1 Frame open a page in the Row2Col2 Frame, select the text, locate the page using the Browse... Button on the Links Toolbar and then select row2col2 in the Window: dropdown list.
Multiple Page Links


It is possible, using
Javascript and Cool Page Webmaster, to make ONE link open 2 or more pages at the same time in different frames. 

Instructions:

1. Add some text with an
Invisible Object on top of the text, or use any image for the link. 

2. Right click the image or Invisible Object to open the Image Object Properties window.

3. Click the
Events Tab and configure the Event as such:

• Event Type = onClick
• Action = Script
• Script = paste the script into the text field (see
script details below)

4. Optional - Put this additional script in the Links Toolbar to make a hand cursor appear when the mouse is over the link: 
javascript:void(0)
Script Details

This script must be edited to be used on your Frame Set website.  You will need to edit the Target Window and the name of the web page.  These sections are marked in red:
javascript:parent.row1col1.location.href='page3.html';parent.row1col2.location.href='page4.html';return false;
If the script above was used, then clicking the link would make page3.html open in the Row1Col1 Frame and page4.html open in the Row1Col2 Frame at the same time.

Example:

CLICK HERE
Additional Pages

The script above can be edited to make the link open 3 pages, or even 4 pages at the same time, as long as your Frame Set has the necessary amount of rows and columns.  This is done by adding additional sections of this code after
javascript: and editing the Target Window and page name.

parent.
row2col1.location.href='page5.html';

CLICK HERE