Thursday, November 1, 2012

BlogTip: Link to a New Window

I spent quite a long time trying to figure out how to have a new window open when a link on my blog is clicked on.   Hopefully this will save you some time!

Here is the HTML code for the "be kind" button from Shabby Blogs in my right sidebar:

<center>
<a href="http://shabbyblogs.com/new"  border="0" target="_blank">
<img src="http://shabbyblogs.com/new/storage/old/ShabbyBlogsBeKindButton.jpg"/>
</a>
</center>

Adding target= "blank" inside of the carrot signs causes a new window to be opened when the button is clicked upon.

Happy Blogging!


No comments:

Post a Comment

Hey - so - what do you think?