718e2fc49fbdfc662832df25f1b1f197ddac36cb vanessa Mon Aug 2 16:29:10 2010 -0700 moved file to be friends with the other js files diff --git src/hg/js/staticDoc.js src/hg/js/staticDoc.js new file mode 100644 index 0000000..dff633e --- /dev/null +++ src/hg/js/staticDoc.js @@ -0,0 +1,12 @@ + $(document).ready(function(){ + + $("a.change").each(function(){ + this.href = this.href.replace(/^http:\/\/genome\.ucsc\.edu/, "http://" +window.location.host); + }); + + $("a.insideLink").each(function(){ + this.href = this.href.replace(/=http:\/\/genome\.ucsc\.edu/, "=http://" +window.location.host); + }); + + }); +