Support  |  Contact  |  Blog
Print Page
Real Estate IDX and web site chat
Login to #Session.ServiceName# Account Manager  Login:   
Remember Me    Forgot Password?  
ListingWare provides IDX, VOW, Broker Reciprocity, Internet Data Exchange, Virtual Office Websites for Real Estate Agents and Brokers nationwide, as well as complete web site and API solutions.
Engage, Capture, and Manage More Leads!
Premium IDX and Web Site Solutions

Nationwide: 800.867.4707   Atlanta, GA: 404.348.4697
Sign Up Now
Home  |  Agents  |  Brokers  |  Compare  |  Tools  |  Tour  |  Examples  |  MLS Areas  |  Web Sites
Code Examples

(Lines broken for readability)

Creating A Page With Frames

<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.

Creating Links That Use The Frames

<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.

Spawning A New Page

<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.

ListingWare provides Internet Data Exchange (IDX), Broker Reciprocity, Internet Listings Display (ILD),
and Virtual Office Websites (VOW) for thousands of Real Estate Agents and Brokers nationwide,
as well as complete template-based, enhanced, and custom web site solutions, all with our exclusive API.
About Us  |  Partners  |  Privacy Policy  |  © 2001-2008 ListingWare, Inc.

Clicky Web Analytics