0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
coppermine
/
1.5.12-0
/
standard
/
htdocs
/
js
/
[
Home
]
File: link_target.js
/************************* Coppermine Photo Gallery ************************ Copyright (c) 2003-2011 Coppermine Dev Team v1.0 originally written by Gregory Demar This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. ******************************************** Coppermine version: 1.5.12 $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.5.x/js/link_target.js $ $Revision: 8154 $ **********************************************/ $(document).ready(function() { //convert external links to open in new window (in comments); jQuery.each($("a[rel*='external']"), function(){ $(this).click(function(){ window.open(this.href); return false; }); $(this).keypress(function(){ window.open(this.href); return false; }); }); });