+ Reply to Thread
Results 1 to 7 of 7

Thread: Embedding a webpage - what code works with CMS?

  1. #1
    Join Date
    Feb 2009
    Location
    Texas
    Posts
    8

    Question Embedding a webpage - what code works with CMS?

    Below is what I'd normally use in html to embed a website inside one of my webpages. When I try to enter the code, the CMS saves only a portion, deleting the rest. This results in inoperable results.

    <object data=http://www.mortgage101.com/mortgage-calculators width="600" height="400"> <embed src=http://www.mortgage101.com/mortgage-calculators width="600" height="400"> </embed> Error: Embedded data could not be displayed. </object>

    Is there some special way I need to code a website inside one of my webpages? Not really cutting edge, but necessary to allow users to use the calculators on this page without leaving (and forgetting) how they got there (my website).

    EXAMPLE:

    http://www.realestatesales.com/mortg...alculator.html

    The above site is an Advanced Access site (my partners) www.realestatesales.com, and it displays the calculators that are found at www.mortgage100.com within her website, leaving her menu intact on the left. This is exactly what I'm trying to do.

    Thanks!

    Slackin (dev159)
    Last edited by slackin; 03-15-2009 at 02:29 PM.

  2. #2
    Join Date
    Jun 2008
    Posts
    1,006

    Default Re: Embedding a webpage - what code works with CMS?

    Sounds like you need an iframe.

  3. #3
    Join Date
    Feb 2009
    Location
    Texas
    Posts
    8

    Default Re: Embedding a webpage - what code works with CMS?

    Thanks Andy. The problem I'm running into with an iframe is that because the template sites are narrow (only using about 70% of the available width of the screen), the embedded website is much too big for the little window it is forced to use without scaling it down.

    Is there any way to widen up the entire format of all my pages (across the board)?

    If not, is there a way to get an iframe to scale down the embedded page to fit it all into the small space available? I don't think anyone would hassle with an embedded site if they had to use the little horizonal slider at the bottom. I know I wouldn't.

    My page is here if you wanna take a look. Thanks again!

    http://dev159.rewtemplates.com/calculators.php

  4. #4
    Join Date
    Apr 2004
    Location
    Nanaimo
    Posts
    15,992

    Default Re: Embedding a webpage - what code works with CMS?

    There is no way to reduce the iframed site nor is there a way to change the width of the templates sorry.
    Starting LEC 7 soon but it won't be called LEC 7 - LEC 2012 coming soon!

  5. #5
    Aaron is offline Real Estate Webmasters Staff Aaron's Most Recent Blog Entry: Email etiquette Aaron is on a distinguished road
    Join Date
    Jun 2005
    Location
    Nanaimo
    Posts
    23,433

    Default Re: Embedding a webpage - what code works with CMS?

    Yeah - You'd be better off getting your own calculators and putting some in that match your site - rather than Iframing in someone else's website. It's a bit more work and could cost a little extra but the end result will look much more professional.
    Last edited by Aaron; 03-15-2009 at 10:12 PM.
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

  6. #6
    Join Date
    Feb 2009
    Location
    Texas
    Posts
    8

    Default Re: Embedding a webpage - what code works with CMS?

    Okay. I found some nice stuff to buy (website code), how do I know after I buy it...it will work?

    Will flash work? How about a java applet? Or does it have to be in straight html code in order to work properly?

    Thanks for all the help.

  7. #7
    Aaron is offline Real Estate Webmasters Staff Aaron's Most Recent Blog Entry: Email etiquette Aaron is on a distinguished road
    Join Date
    Jun 2005
    Location
    Nanaimo
    Posts
    23,433

    Default Re: Embedding a webpage - what code works with CMS?

    Should work - only advice I have is that you should put any complex Javascript code into a snippet.
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

+ Reply to Thread

Similar Threads

  1. Analytics Code
    By Bruce Swedal Denver in forum Hosted REW Blogs Support
    Replies: 2
    Last Post: 03-13-2009, 12:17 PM
  2. Issue adding a simple java script tracking code to pages
    By Celeste in forum REW CMS 2 Questions
    Replies: 2
    Last Post: 12-16-2008, 11:50 AM
  3. Zip code, area code validation database....
    By tracedef in forum Coding
    Replies: 2
    Last Post: 04-17-2007, 09:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts