Template:Team:UC Davis/Head
From 2011.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
<script> | <script> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
jQuery.noConflict(); | jQuery.noConflict(); | ||
jQuery.extend(jQuery.easing, | jQuery.extend(jQuery.easing, | ||
Line 31: | Line 21: | ||
} | } | ||
) | ) | ||
+ | |||
+ | /* | ||
+ | * jQuery replaceText - v1.1 - 11/21/2009 | ||
+ | * http://benalman.com/projects/jquery-replacetext-plugin/ | ||
+ | * | ||
+ | * Copyright (c) 2009 "Cowboy" Ben Alman | ||
+ | * Dual licensed under the MIT and GPL licenses. | ||
+ | * http://benalman.com/about/license/ | ||
+ | */ | ||
+ | (function($){$.fn.replaceText=function(b,a,c){return this.each(function(){var f=this.firstChild,g,e,d=[];if(f){do{if(f.nodeType===3){g=f.nodeValue;e=g.replace(b,a);if(e!==g){if(!c&&/</.test(e)){$(f).before(e);d.push(f)}else{f.nodeValue=e}}}}while(f=f.nextSibling)}d.length&&$(d).remove()})}})(jQuery); | ||
+ | |||
+ | |||
var barheight=0; | var barheight=0; |
Revision as of 00:14, 16 September 2011