Creating a Small Popup Window for a Photo

Discussion in 'HTML & Website Design' started by travoholic, May 6, 2008.

  1. #1
    Hello,

    Can someone point me towards a tutorial or give some advice on how to create a popup window with HTML? I want it to appear when the user clicks on a thumbnail image and I want it to contain a bigger photo. I only want the popup window to be the size of the photo and don't want the buttons at the top or anything, just a window.

    Thanks,
    Kirsty
     
    travoholic, May 6, 2008 IP
  2. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #2
    sawz, May 7, 2008 IP
  3. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #3
    Many people are annoyed by extra windows opening, and javascript may be disabled, so the failure should be graceful.

    If it will fit your needs, try this gallery with image swapping. Clicking the thumbnail opens the full size image on the page. If the javascript fails or is disabled, the image is opened in a new page, not new window. The back button is not broken.

    cheers,

    gary
     
    kk5st, May 7, 2008 IP
  4. travoholic

    travoholic Well-Known Member

    Messages:
    299
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Thanks sawz, thats what I was after. Gary, cheers I'll check that out too.
     
    travoholic, May 7, 2008 IP