Blogging Tip : List links open in new window

The method is almost the same as to make label links open in new window. Earlier, you may have created a list of links as your video links, music links, blog roll etc. but having those links will open in the same window.

This below example demonstrates how:-

1- Click on Dashboard> Layout> Edit Html
2- Look for Expand Widget Templates and tick the box.
3- Find this code:-
<b:widget id='LinkList1' locked='false' title='Links' type='LinkList'>
<b:includable id='main'>

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

4- Add this line in blue color as shown above.

5- Save the template.


Post a Comment

1. Comments posted must be accompanied by names or pseudonyms.
2. Anonymous posting and those containing profanities will be rejected.
3. Comments are moderated due to spam problems. I have to approve the comment before it will show up.

:)) ;)) ;;) :D ;) :p :(( :) :( :X
=(( :-o :-/ :-* :| 8-} :)] :-t b-( :-L