Need Help with HTML

Discussion in 'OT Technology' started by Black98GPGT, Apr 8, 2005.

  1. Black98GPGT

    Black98GPGT im back....

    Joined:
    Feb 11, 2004
    Messages:
    14,537
    Likes Received:
    0
    Location:
    Chester
    I have a site with frames,and when I click the link it opens in that frame.How do I make the link open up in a new window?
     
  2. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,919
    Likes Received:
    10
    Location:
    Los Angeles
    Frames are bad... and you would use target.
    <a href="blah.htm" target="main">

    Assuming "main" is the name of the main window you specified in your frameset.
     
  3. Black98GPGT

    Black98GPGT im back....

    Joined:
    Feb 11, 2004
    Messages:
    14,537
    Likes Received:
    0
    Location:
    Chester
    www.steveboddy.com click enter..can you tell me that target now?I dont know if its "main"
     
  4. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,919
    Likes Received:
    10
    Location:
    Los Angeles
    Oh, I misread, you want to open it up in a new window. target="_blank"; should work.

    <a href="link.htm" target="_blank">
     
  5. Black98GPGT

    Black98GPGT im back....

    Joined:
    Feb 11, 2004
    Messages:
    14,537
    Likes Received:
    0
    Location:
    Chester
    I put that code for every link that I want to open up in a new window?
     
  6. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,919
    Likes Received:
    10
    Location:
    Los Angeles
    Yes, it should work.

    Be careful while using it though. target="_blank"; piss a lot of people off, as do with frames. Pop up windows are annoying and generally new users lose their place on where they are at. Just a tip anyhow.
     
  7. Woodmaster

    Woodmaster New Member

    Joined:
    Dec 25, 2002
    Messages:
    15,448
    Likes Received:
    0
    Location:
    Brasil
    avoid frames like the plauge.. period.. :(
     

Share This Page