PageSourceSearch

https://www.countrymusicnews.de/modules/mod_jalogin/assets/script_j4.js

js countrymusicnews.de collected 2026-10-02 12:14:38 UTC 2,703 bytes, 92 lines download raw bytes

1/**
2 * ------------------------------------------------------------------------
3 * JA Login module
4 * ------------------------------------------------------------------------
5 * Copyright (C) 2004-2018 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
6 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
7 * Author: J.O.O.M Solutions Co., Ltd
8 * Websites: http://www.joomlart.com - http://www.joomlancers.com
9 * ------------------------------------------------------------------------
10 */
11var jaboxes = [];
12var jaboxoverlay = null;
13showBox = function (box,focusobj, caller, e) {
14	var $ = jQuery;
15	//Add overlay
16	if (!jaboxoverlay) {
17		jaboxoverlay = jQuery('<div/>', {id:"jabox-overlay"}).prependTo($('#'+box).parent());
18		jaboxoverlay.css ('opacity', 0.01);
19		jaboxoverlay.on ('click', function (e) {
20			for (let box of jaboxes) {
21				if (box.status=='show') {
22					box.status = 'hide';
23					box.css('visibility','hidden');
24					  box.animate({
25						opacity: 0
26					  }, 400, function() {
27						// Animation complete.
28					  });
29					if (box._caller) box._caller.removeClass ('show');
30					
31					if($('#system-message')) {
32						$('#system-message').removeClass('alert');
33						$('#system-message').removeClass('alert-error');
34						$('#system-message').html('');
35					}
36					if($('#system-message-container')) $('#system-message-container').css('display', 'block');
37				}
38			}
39			jaboxoverlay.css ('display', 'none');
40		});
41	} else {
42		jaboxoverlay.prependTo ($('#'+box).parent());
43	}
44
45	caller.blur();
46	//new Event(e).stop ();
47	box=$('#'+box);	
48	if (!box) return;
49	if ($(caller)) box._caller = $(caller);
50	if (!$.contains( box, jaboxes )) {
51		jaboxes.push (box);
52		//box.addEvent ('click', function (e) {/*new Event(e).stop ();*/});
53	}
54	
55	if (box.css('display') == 'none') {
56		box.css({
57			display: 'block',
58			opacity: 0
59		});
60	}
61	if (box.status == 'show') {
62		//hide
63		box.status = 'hide';
64		box.css('visibility','hidden');
65		if (box._caller) box._caller.removeClass ('show');
66		jaboxoverlay.css ('display', 'none');
67	} else {
68		for (let box1 of jaboxes) {
69			if (box1!=box && box1.status=='show') {
70				box1.status = 'hide';
71				box1.css('visibility','hidden');
72				  box1.animate({
73					opacity: 0
74				  }, 400, function() {
75					// Animation complete.
76				  });
77				if (box1._caller) box1._caller.removeClass ('show');
78			}
79		}
80		box.status = 'show';
81		box.css('visibility','visible');
82		box.animate({
83			opacity: 1
84		}, 400, function() {
85			if($('#'+focusobj))$('#'+focusobj).focus();
86		});
87		
88		if (box._caller) box._caller.addClass ('show');
89		jaboxoverlay.css ('display', 'block');
90		if($('#system-message-container')) $('#system-message-container').css('display', 'none');
91	}
92}

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.