set link target=_blank to open links in new window/tab
authorpaul <paul@plutz.net>
Sun, 26 Feb 2012 14:55:37 +0000 (14:55 +0000)
committerpaul <paul@plutz.net>
Sun, 26 Feb 2012 14:55:37 +0000 (14:55 +0000)
svn path=/trunk/; revision=5

bookmarks.sh

index af020b4..212ac8f 100644 (file)
@@ -77,7 +77,7 @@ cat $bdir/$(ls $bdir |tail -n1) |while read line; do
          <div class='bmDisplay' id='d_$bmId'>
            <a class='edButton' href='#' onclick='javascript:${hidecmd}${showcmd}show(\"e_$bmId\");hide(\"d_$bmId\");'>&rarr;</a>
            <img width=16 height=16 src='$bmFavFile'>
-           <a href='$bmLink'>$bmName</a>
+           <a target='_blank' href='$bmLink'>$bmName</a>
          </div><div class='bmEdit' id='e_$bmId'>
            <a class='edButton' href='#' onclick='javascript:show(\"d_$bmId\");hide(\"e_$bmId\");'>&larr;</a>
            <input type='submit' value='Update'><input type='submit' name='deleteBookmark' value='Remove'><br>