PageSourceSearch

https://10prs.com/js/jquery.hidearea.js

js 10prs.com collected 2026-09-28 06:39:24 UTC 599 bytes, 24 lines download raw bytes

1(function($) {
2	$.fn.hidearea = function(option) {
3		var settings = $.extend({
4			view: 'hidearea',
5			color: '#000000',
6			speed: null,
7			close: false
8		}, option);
9
10		$(this).each(function() {
11			$(this).before('<p><span class="hidearea">' + ($(this).attr('title') ? $(this).attr('title') : settings.view) + '</span></p>').css('color', settings.color).hide();
12		});
13
14		$('span.hidearea').click(function() {
15			if (settings.close) {
16				$(this).parent().next().toggle(settings.speed);
17			} else {
18				$(this).hide().parent().next().show(settings.speed);
19			}
20		});
21
22		return this;
23	};
24})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.