Commenter Link opened in a new window

Monday, April 27, 2009

The owners of bloggers often feel inconvenient when their blogs have one or more links and when visitors click on the links, their blogs or blog’s page will disappear and a new page where the links directed will appear instead. To cope with this case is very easy. You only need to add the HTML code of target="_blank" in the link. Maybe all the time you wonder whether the commenter link can be open in a new window as well or not.

comment

Commenter link is average. So I can assure you, the commenter link can be opened in a new window. Of course, you should do the same way, that is you should add the HTML code of target="_blank" in the link. Where is commenter link placed in blogger template? The following are the steps where you can do to add the code of target="_blank" in commenter link:

  1. Log in to blogger with your ID
  2. Click Layout
  3. Click on Edit HTML
  4. Click on Download Full Template. Please backup your current template if something error while you edit your template
  5. Give a tick on a small box beside Expand Widget Templates

    expand

  6. Find the following code ( quick search tip: Press F3 or Ctrl + F on your keyboard, fill in the code below and hit ENTER)

    <a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>





  7. Add the code target=’_blank’ or target=”_blank” (both are the same), so as the code becomes: 



    <a expr:href='data:comment.authorUrl' rel='nofollow' target='_blank'><data:comment.author/></a>





  8. Click SAVE TEMPLATE


  9. Done



Now open one of your posts with a comment, and then click on commenter link, does your blog’s page disappear under a new page? Or does your blog’s page still appear and the new page opened in a new window?



Happy trying!


0 comments: