FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » How to disable target=_blank
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to disable target=_blank [message #164166 is a reply to message #164019] Fri, 07 January 2011 11:44 Go to previous messageGo to previous message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma:
Senior Member
When this topic 1st came out I did not quite understand it, but I believe I do now. Seems that whenever I follow a link from the forum it's a pain to get back to it because the computer wants to resend the data, I much preferred the old open new window/tab functionality.

To recap, in order to fix this insert:

$('a[href^="http://"]')
  .attr({
    target: "_blank", 
    title: "Opens in a new window"
  });


Into the /js/lib.js file, right after :

$(function init() {


Which is located right around line 437 which means add the code on line 438.

I believe if possible this should be a selectable option for future releases if not default!




"I'm a Witcher, I solve human problems; not always using a sword!"
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Changes won't take affect.
Next Topic: Moderated forum?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 23:08:37 GMT 2024

Total time taken to generate the page: 0.04410 seconds