/*
GNU General Public License version 2 or later; see LICENSE.txt
*/
if("undefined"===typeof Joomla)var Joomla={};
Joomla.Highlighter=new Class({Implements:Options,options:{autoUnhighlight:!0,caseSensitive:!1,startElement:!1,endElement:!1,elements:[],className:"highlight",onlyWords:!0,tag:"span"},initialize:function(a){this.setOptions(a);this.getElements(this.options.startElement,this.options.endElement);this.words=[]},highlight:function(a){a.constructor===String&&(a=[a]);this.options.autoUnhighlight&&this.unhighlight(a);var b=this.options.onlyWords?"\u0008"+b+"\u0008":"("+a.join("\\b|\\b")+")",c=RegExp(b,this.options.caseSensitive?
"":"i");this.options.elements.each(function(a){this.recurse(a,c,this.options.className)},this);return this},unhighlight:function(a){a.constructor===String&&(a=[a]);a.each(function(a){a=this.options.caseSensitive?a:a.toUpperCase();this.words[a]&&(a=$$(this.words[a]),a.setProperty("class",""),a.each(function(a){var b=document.createTextNode(a.getText());a.getParent().replaceChild(b,a)}))},this);return this},recurse:function(a,b,c){if(3===a.nodeType){var d=a.data.match(b);if(d)return b=new Element(this.options.tag),
b.addClass(c),a=a.splitText(d.index),a.splitText(d[0].length),c=a.cloneNode(!0),b.appendChild(c),a.parentNode.replaceChild(b,a),b.setProperty("rel",b.get("text")),a=b.get("text"),this.options.caseSensitive||(a=b.get("text").toUpperCase()),this.words[a]||(this.words[a]=[]),this.words[a].push(b),1}else if(1===a.nodeType&&a.childNodes&&!/(script|style|textarea|iframe)/i.test(a.tagName)&&!(a.tagName===this.options.tag.toUpperCase()&&a.className===c))for(d=0;d<a.childNodes.length;d++)d+=this.recurse(a.childNodes[d],
b,c);return 0},getElements:function(a,b){var c=a.getNext();c.id!=b.id&&(this.options.elements.include(c),this.getElements(c,b))}});| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| calendar-setup-uncompressed.js | 2013-03-01 19:57 | 8.75 KB | 76129f60960:kunden | -xw-x----- | |
| calendar-setup.js | 2013-03-01 19:57 | 3.02 KB | 76129f60960:kunden | -xw-x----- | |
| calendar-uncompressed.js | 2013-03-01 19:57 | 48.07 KB | 76129f60960:kunden | -xw-x----- | |
| calendar.js | 2013-03-01 19:57 | 29.6 KB | 76129f60960:kunden | -xw-x----- | |
| caption-uncompressed.js | 2013-03-01 19:57 | 1.47 KB | 76129f60960:kunden | -xw-x----- | |
| caption.js | 2013-03-01 19:57 | 729 B | 76129f60960:kunden | -xw-x----- | |
| combobox-uncompressed.js | 2013-03-01 19:57 | 4.76 KB | 76129f60960:kunden | -xw-x----- | |
| combobox.js | 2013-03-01 19:57 | 1.84 KB | 76129f60960:kunden | -xw-x----- | |
| core-uncompressed.js | 2013-03-01 19:57 | 13.16 KB | 76129f60960:kunden | -xw-x----- | |
| core.js | 2013-03-01 19:57 | 4.67 KB | 76129f60960:kunden | -xw-x----- | |
| highlighter-uncompressed.js | 2013-03-01 19:57 | 2.87 KB | 76129f60960:kunden | -xw-x----- | |
| highlighter.js | 2013-03-01 19:57 | 1.77 KB | 76129f60960:kunden | -xw-x----- | |
| index.html | 2013-03-01 19:57 | 30 B | 76129f60960:kunden | -xw-x----- | |
| modal-uncompressed.js | 2013-03-01 19:57 | 12.83 KB | 76129f60960:kunden | -xw-x----- | |
| modal.js | 2013-03-01 19:57 | 9.5 KB | 76129f60960:kunden | -xw-x----- | |
| mooRainbow-uncompressed.js | 2013-03-01 19:57 | 18.84 KB | 76129f60960:kunden | -xw-x----- | |
| mooRainbow.js | 2013-03-01 19:57 | 13.35 KB | 76129f60960:kunden | -xw-x----- | |
| mootools-core-uncompressed.js | 2013-03-01 19:57 | 156.73 KB | 76129f60960:kunden | -xw-x----- | |
| mootools-core.js | 2013-03-01 19:57 | 94.1 KB | 76129f60960:kunden | -xw-x----- | |
| mootools-more-uncompressed.js | 2013-03-01 19:57 | 343.17 KB | 76129f60960:kunden | -xw-x----- | |
| mootools-more.js | 2013-03-01 19:57 | 232.75 KB | 76129f60960:kunden | -xw-x----- | |
| mootree-uncompressed.js | 2013-03-01 19:57 | 21.39 KB | 76129f60960:kunden | -xw-x----- | |
| mootree.js | 2013-03-01 19:57 | 5.95 KB | 76129f60960:kunden | -xw-x----- | |
| multiselect.js | 2013-03-01 19:57 | 1.08 KB | 76129f60960:kunden | -xw-x----- | |
| passwordstrength.js | 2013-03-01 19:57 | 2.36 KB | 76129f60960:kunden | -xw-x----- | |
| progressbar-uncompressed.js | 2013-03-01 19:57 | 2.3 KB | 76129f60960:kunden | -xw-x----- | |
| progressbar.js | 2013-03-01 19:57 | 1.44 KB | 76129f60960:kunden | -xw-x----- | |
| swf-uncompressed.js | 2013-03-01 19:57 | 11.09 KB | 76129f60960:kunden | -xw-x----- | |
| swf.js | 2013-03-01 19:57 | 7.06 KB | 76129f60960:kunden | -xw-x----- | |
| switcher-uncompressed.js | 2013-03-01 19:57 | 1.92 KB | 76129f60960:kunden | -xw-x----- | |
| switcher.js | 2013-03-01 19:57 | 1.29 KB | 76129f60960:kunden | -xw-x----- | |
| tabs.js | 2013-03-01 19:57 | 2.45 KB | 76129f60960:kunden | -xw-x----- | |
| uploader-uncompressed.js | 2013-03-01 19:57 | 6.13 KB | 76129f60960:kunden | -xw-x----- | |
| uploader.js | 2013-03-01 19:57 | 4.91 KB | 76129f60960:kunden | -xw-x----- | |
| validate-uncompressed.js | 2013-03-01 19:57 | 5.03 KB | 76129f60960:kunden | -xw-x----- | |
| validate.js | 2013-03-01 19:57 | 2.85 KB | 76129f60960:kunden | -xw-x----- | |