/* FILE ARCHIVED ON 9:14:34 Nov 24, 2010 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 11:05:03 Dec 15, 2013. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* Thank you Drew McLellan for starting us off with /web/20101124091434/http://24ways.org/2006/tasty-text-trimmer */ function TextTrimmer(value) { var self = this; this.minValue = 0; this.maxValue = 100; this.chunks = false; this.prevValue = 0; if (value >= this.maxValue) { this.curValue = this.maxValue; } else if (value ' + a.join(' ') + ' [...]

'); } } /* Add 'trimmed' class to while active */ if (this.curValue != this.maxValue) { jQuery('#dynamic-content').addClass("trimmed"); } else { jQuery('#dynamic-content').removeClass("trimmed"); } };