Blogger beta links hack (2)

By | 14 de Setembro de 2006

Like i wrote here, when you add your links to blooger beta blog through the Link list Widget we cant specify how the link should be opened( in a new window). I posted a solution but Viveki Sanghi had a better idea on how to it and still use the Links widget to do it.

Go to your HTML template and click on EXPAND WIDGETS and find the following piece of code and insert the bit of code in red.

<b:if cond=’data:title’><h2><data:title/></h2></b:if>
<div class=’widget-content’>
<div id=’link’>
<b:loop values=’data:links’ var=’link’>
<li><a expr:href=’’ target=’_blank’><></a>

Thats it, from now all your links will open in a new window.

Deixe uma resposta

O seu endereço de email não será publicado. Campos obrigatórios marcados com *