Saturday, September 09, 2006
Keep them on your blog with a pop-up window for links
A link is controlled by an a. In particular, it's an <a> and a </a>to close out the link.
Links are in this format (in this example to link to Mr. Brown's blog at URL
http://www.monticohort1.blogspot.com):
<a href="http://www.monticohort1.blogspot.com/" > Mr. Brown's Blog</a>
This produces the following link: Mr. Brown's Blog
If you click on it, your browser window (and your reader) will go to the link, leaving your site.
You can add one simple instruction to this to create a new browser window for the link: target="_blank". This way your blog is still on their desktop and they are viewing the link in a new window.
Add it after the URL (in quotes) that you want them to visit in this format:
<a href="http://www.monticohort1.blogspot.com/" target="_blank"> Brown's Blog in a new window</a>
This produces the following link: Mr. Brown's Blog in a new window. Click on this link and see how a new window pops up.
Links are in this format (in this example to link to Mr. Brown's blog at URL
http://www.monticohort1.blogspot.com):
<a href="http://www.monticohort1.blogspot.com/" > Mr. Brown's Blog</a>
This produces the following link: Mr. Brown's Blog
If you click on it, your browser window (and your reader) will go to the link, leaving your site.
You can add one simple instruction to this to create a new browser window for the link: target="_blank". This way your blog is still on their desktop and they are viewing the link in a new window.
Add it after the URL (in quotes) that you want them to visit in this format:
<a href="http://www.monticohort1.blogspot.com/" target="_blank"> Brown's Blog in a new window</a>
This produces the following link: Mr. Brown's Blog in a new window. Click on this link and see how a new window pops up.