THE BLOG THAT WAS HERE HAS MOVED, YOU'LL BE REDIRECT IN 10 SECONDs, IF YOU'RE NOT REDIRECT CLICK HERE, PLEASE UPDATE YOUR BOOKMARKS.

O BLOGUE MUDOU-SE, VAI SER REDIRECCIONADO(A) EM 10 SEGUNDOS, SE NÃO FOR REDIRECCIONADO CLIQUE AQUI E ACTUALIZE OS SEUS FAVORITOS.

Artigos recentes

14 setembro 2006

Blogger beta links hack (2)

postado por: Ricardo Santos

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'>
<ul>
<div id='link'>
<b:loop values='data:links' var='link'>
<li><a expr:href='data:link.target' target='_blank'><data:link.name/></a>
</li>
</b:loop>
</div>
</ul>

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

Comments 0 comments

Categorias

Subscribe feeds rss Comentários recentes

Subscribe feeds rss Artigos recentes