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

How can I make an banner open in a new page. Here is what I have.

Discussion in 'BlackHat Lounge' started by schleprock, Apr 26, 2017.

  1. schleprock

    schleprock Regular Member

    Joined:
    Apr 10, 2014
    Messages:
    469
    Likes Received:
    33
  2. SunnyLeon

    SunnyLeon Jr. VIP Jr. VIP

    Joined:
    Oct 13, 2013
    Messages:
    545
    Likes Received:
    184
    Gender:
    Male
    Location:
    Outside the Matrix
    Just add the image into a post and link it while adding the setting for open in new window and then go to text mode and copy the code. There must be a problem in your code, if it doesn`t open, maybe you should close the "_blank" tag :) But if you can`t manage to find the problem, just use the add to post tip, that should do the trick.
     
  3. schleprock

    schleprock Regular Member

    Joined:
    Apr 10, 2014
    Messages:
    469
    Likes Received:
    33
    I appreciate that but it is going to go into a widget, so it will be displayed above my menu on the right hand column of my blog. So I cannot use the editor to make it. Or can I? Is that what you meant. Make it in the post than copy html to widget. That way the editor can add the new page tag.

    Fantastic idea. I will try it now.
     
  4. SunnyLeon

    SunnyLeon Jr. VIP Jr. VIP

    Joined:
    Oct 13, 2013
    Messages:
    545
    Likes Received:
    184
    Gender:
    Male
    Location:
    Outside the Matrix
    Yes, that`s what I tried to say :) Hope it works :)
     
    • Thanks Thanks x 1
  5. schleprock

    schleprock Regular Member

    Joined:
    Apr 10, 2014
    Messages:
    469
    Likes Received:
    33
    It worked fine. Because it is going into a text widget I had to get rid of the alignment and delete the alt text for the relationship. because I didn't need the extra code but it would have worked either way.

    That was a great idea.