Thursday, January 24, 2013

How to make a link or banners open in new tab in blogger

Blogger banners opening in new tab

I was customizing my blogs layout last night , and adding some banners and links of some of my make money online opportunities.

And to make sure that i have the right link in my banners i try clicking it, though it shows that i have put the right link i also notice that it opens in the same window, and thus taking away readers that would click my banners away from my blog.



Banners
http://www.molly-greene.com/wp-content/uploads/2012/06/how-to-blog.jpg
As a blog owner i don't want that, so i research through the internet how to make my banners open in a new tab when someone clicks it.

After almost an hour i finally get it, though i have only tried it in Google chrome, and not yet in other browsers.

But anyway here is how i did it, below is the normal html code of my banner;


<a href=" http://1503344.talkfusion.com/"><img src="http://app.s2.talkfusion.com/office/banners/BANNER18.jpg" border="0" /></a>

and this type of html will open in the same window. What i did is added this code target="_blank" after the URL link.

This will give you this modified html code

<a href=" http://1503344.talkfusion.com/"target="_blank"><img src="http://app.s2.talkfusion.com/office/banners/BANNER18.jpg" border="0" /></a>

That's it this will make your banners open in a new tab.

My next research is how center the position of my banners, when i found out how i would let you know.

If you enjoyed this please “comment, like & share” this page…

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...