• I was trying to figure out how to have a URL posted in a comment open in a new window. Right now the default is the current window and readers therefore are exited from my site. I was hoping to have the URL default to open in a new window. Does anyone know if this is possible and if so how to fix? Thank You!

Viewing 3 replies - 16 through 18 (of 18 total)
  • @haxxxton
    Sorry, I think I got it (after reading better what you said).
    First thanks very much for your help here, I appreciate that very much!

    The comment-author link now opens in a new tab as well.

    But still all the comment-section links open in two windows: the same and a new window.

    @Fokkio

    you need to have a look at the change i made to the code above..

    you need to change where you have delegate('a','click',function(){ to delegate('a','click',function(e){

    this should stop it opening in the current window

    @haxxxton: Super! You’re the best! ??
    Thanks for helping me out here!

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Comment URL In New Window’ is closed to new replies.