PageSourceSearch

http://zeneforum.hu/z/zeneforum.hu/javaScripts/portal.defaults/toplista.js

js zeneforum.hu collected 2026-10-02 21:55:30 UTC 1,401 bytes, 56 lines download raw bytes

1		$(document).ready(function(){
2	
3			$('.toggle').click(function(){
4				
5				$(this).parents(".toplista:first").find('.toplistaElemek').toggle();
6				
7				if($(this).hasClass('plus'))
8					$(this).removeClass('plus').addClass('minus');
9
10				else if($(this).hasClass('minus'))
11					$(this).removeClass('minus').addClass('plus');
12				
13			});
14	
15			$('.osszezar').change(function(){
16	
17				if($(this).hasClass('hidden')){
18					$('.toplistaElemek').show();
19					$(this).removeClass('hidden');
20					$('.toggle').removeClass('plus').addClass('minus');
21				}else{
22					$('.toplistaElemek').hide();
23					$(this).addClass('hidden');
24					$('.toggle').removeClass('minus').addClass('plus');
25				}
26				
27			});
28			
29			for(i=2000;i<=2012;i++){
30				$('[name=ev]').append($('<option></option>').val(i).html(i));
31			}
32			
33			for(i=1;i<=52;i++){
34				$('[name=het]').append($('<option></option>').val(i).html(i));
35			}
36			
37			//var eloadok = {{eloadok}};
38			$.each(eloadok, function(val, text) {
39				$('[name=eloado]').append(
40					$('<option></option>').val(val).html(text)
41				);
42			});
43			
44			//var toplistak = {{toplistak}};
45			$.each(toplistak, function(val, text) {
46				$('[name=toplista]').append(
47					$('<option></option>').val(val).html(text)
48				);
49			});
50		    
51		    $('[name=ev]').val(ev);
52		    $('[name=het]').val(het);
53		    $('[name=eloado]').val(eloa);
54		    $('[name=toplista]').val(toplista);
55	
56		});

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.