Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    target=_blank href= multiple pics

    My current code is:

    <a target=_blank href="imagename.jpg"> image link </a>

    I would like to have this link open a new window with 2
    images in it. Is this possible?
    Thanks.

  • #2
    Regular Coder
    Join Date
    Jul 2011
    Posts
    172
    Thanks
    64
    Thanked 2 Times in 2 Posts
    Code:
    <a href="imagename.jpg" target="_blank">image link</a>
    If you want to open two images in new window, you need to:

    1) Make a web page with images that you want to display, lets say two-images.html
    2) Link to this page with target="_blank"

    There is not way to do something like:

    Code:
    <a href="imagename1.jpg, image2.jpg" target="_blank"></a>


  •  

    Posting Permissions

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