Irodalom kvíz - KvízPart '; document.getElementById('legyen_td_'+type).innerHTML	=	'Mentve. Már ez az alapértelmezett ablak.'; set_cookie ('deftab', type, 2025, 12, 31); return false; } function set_tab () { var seltab	=	get_cookie( 'deftab' ); //alert('seltab: '+seltab); if (!seltab) { document.getElementById('index_tabs').style.visibility	=	'visible'; return false; } switch (seltab) { case 'kiemelt': $("#index_tabs").tabs('select', 0); break; case 'legujabb': $("#index_tabs").tabs('select', 1); break; case 'legnepszerubb': $("#index_tabs").tabs('select', 2); break; case 'legjobb': $("#index_tabs").tabs('select', 3); break; case 'konnyu': $("#index_tabs").tabs('select', 4); break; case 'kedvenc': $("#index_tabs").tabs('select', 5); break; case 'veletlen': $("#index_tabs").tabs('select', 6); break; default: $("#index_tabs").tabs('select', 1); break; } document.getElementById('index_tabs').style.visibility	=	'visible'; return false; } function idomeres(bid, ev, ho, nap, ora, perc) { //alert(''+ev+', '+ho+', '+nap+', '+ora+', '+perc+''); ev	=	parseInt(ev); ho	=	parseInt(ho); nap	=	parseInt(nap); ora	=	parseInt(ora); perc	=	parseInt(perc); ho=ho-1; var idotxt = document.getElementById('idodiv_'+bid); var most_time	=	new Date(); var vege_time	=	new Date(ev, ho, nap, ora, perc); var	vege	=	vege_time.getTime(); var most	=	most_time.getTime(); var hatravan	=	Math.round(vege - most); if (vege_time < most_time) { if (document.getElementById('start_gomb')) document.getElementById('start_gomb').style.display	=	'none'; document.getElementById('start_div').innerHTML	=	'Ez a bajnokság már véget ért.
\n'; if (idotxt) idotxt.innerHTML	=	valasz; //setTimeout('idomeres(\''+ev+'\', \''+ho+'\', \''+nap+'\', \''+ora+'\', \''+perc+'\')', 1000); ho=ho+1; setTimeout('idomeres('+bid+', '+ev+', '+ho+', '+nap+', '+ora+', '+perc+')', 1000); } $(document).ready(function() { if (document.getElementById('index_tabs')) { set_tab (); $.ajax({ url: '/AJAX/voks_kezdolap.php?type=kerdes1', success: function(data) { $('#voks_kezdolap').html(data); //alert('Load was performed.'); } }); }; if (document.getElementById('rablo_tabs')) { document.getElementById('rablo_tabs').style.visibility	=	'visible'; } if (document.getElementById('rablo_tabs')) { document.getElementById('rablo_tabs').style.visibility	=	'visible'; var jatekid=3; $.ajax({ url: '/AJAX/rablo_ranglista.php?jatekid='+jatekid, success: function(data) { $('#rablo_tabs_ranglista').html(data); //alert('Load was performed.'); } }); }; }); function get_next_voks() { $.ajax({ url: '/AJAX/voks_kezdolap.php?type=kerdes', success: function(data) { $('#voks_kezdolap').html(data); //if (Webaudit) WebAudit.measure('11412329699119'); //alert('Load was performed.'); } }); } function voksolas() { var urlap	=	document.voksform; var kerdes_id	=	urlap.voks_kerdes_id.value; var valasz_num	=	$('input:radio[name=valasz_num]:checked').val(); if (!valasz_num) valasz_num	=	0; //console.log ('voksolas:\n kerdes_id: %s; valasz_num: %s', kerdes_id, valasz_num); $.ajax({ url: '/AJAX/voks_kezdolap.php?type=valasz&kerdes_id=' + kerdes_id + '&valasz_num='+valasz_num, success: function(data) { $('#voks_kezdolap').html(data); //if (Webaudit) WebAudit.measure('11412329699119'); //alert('Load was performed.'); } }); return false; } function picclick_start(katid) { if (screen.width<900 || screen.height<700) { var width	=	700; var height	=	540; var size	=	"small"; } else { var width	=	980; var height	=	690; var size	=	"large"; } //alert("screen.width: "+screen.width+"\nscreen.height: "+screen.height+"\nsize: "+size) var findit	=	window.open("/picclick/hiba_sp.kviz?kat="+katid+"&size="+size,"FindIt_"+size,"width="+width+",height="+height+",scrollbars=yes,resizable=yes,toolbar=no,status=no,menubar=no"); findit.opener	=	self; findit.focus(); }
Mai ranglista >> Irodalom
Havi ranglista >> Irodalom