|
(Lines broken for readability)
<frameset cols="15%,*">
<frame name="Menu" src="menu.cfm" marginwidth="10"
marginheight="10" scrolling="auto" frameborder="0">
<frame name="Main" src="main.cfm" marginwidth="10"
marginheight="10" scrolling="auto" frameborder="0">
</frameset>
Notice the names for the frames - Menu and Main. Menu is the left
hand frame in our example and Main is the right.
<a href="main.cfm" target="Main">Home</a>
<p>
<a href="aboutus.cfm" target="Main">About Us</a>
<p>
<a href="contactus.cfm" target="Main">Contact Us</a>
<p>
<a href="http://membername.servicename.com/search" target="Main">
Our Listings</a>
<p>
<a href="javascript:window.self.close()">Close Window,
Return</a>
This is the body of menu.cfm from the frame reference. Notice that
when creating links in this page, the target="" attribute uses the
name of the right hand frame (Main). This cause the links in the
left hand frame to appear in the right hand frame.
There is one link that appears with http:// in front of it. This is
called an absolute reference. That is what you will use to make
your ListingWare Search appear in your frame, since ListingWare
is on a different server than your web site. The other links are
using relative references, since they are referring to documents
that appear on the same server.
<a href="http://membername.servicename.com/search" target="_blank">
Our Listings</a>
You can add this reference to any screen element that can be a link -
a button, a text element, whatever. The target="" attribute in this
case causes a new browser window to open using the reserve word _blank.
This will open the window, but it would be up to the site viewer to
maximize it or position it how they would like it. There are other
ways to make the window appear without scrollbars or maximized on the
screen, but if you know what I'm talking about, you are probably
already familiar with these techniques.
|