PageSourceSearch

https://mst.hu/jscript/blink.js

js mst.hu collected 2026-09-29 13:48:19 UTC 1,252 bytes, 60 lines download raw bytes

1setTimeout('blinka();', 500);
2function blinka() 
3{
4try
5{
6//    if (document.getElementById("villog") != null)
7//    {
8        vis = villog.style.display;
9        if (vis == "none") vis = "";
10        else vis = "none";
11        villog.style.display = vis;
12        setTimeout('blinka();', 500);
13//    }
14}
15catch (er) {return;}
16
17} 
18
19
20//Egy paraméterként megadott elem  blinkelése
21function initColorArray() 
22{
23	for (var i = 0; i < initColorArray.arguments.length; i++) 
24	{
25		this[i] = initColorArray.arguments[i];
26	}
27	this.length = initColorArray.arguments.length;
28	
29}
30var colors = new  initColorArray("black","red");
31var pause_time = .5; 
32var link = 0; 
33var vlink = 4; 
34var blinkCount = 0; //hányszor villogott
35var maxBlinkCount = 12;
36var blinkElement = document.getElementById("note");
37
38function setblinkParam(bc, mbc, be)
39{
40	blinkCount = bc; //hányszor villogott
41	maxBlinkCount = mbc;
42	blinkElement = document.getElementById(be);
43	
44	blink();
45}
46
47function blink() 
48{
49	if (blinkCount > maxBlinkCount)
50	{
51		return false;
52	}
53	
54	link = (link+1)%colors.length;
55	vlink = (vlink+1)%colors.length;	
56	eval(blinkElement).style.color=colors[link];
57	blinkCount++;	
58	setTimeout("blink();",pause_time*1000);
59}
60

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.