1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

HTML Help Needed

Discussion in 'BBS Hangout' started by DREAMer, May 27, 2000.

  1. DREAMer

    DREAMer Member

    Joined:
    Feb 15, 1999
    Messages:
    2,173
    Likes Received:
    2
    What's the HTML code used when you have a thumbnail of a image and you want it to automatically open in a new window when the viewer clicks on the thumb?



    [This message has been edited by DREAMer (edited May 28, 2000).]
     
  2. Jeff

    Jeff Clutch Crew

    Joined:
    Feb 14, 1999
    Messages:
    22,412
    Likes Received:
    362
    If you mean having the browser open a brand new window with the link and leaving the thumbnail window entact, you use a special HREF tag:

    a href="http://www.clutchcity.net/" TARGET="_blank"

    The TARGET specifies the place where you want the link opened. _blank means a new browser window.

    If you want to open a size-specific window that fits the exact size of an image (a pop-up window), you will have to go into javascript to do that.

    To view an example, click the link below:

    <a href="http://www.saveourrockets.com" TARGET="_blank">[​IMG]</a>

    ------------------
    "No one gets out ALIVE!"
    SaveOurRockets.com

    [This message has been edited by Jeff (edited May 27, 2000).]
     
  3. DREAMer

    DREAMer Member

    Joined:
    Feb 15, 1999
    Messages:
    2,173
    Likes Received:
    2
    I was talking about just opening the page that contains the full-sized image in a new browser window. Just like what you did with the SOR.COM image.

    The reason I want to do this is because, I'm switching all my web pages over to XOOM.COM and sometimes when you click on an image a second banner will open at the top of the page. So, if each image opens in it's own new window, viewers of my pages won't have to worry about that.

    Thanks for the help.
     

Share This Page

  • About ClutchFans

    Since 1996, ClutchFans has been loud and proud covering the Houston Rockets, helping set an industry standard for team fan sites. The forums have been a home for Houston sports fans as well as basketball fanatics around the globe.

  • Support ClutchFans!

    If you find that ClutchFans is a valuable resource for you, please consider becoming a Supporting Member. Supporting Members can upload photos and attachments directly to their posts, customize their user title and more. Gold Supporters see zero ads!


    Upgrade Now