Problem link in a widget text

Discussion in 'WordPress' started by kojokroavi, Aug 26, 2012.

  1. #1
    I made a weather website.
    I made in the Side of the page a text widget ,who is also functions as a link: Here is a screenshot :I marked a Red circle Around the widget:

    http://www.siz.co.il/my/3nzyimmj5mww.png

    The problem is that when i click on the link it opens on the website and Do not open a new window,What need i to add to the code So that Who clicks on this link will open a new window:Here is the code I put in the widget:

    <a href="http://www.sat24.com/tu?ir=true"><img src="http://www.stationonline.org/wp-content/uploads/2012/08/sat24com-150x150.png"></a>
    Code (markup):
    Here's a link to my site, you can click on the widget and see what happens:

    http://www.stationonline.org/
     
    kojokroavi, Aug 26, 2012 IP
  2. kiramanic

    kiramanic Peon

    Messages:
    205
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Change the link code to:

    <a href="http://www.sat24.com/tu?ir=true" target="_blank"><img src="http://www.stationonline.org/wp-content/uploads/2012/08/sat24com-150x150.png"></a>
    Code (markup):
    That should do it :)
     
    kiramanic, Aug 26, 2012 IP
  3. Devtard

    Devtard Notable Member

    Messages:
    850
    Likes Received:
    133
    Best Answers:
    4
    Trophy Points:
    220
    #3
    This should open the link in a new window:

    <a href="http://www.sat24.com/tu?ir=true" [B]target="_blank"[/B]><img src="http://www.stationonline.org/wp-content/uploads/2012/08/sat24com-150x150.png"></a>
    Code (markup):
     
    Devtard, Aug 26, 2012 IP
  4. kojokroavi

    kojokroavi Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4


    Well it works great
    Thanks again for the help

    avi.
     
    kojokroavi, Aug 27, 2012 IP
  5. Devtard

    Devtard Notable Member

    Messages:
    850
    Likes Received:
    133
    Best Answers:
    4
    Trophy Points:
    220
    #5
    Oops, I did not notice kiramanic's response, it was not there when I was sending the post. Sorry for "repeating" the same advice. :p
     
    Devtard, Aug 27, 2012 IP
  6. kojokroavi

    kojokroavi Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    kiramanic Also deserve thanks for The help.

    Question: Maybe you know a forum plugin Simple to Run Him to have a different language support?.
     
    kojokroavi, Aug 27, 2012 IP