Results 1 to 3 of 3

Thread: Creating a pop up window

  1. #1
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Creating a pop up window

    I'm a graphic designer and, until recently, I've never really had a use for HTML. My intentions are to create a (relatively) simple portfolio for myself, and I've got almost everything I need, but I'm having troubles with creating a pop up window.

    I want a user to click on the thumbnail of an image, and for the full-size version to load in a new window.

    I'm comfortable with the 'img src' and 'a href' tags, but I'm not certain on how to go about this, so any help on the matter is appreciated.

    Trapezium.

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    <a href="image.gif" target="_blank"><img src="image.gif"></a>

    The href for the link will open the image file in your browser, and the target="_blank" opens it in a new window.
    - Mike

  3. #3
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much for your help, mburt.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •