Real Estate Forums

Coding HTML, ASP, PHP, JAVA MYSQL and more. All coding questions should be asked here.

Reply
 
Thread Tools Display Modes
  #1 iFrame  
Old 06-22-2007, 05:08 PM
Keith Lutz's Avatar
Keith Lutz Keith Lutz is offline
Real Estate Web Guru
 
Join Date: Mar 2007
Location: Wantagh to Waxhaw
Posts: 415
Keith Lutz is on a distinguished road
Default iFrame

Does anyone know how we can iFrame a website on a REW page. What would the code be?

Thanks in advance!
__________________
Keith "Baby-Face" Lutz
www.LovingCharlotte.com ::Charlotte Blog :: Charlotte forum
Reply With Quote
  #2 Re: iFrame  
Old 06-22-2007, 10:00 PM
RonnieG's Avatar
RonnieG RonnieG is offline
Uber Real Estate Webmaster
 
Join Date: Sep 2005
Location: Denver, Colorado
Posts: 1,084
RonnieG is on a distinguished road
Default Re: iFrame

Technically, it is pretty easy, but other than an IDX that is your own, but why would you? I have found that it is far better to send the user to a new window/session when going to an external website, for several reasons:
1) It makes it clear that the other website is not yours, and therefore its contents are not your responsibility.
2) The target website owner, if not an IDX that you subscribe to, may have TOS rules that prohibit the site being IFramed within another site.
3) The available display area of a REW site, and many other sites, is rarely large enough for the target website to be properly displayed, without bothersome horizontal scrolling. And, as far as I know, there is no way to re-size the target website to fit the available space.
__________________
Ron Goodman, GRI, REALTORŪ
Prudential Colorado Real Estate
Denver Colorado Real Estate: Highlands Ranch, Parker, Littleton, Castle Rock
Adwords for Real Estate: PPC Setup Services & Consulting
Reply With Quote
  #3 Re: iFrame  
Old 06-23-2007, 07:23 AM
Keith Lutz's Avatar
Keith Lutz Keith Lutz is offline
Real Estate Web Guru
 
Join Date: Mar 2007
Location: Wantagh to Waxhaw
Posts: 415
Keith Lutz is on a distinguished road
Default Re: iFrame

I am working in conjuntion with the humane society in my area. So when I do print ads, I drive them to my web site.
__________________
Keith "Baby-Face" Lutz
www.LovingCharlotte.com ::Charlotte Blog :: Charlotte forum
Reply With Quote
  #4 Re: iFrame  
Old 06-23-2007, 10:00 AM
RonnieG's Avatar
RonnieG RonnieG is offline
Uber Real Estate Webmaster
 
Join Date: Sep 2005
Location: Denver, Colorado
Posts: 1,084
RonnieG is on a distinguished road
Default Re: iFrame

Huh? Print ads driving leads to your web site? What does that have to do with IFrames? Still, if you link to a site not owned by you, and not part of your real estate services offerings, it should open in a separate window, not within an IFrame. That keeps your site open in its own window, even if the user closes the other site. Same if you have a clickable ad on the Humane Society web site that links to your site. That should open in a new window also.
__________________
Ron Goodman, GRI, REALTORŪ
Prudential Colorado Real Estate
Denver Colorado Real Estate: Highlands Ranch, Parker, Littleton, Castle Rock
Adwords for Real Estate: PPC Setup Services & Consulting
Reply With Quote
  #5 Re: iFrame  
Old 06-23-2007, 10:38 AM
RESynergy RESynergy is offline
Real Estate WebMaster
 
Join Date: Nov 2006
Posts: 109
RESynergy is on a distinguished road
Default Re: iFrame

I don't know if this would be a suitable alternative, but the following code opens up a new window, but smaller than the current one. It isn't a "pop up" because they have clicked the link to open it, but it does "pop up" over the current window so it isn't a replacement in the sense of opening a site would be. If you are using it as an ad it may do the trick.

Now I'm not sure about the "proper coding" of the page being opened. The one I use here doesn't have any html head info but still works fine. The parameters are all in the link and pretty self-explanatory-


<FORM><INPUT align="center" type="button" value="Add A Site" onClick="window.open('http://bungeebones.com/articles/leaving_website.php/<?echo $homepage_title;?>/','mywindow','width=380,height=380,toolbar=no,loca tion=no,directories=no,status=no,menubar=no,scroll bars=yes,copyhistory=no,resizable=yes')">
</FORM>
Reply With Quote
  #6 Re: iFrame  
Old 06-23-2007, 11:51 AM
RonnieG's Avatar
RonnieG RonnieG is offline
Uber Real Estate Webmaster
 
Join Date: Sep 2005
Location: Denver, Colorado
Posts: 1,084
RonnieG is on a distinguished road
Default Re: iFrame

I meant to add the basic IFrame code to my last post:

<p align="center">
<iframe src="http://targeturl" width="96%" height="500"></iframe>
</p>

This is for a basic centered IFrame, full display area width minus a few pixels for left and right margins, and 500 px high. Adjust frame height as required to fit the target page. If the IFramed page doesn't fit in the available space, you will get scroll bars within the display area, which are to be avoided if at all possible.
__________________
Ron Goodman, GRI, REALTORŪ
Prudential Colorado Real Estate
Denver Colorado Real Estate: Highlands Ranch, Parker, Littleton, Castle Rock
Adwords for Real Estate: PPC Setup Services & Consulting
Reply With Quote
  #7 Re: iFrame  
Old 06-25-2007, 09:18 AM
Keith Lutz's Avatar
Keith Lutz Keith Lutz is offline
Real Estate Web Guru
 
Join Date: Mar 2007
Location: Wantagh to Waxhaw
Posts: 415
Keith Lutz is on a distinguished road
Default Re: iFrame

Thanks everyone for your input. I have added a click for people to open in their own window.

http://www.lovingcharlotte.com/NeedaHome.php
__________________
Keith "Baby-Face" Lutz
www.LovingCharlotte.com ::Charlotte Blog :: Charlotte forum
Reply With Quote
  #8 Re: iFrame  
Old 06-25-2007, 09:33 AM
RESteve's Avatar
RESteve RESteve is offline
Moderator
 
Join Date: Sep 2005
Location: Houston, TX
Posts: 1,473
RESteve is on a distinguished road
Default Re: iFrame

Quote:
Originally Posted by RonnieG View Post
If the IFramed page doesn't fit in the available space, you will get scroll bars within the display area, which are to be avoided if at all possible.
Is there a way to have an iframe height adjustable based on the the height of the page framed?
__________________
Steve Castaneda, Realtor
Keller Williams Realty
The MyHomeHouston Team

Specializing in Houston Real Estate. Feel free to visit my Houston Real Estate Blog or read about Real Estate Technology for agents.
Reply With Quote
  #9 Re: iFrame  
Old 06-27-2007, 04:43 PM
langard langard is offline
Real Estate WebMaster
 
Join Date: Apr 2006
Posts: 208
langard is on a distinguished road
Default Re: iFrame

Yes. Avoid a call from the page itself, altogether. Before the page is loaded into a browser, make a cURL call to the URL you're pulling the data from, strip their html formatting completly and put the data into a page-friendly format of your own design and preference, including resizing images on the fly and maybe even caching it for the next person to view the page...
__________________
LanGard MicroDevelopers Oregon Real Estate Agent and Company Directory
Reply With Quote
  #10 Re: iFrame  
Old 06-27-2007, 04:55 PM
RESteve's Avatar
RESteve RESteve is offline
Moderator
 
Join Date: Sep 2005
Location: Houston, TX
Posts: 1,473
RESteve is on a distinguished road
Default Re: iFrame

Quote:
Originally Posted by langard View Post
Yes. Avoid a call from the page itself, altogether. Before the page is loaded into a browser, make a cURL call to the URL you're pulling the data from, strip their html formatting completly and put the data into a page-friendly format of your own design and preference, including resizing images on the fly and maybe even caching it for the next person to view the page...
Ah, so there is a way. I don't think the average agent would be able to do this, but it is good to know that we can hire programmers to do this time of work for us.

What are the SEO benefits (if any)?
__________________
Steve Castaneda, Realtor
Keller Williams Realty
The MyHomeHouston Team

Specializing in Houston Real Estate. Feel free to visit my Houston Real Estate Blog or read about Real Estate Technology for agents.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 08:33 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.