1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

When click on banner to open in new tab?

Discussion in 'Web Design' started by wizzardz01, Aug 24, 2010.

  1. wizzardz01

    wizzardz01 Power Member

    Joined:
    Jan 7, 2010
    Messages:
    572
    Likes Received:
    337
    Occupation:
    Digital Marketing Director
    Location:
    Bosnia and Herzegovina
    Hello , i am not sure is this right topic but ...

    Ok , here is my problem i make banner when some1 click on it goes on some other page ...But problem is when some1 click on it , that open on same page. I use this code
    Code:
    <a href="http://www. site . com"><img src="direct link to that image "></a>
    so can i add some code on this to when some1 click on that picture to open in new tab or window ?
    btw i using it in wordpress , put in widget like html text .

    Thanks.
     
  2. anhbloginc

    anhbloginc Regular Member

    Joined:
    Jul 15, 2009
    Messages:
    471
    Likes Received:
    76
    Gender:
    Male
    Location:
    New York
    Try this ! !

    Code:
    
    <a target="_blank" href="http://www. site . com"><img src="direct link to that image "></a>
    
    
     
    • Thanks Thanks x 1
  3. wizzardz01

    wizzardz01 Power Member

    Joined:
    Jan 7, 2010
    Messages:
    572
    Likes Received:
    337
    Occupation:
    Digital Marketing Director
    Location:
    Bosnia and Herzegovina
    Work perfect ! :)
    Thanks rep +

    btw . is there any way to check how much click i receive on that banner?
     
    Last edited: Aug 24, 2010