Using frames to display other site

Discussion in 'HTML & Website Design' started by fadetoblack22, Sep 16, 2008.

  1. #1
    I have a template of my site:

    bigfreebet.com/statstest.php

    I want to include a page of another site in the center.

    How can I do this?

    I have tried using a frame, but I don't think it allows me to put it in the center of my site.

    Can someone help please.

    thanks
     
    fadetoblack22, Sep 16, 2008 IP
  2. web-realtor

    web-realtor Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    why in the world would you want to use frames..? the SEO vaule goes out the door... have you considered using sub-domains? google sub-domains and check them out before you want to use frames... frames are like stepping back in to the 1990's... just my opinion..
     
    web-realtor, Sep 17, 2008 IP
  3. fadetoblack22

    fadetoblack22 Well-Known Member

    Messages:
    2,399
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    160
    #3
    I don't think you understood what I wanted it for.

    I wanted to put some info from another site into a section of mine. Frames was the only way I could think of to do it. In the end I manged to do it with an iFrame.

    I don't think there is another way to do this.
     
    fadetoblack22, Sep 17, 2008 IP
  4. SearchBliss

    SearchBliss Well-Known Member

    Messages:
    1,899
    Likes Received:
    70
    Best Answers:
    2
    Trophy Points:
    195
    Digital Goods:
    1
    #4
    The Iframe is best.
     
    SearchBliss, Sep 17, 2008 IP
  5. Website Tiger

    Website Tiger Guest

    Messages:
    351
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    iframe is the best thing you could use for that, it does allow you to put it in the center just make sure you allow scroll for both x and y so if the web page is big people can navagate eaisly
     
    Website Tiger, Sep 17, 2008 IP
  6. Ashilicious!

    Ashilicious! Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    There are many different methods to display content from other servers on your site, iframe being the most obvious. Php include in my opinion is the most reliable as it is executed server side and will display a normal web page to the viewer (as if it all came from your site).

    You can also use an embed method, however depending on your site reach some browsers don't display this method correctly.

    <object type="text/html" data="http://someurl.com/htmlpage"
    width="250" height="500">
    <param name="src" value="http://someurl.com/htmlpage" />
    Alternate content for browsers without object support.
    </object>
    Code (markup):
    For more information a google search will point you in the right direction.

    All the best,

    Ash
     
    Ashilicious!, Sep 17, 2008 IP
  7. fadetoblack22

    fadetoblack22 Well-Known Member

    Messages:
    2,399
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    160
    #7
    I'm not sure what the difference is between that method and iframe. It looks the same but with a different tag.

    Does anyone know?
     
    fadetoblack22, Sep 18, 2008 IP
  8. CraigH

    CraigH Peon

    Messages:
    139
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    An iFrame is probably your best bet, it's not ideal, especially for SEO.
     
    CraigH, Sep 18, 2008 IP
  9. fadetoblack22

    fadetoblack22 Well-Known Member

    Messages:
    2,399
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    160
    #9
    I have the rest of the page with content on, so its ok.
     
    fadetoblack22, Sep 18, 2008 IP