opening up link in new window from an image

Discussion in 'HTML & Website Design' started by scottdubose, Jun 9, 2009.

  1. #1
    Hi, I am trying to make a one time offer page where the person viewing the page can open up the sales page from the pictures of the products.
    They have to open up in a new window because they can not get back into the page by using the back button on the one time offer page.

    I am using Kompozer and I can make a link in a new window from text but not from an image. Is there a way to do this?

    Scott
     
    scottdubose, Jun 9, 2009 IP
  2. ohcysp

    ohcysp Active Member

    Messages:
    142
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
  3. scottdubose

    scottdubose Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the reply. Yes I know I could manually put in the code but with the insert image options it does not list that option.

    When I use just text it does it automaticly. I have tried to put the code in the advanced edit and insert code in the atribute and value boxes. I've tried creating a text link and changing it into an image.

    Every time you add the code in the incert image options box it kicks it out. using target for the atribute box and _blank fot the value box is this correct?
     
    scottdubose, Jun 10, 2009 IP
  4. hanx

    hanx Peon

    Messages:
    72
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Try this

    <a href="www.google.com" target="_blank"><img src="google.jpg" /></a>



    replace www.google.com with the page link
    replace google.jpg with your image location
     
    hanx, Jun 11, 2009 IP