Friday, February 18, 2011

How to make all links open in new windows

This request to make all hyperlinks pops up every now and then so might as well make a post for it. To make all links open in new window is amazingly simple. Just sign into
to open template editor

Use keyboard shortcut ctrl+F to find <head> and immediately after that, add a single line <base target='_blank' /> so that it become

<base target='_blank' />

Save the edited template and viola, all links in your blog will now open in new tabs or windows.

Note 1: Blogger is now XHTML so all tags must have matching closing tags or be self closing. The above tag is self closing because it has that forward slash / at the end of the tag.

Note 2: This will cause all links including links to your own website to open in new windows. If you don't want this, then don't use this method.

Update: A commentator asked for all links to opens in a new window/tab, but then when other links are clicked, rather than opening another separate new window/tab, it replaces the one that was previously opened. So they can stay on my page while new links all appear in the same new window, not multiple new tabs/windows. This can be easily done by using <base target="_new"> instead so that it becomes
<base target='_new' />
I have tested it at Useful tools for bloggers and it works fine.

Note 2: Just wondering if adding a note for frequent visitors to set browser to open in new tabs rather than new windows will reduce the number of visitors having an unmanageable numbers of new windows opened. Do leave your opinions in the comments below:

Note 3: Some bloggers may prefer some links not to open in new window/tab but to open in the same window, Nute gave this tip to add the attribute target="_self" for those links you want to open in the same window/tab.

I have tested his tip at Safety Tips and Tricks (see Blogger Resources in the second right sidebar). His tip work correctly if the first and third link ("original Blogger Tips and Tricks" and "Blogger Book" opens in new window without the need to add target="_blank" and the second (Blogger for Dummies) opens in the same window by adding target="_self"

Monday, February 07, 2011

Blogger limits update & workarounds

Blogger Help: What are the limits on my Blogger account? is overdue for updating as the number of blogs in a single Blogger/Google account is still stated as unlimited. In truth, has limited it to a maximum 100 blogs per account. However it is easy to go around this limit as you can create a new Blogger/Google account, create a new blog then invite your old account as team blogger and after acceptance of the invitation, make yourself (old account) as administrator.

Update 2: Thanks to Mary of Google Sites Hints and Tips who says that the limit of 100 team members per blog is actually a limit of 100 invitations and that by forwarding an invitation email, the forwardee can accept the invitation and become a team member as well and in this way, one can have more than 100 team members per blog.

Wednesday, February 02, 2011

How to Split Blogger Header into 2: Pre- & Post Template Designer

There are 2 methods depending on whether your Blogger template is pre-Template Designer or already using the new Template Designer templates.

1. Pre-Template Designer: How to split blog header into 2 (if you are on the main page, click Read more first)
2. Post-Template Designer: How to split blog header into 2 (if you are on the main page, click Read more first)

Find help, info, instructions, tips, tricks

Tip: Use search box below or this box, labels in the first right sidebar, archive, ctrl+F for this page or sitemap to find topics