Translate This Blog
Remember To Always Back Up Your Template Before Attempting Any Of The Tweaks On This Site

Open Link List Gadget Links in a New Window (Blogger)

By default a Link List link will load the URL clicked with in the window you are in. With this tweak you can change that and have it open another window to load while keeping the same window you had before open. This is the same as adding target="_blank" into a URL.
  1. First you need to Locate The Widget/GadgetID#.
  2. Go to Edit HTML and Expand Widget Templates.
  3. Click Ctrl+F to activate the browser Find bar.
  4.  In the Find bar that pops up input the Gadget ID# (This will locate that gadget in your HTML page.)
You should see something like this code below
<b:widget id='LinkList3' locked='false' title='Blogger Help Forums Helps' type='LinkList'>
<b:includable id='main'>

<b:if cond='data:title'><h2><data:title/></h2></b:if>
 <div class='widget-content'>
   <ul>
     <b:loop values='data:links' var='link'>
       <li><a expr:href='data:link.target'><data:link.name/></a></li>
    6.   Replace the code in red with this code below.
<li><a expr:href='data:link.target' target="_blank"><data:link.name/></a></li>
    7. Save and your done

2 comments:

Post a Comment

Web Design Blogs