Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
wiki.bernardino.org /
resources /
jquery /
Delete
Unzip
Name
Size
Permission
Date
Action
images
[ DIR ]
drwxr-xr-x
2012-03-22 16:23
jquery.appear.js
2.95
KB
-rw-r--r--
2011-05-05 01:26
jquery.async.js
1.79
KB
-rw-r--r--
2011-01-31 23:02
jquery.autoEllipsis.js
4.11
KB
-rw-r--r--
2011-06-14 23:42
jquery.byteLength.js
730
B
-rw-r--r--
2011-06-30 03:06
jquery.byteLimit.js
1.59
KB
-rw-r--r--
2011-07-11 19:53
jquery.checkboxShiftClick.js
902
B
-rw-r--r--
2011-01-31 20:33
jquery.client.js
7.37
KB
-rw-r--r--
2011-07-04 21:11
jquery.collapsibleTabs.js
4.31
KB
-rw-r--r--
2012-01-03 19:03
jquery.color.js
1.32
KB
-rw-r--r--
2011-01-31 20:33
jquery.colorUtil.js
5.6
KB
-rw-r--r--
2011-01-31 20:33
jquery.cookie.js
4.15
KB
-rw-r--r--
2010-12-09 00:14
jquery.delayedBind.js
2.33
KB
-rw-r--r--
2012-01-03 19:03
jquery.expandableField.js
3.57
KB
-rw-r--r--
2010-11-30 19:19
jquery.form.js
22.07
KB
-rw-r--r--
2011-01-31 20:33
jquery.getAttrs.js
666
B
-rw-r--r--
2011-07-14 00:46
jquery.highlightText.js
2.59
KB
-rw-r--r--
2011-09-09 00:26
jquery.hoverIntent.js
4.41
KB
-rw-r--r--
2011-01-10 06:33
jquery.js
232.58
KB
-rw-r--r--
2011-10-07 23:32
jquery.json.js
5.54
KB
-rw-r--r--
2011-04-21 21:33
jquery.localize.js
2.4
KB
-rw-r--r--
2011-11-24 17:30
jquery.makeCollapsible.css
318
B
-rw-r--r--
2011-06-12 02:17
jquery.makeCollapsible.js
11.87
KB
-rw-r--r--
2011-06-26 22:00
jquery.messageBox.css
327
B
-rw-r--r--
2011-02-08 01:22
jquery.messageBox.js
2.98
KB
-rw-r--r--
2011-05-10 23:54
jquery.mwPrototypes.js
3.17
KB
-rw-r--r--
2011-05-17 19:19
jquery.placeholder.js
2.59
KB
-rw-r--r--
2011-03-09 15:27
jquery.qunit.completenessTest.js
7.37
KB
-rw-r--r--
2011-07-10 21:10
jquery.qunit.css
4.38
KB
-rw-r--r--
2011-05-10 23:54
jquery.qunit.js
37.24
KB
-rw-r--r--
2011-05-10 23:54
jquery.suggestions.css
1.34
KB
-rw-r--r--
2011-01-25 20:53
jquery.suggestions.js
18.48
KB
-rw-r--r--
2011-06-14 23:42
jquery.tabIndex.js
1.33
KB
-rw-r--r--
2011-06-11 12:56
jquery.tablesorter.css
506
B
-rw-r--r--
2011-11-15 13:47
jquery.tablesorter.js
23.32
KB
-rw-r--r--
2011-11-14 21:58
jquery.textSelection.js
17.15
KB
-rw-r--r--
2011-11-15 13:55
Save
Rename
/** * Plugin that automatically truncates the plain text contents of an element and adds an ellipsis */ ( function( $ ) { // Cache ellipsed substrings for every string-width-position combination var cache = { }; // Use a separate cache when match highlighting is enabled var matchTextCache = { }; $.fn.autoEllipsis = function( options ) { options = $.extend( { 'position': 'center', 'tooltip': false, 'restoreText': false, 'hasSpan': false, 'matchText': null }, options ); $(this).each( function() { var $el = $(this); if ( options.restoreText ) { if ( !$el.data( 'autoEllipsis.originalText' ) ) { $el.data( 'autoEllipsis.originalText', $el.text() ); } else { $el.text( $el.data( 'autoEllipsis.originalText' ) ); } } // container element - used for measuring against var $container = $el; // trimmable text element - only the text within this element will be trimmed var $trimmableText = null; // protected text element - the width of this element is counted, but next is never trimmed from it var $protectedText = null; if ( options.hasSpan ) { $trimmableText = $el.children( options.selector ); } else { $trimmableText = $( '<span />' ) .css( 'whiteSpace', 'nowrap' ) .text( $el.text() ); $el .empty() .append( $trimmableText ); } var text = $container.text(); var trimmableText = $trimmableText.text(); var w = $container.width(); var pw = $protectedText ? $protectedText.width() : 0; // Try cache if ( options.matchText ) { if ( !( text in matchTextCache ) ) { matchTextCache[text] = {}; } if ( !( options.matchText in matchTextCache[text] ) ) { matchTextCache[text][options.matchText] = {}; } if ( !( w in matchTextCache[text][options.matchText] ) ) { matchTextCache[text][options.matchText][w] = {}; } if ( options.position in matchTextCache[text][options.matchText][w] ) { $container.html( matchTextCache[text][options.matchText][w][options.position] ); if ( options.tooltip ) { $container.attr( 'title', text ); } return; } } else { if ( !( text in cache ) ) { cache[text] = {}; } if ( !( w in cache[text] ) ) { cache[text][w] = {}; } if ( options.position in cache[text][w] ) { $container.html( cache[text][w][options.position] ); if ( options.tooltip ) { $container.attr( 'title', text ); } return; } } if ( $trimmableText.width() + pw > w ) { switch ( options.position ) { case 'right': // Use binary search-like technique for efficiency var l = 0, r = trimmableText.length; do { var m = Math.ceil( ( l + r ) / 2 ); $trimmableText.text( trimmableText.substr( 0, m ) + '...' ); if ( $trimmableText.width() + pw > w ) { // Text is too long r = m - 1; } else { l = m; } } while ( l < r ); $trimmableText.text( trimmableText.substr( 0, l ) + '...' ); break; case 'center': // TODO: Use binary search like for 'right' var i = [Math.round( trimmableText.length / 2 ), Math.round( trimmableText.length / 2 )]; var side = 1; // Begin with making the end shorter while ( $trimmableText.outerWidth() + pw > w && i[0] > 0 ) { $trimmableText.text( trimmableText.substr( 0, i[0] ) + '...' + trimmableText.substr( i[1] ) ); // Alternate between trimming the end and begining if ( side === 0 ) { // Make the begining shorter i[0]--; side = 1; } else { // Make the end shorter i[1]++; side = 0; } } break; case 'left': // TODO: Use binary search like for 'right' var r = 0; while ( $trimmableText.outerWidth() + pw > w && r < trimmableText.length ) { $trimmableText.text( '...' + trimmableText.substr( r ) ); r++; } break; } } if ( options.tooltip ) { $container.attr( 'title', text ); } if ( options.matchText ) { $container.highlightText( options.matchText ); matchTextCache[text][options.matchText][w][options.position] = $container.html(); } else { cache[text][w][options.position] = $container.html(); } } ); }; } )( jQuery );