How do I code this?

Discussion in 'HTML & Website Design' started by onlinedave, Aug 25, 2009.

  1. #1
    I would like to know how to program this - When a user click on a URL link (i.e. Yahoo.com) from my site, it get redirected to Yahoo.com but on the top would still show my site's header or banner.

    I have seen some sites with such but didn't bookmark it. Any suggestions would really appreciated.:)
     
    onlinedave, Aug 25, 2009 IP
  2. Sulan84

    Sulan84 Member

    Messages:
    121
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #2
    => Im not a proff... but i think, that you can do this only with iframes.

    Greetimgs

    EDIT: Nobody likes iframes!!!! Nobody is google, yahoo etc...
     
    Sulan84, Aug 25, 2009 IP
  3. FCM

    FCM Well-Known Member

    Messages:
    669
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    155
    #3
    iFrames would generally be a better idea. For the most part it should look something similar

    <!--- HEADER --->
    <!--- IMGS EXTC... --->

    <iframe src="http://www.theurl.com" frameborder="0" scrolling="auto" />
     
    FCM, Aug 25, 2009 IP
  4. onlinedave

    onlinedave Guest

    Messages:
    396
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    onlinedave, Aug 26, 2009 IP
  5. Nerv

    Nerv Active Member

    Messages:
    568
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    70
    #5
    Yes, this is done with iframe. Look into the code of this webiste:

    <iframe id="demoFrame" src="/demo/directory/" scrolling="auto" frameborder="0" width="100%" style="margin: 0; padding: 0;"></iframe>
    Code (markup):
    Header is on the top and all site is iframed.
     
    Nerv, Aug 26, 2009 IP
  6. T-z3P

    T-z3P Peon

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Check this , you have there more ways to set a frame on your website , more positions , examples :)
    http://www.w3schools.com/HTML/html_frames.asp
    Code (markup):
     
    T-z3P, Aug 26, 2009 IP