PageSourceSearch

https://charactercentral.net/Script/CharacterSite.js

js charactercentral.net collected 2026-10-02 23:32:30 UTC 2,534 bytes, 75 lines download raw bytes

1
2
3$(charStartup);
4
5function charStartup() {
6	$("#CharacterLocationTabParent").tabs();
7	$('.DynamicTabSet').tabs({
8	    select: function (event, ui) {
9	        $(ui.panel).find('[data-imagesrc]').each(function () {
10	            var imageSrc = $(this).attr('data-imagesrc');
11	            $(this).attr('src', imageSrc);
12	        });
13	    }
14	});
15
16	var $active = $(".DynamicTabSet > div:not(.ui-tabs-hide)");
17
18	$active.find('[data-imagesrc]').each(function () {
19	    var imageSrc = $(this).attr('data-imagesrc');
20	    $(this).attr('src', imageSrc);
21	});
22
23	var $tabs = $("#PictureTabParent").tabs({
24		load: function(event, ui) {
25
26			try {
27				// Select all links that contains lightbox in the attribute rel
28				$("#PictureTabParent a[rel*=lightbox]").lightBox();
29				if (typeof (charOnPictureLoad) != "undefined")
30					charOnPictureLoad();
31			}
32			catch (e) {
33			}
34
35			$('#navigation a', ui.panel).click(function() {
36			var selected = $tabs.tabs('option', 'selected');
37			$tabs.tabs('url', selected, this.href);
38			$tabs.tabs('load', selected);
39				/*$(ui.panel).load(this.href, function() {
40					alert('Load was performed.');
41				});*/
42				return false;
43			});
44		}
45	});
46
47	$('.mainmenu li').hover(
48		function (event) { $(this).addClass('ui-state-hover'); event.stopPropagation(); },
49		function (event) { $(this).removeClass('ui-state-hover'); }
50	).bind("mousedown.button", function (event) { $(this).addClass("ui-state-active"); event.stopPropagation(); })
51	.bind("mouseup.button", function (event) { $(this).removeClass("ui-state-active"); event.stopPropagation(); })
52	;
53
54	$('.ui-button').hover(
55		function (event) { $(this).addClass('ui-state-hover'); event.stopPropagation(); },
56		function (event) { $(this).removeClass('ui-state-hover'); }
57	).bind("mousedown.button", function (event) { $(this).addClass("ui-state-active"); event.stopPropagation(); })
58	.bind("mouseup.button", function (event) { $(this).removeClass("ui-state-active"); event.stopPropagation(); })
59	;
60}
61
62function EnterKeyToButton(buttonId) {
63	if (event.which || event.keyCode) { if ((event.which == 13) || (event.keyCode == 13)) { document.getElementById(buttonId).click(); return false; } } else { return true };
64}
65
66function updateUserCharacterInfo() {
67	if (g_UserId && g_UserId > 0)
68		$("#m_SetUserCharacterInfo").jqmShow();
69	else
70		alert("You must sign in or register to update the characters you have met");
71}
72
73function closeUserCharacterInfo() {
74	$("#m_SetUserCharacterInfo").jqmHide();
75}

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.