how do you open a website within a frame

Discussion in 'HTML & Website Design' started by jrd1mra, Feb 7, 2006.

  1. #1
    Hello,
    I cant seem to find the code to open a new website with your own sites frame. Or to open a website with a top banner that has your company logo and a link back your site. Any one know?
     
    jrd1mra, Feb 7, 2006 IP
  2. Corey Bryant

    Corey Bryant Texan at Heart

    Messages:
    1,126
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You would need to target that frame with the URL to the site you are trying to frame. Some people put a JS code to break out of frames as well.

    If this does not help - it would be better to provide your source code.
     
    Corey Bryant, Feb 7, 2006 IP
  3. wasabi

    wasabi Guest

    Messages:
    58
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yeah just target the frame.
    for example the frame where you want your new document to open must be like this :
    <frame name="newpage" src="xxx">

    in your link, you would put this :
    <a href="link" target="newpage">link</a>
     
    wasabi, Feb 10, 2006 IP