Need help! Please help!

Discussion in 'HTML & Website Design' started by mastermindjapan, Apr 5, 2010.

  1. #1
    hey guys i have some design problem/ coding problem need help, really want someone can help me out!!

    okay so what i want to do is that to load another website in my website, in other words
    say i have this site(fake) hello.com and i just want to load/make a banner "HELLO" on top of the page and (content) below it is another site e.g bye.com
    can i do that?

    so i think im looking for a code to automatically load another website in the contents only ( like the address bar is still hello.com, but the content is bye.com and i keep the banner hello!

    PLEASE PLEASE NEED HELP
     
    mastermindjapan, Apr 5, 2010 IP
  2. niroshana35

    niroshana35 Well-Known Member

    Messages:
    316
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    138
    #2
    You can use an I frame like this
    <html>
    <head>
    <title> Iframe </title>
    <style type="text/css">
    /*<![CDATA[*/

    #theiframe {
    position:absolute;
    top:1px;
    width:524px;
    height:200px;
    }
    /*//]]>*/
    </style>
    </head>
    <body>

    <iframe id="theiframe" src="http://www.bye.com /"></iframe>

    </body>
    </html>
     
    niroshana35, Apr 5, 2010 IP
  3. mayflower

    mayflower Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Here you can read more about the iframe tag: w3schools.com/TAGS/tag_iframe.asp
    make sure that you really want to use an iframe, it's an easy solution, but, it will be really bad for your SEO.

    A better, but, more complex solution will be to crawl the "bye.com" website and copy the html content you desire to "hello.com". More elegant and effective. Gives you more freedom to manipulate the data.
     
    mayflower, Apr 6, 2010 IP
  4. GMatthers

    GMatthers Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    use iframe tags and your problem will be solved
     
    GMatthers, Apr 6, 2010 IP