Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

I have 10 small images on a single page, how can I get them to come up in a smaller window?

I have 10 small thumbnail images on a single web page, how can I get them to come up in a small window individually so the viewer can see a larger image and then close the window? This will be similar to a popup window but I want the person to be able to open by clicking on the thumbnail then and then close the window with a mouse click.

2 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    <a href="URL" target="_blank">WORDS TO BE DISPLAYED</a>

    If you set the target attribute of a link to "_blank",

    the link will open in a new window.

  • 1 decade ago

    http://www.sitepoint.com/article/perfect-pop-up/

    It describes some interesting techniques, then on Page 2 gives you useful javascript code (which I have used).

    Typical uses (from the article):

    <a href="my-pop-up-window.htm"

    onclick="popUp( this.href,'console',400,200); return false;"

    target="_blank">This is my link</a>

Still have questions? Get your answers by asking now.