v4: Hyperlinks don't open in seperate window

Last post 11-10-2007, 3:34 PM by stimpy77. 2 replies.
Sort Posts: Previous Next
  •  11-10-2007, 12:40 AM 34960

    v4: Hyperlinks don't open in seperate window

    Need to add target="_blank" to generated <a> tags when people post URLs!!
  •  11-10-2007, 4:18 AM 34967 in reply to 34960

    Re: v4: Hyperlinks don't open in seperate window

    I had the same problem.  They gave me an updated Channel.aspx file.  You might try this:
     
    I'm guessing this is where the problem was:
     

    <head runat="server" id="aspnetHead">

    <base target="_blank" />

    <title>Channel</title>


    **Add <base target="_blank" /> above the title tags in Channel.aspx if you want to try a fix before it's ready in the download.
  •  11-10-2007, 3:34 PM 34969 in reply to 34967

    Re: v4: Hyperlinks don't open in seperate window

    Thanks ... I was going to make the mistake of intercepting the javascript function and manually injecting the target attribute .. Yours is the much cleaner and more appropriate way.
View as RSS news feed in XML