„; für (var i=num+1; i
„; document.getElementById(id).innerHTML = html; }; if ( CONFIG.progress[id].num && num b) {return true} else {return false}} ); //idlava.forEach( function(element) {console.log('element: ' + element)} ); var nabor = event.answer.nabor; console.log('lic: nabor: ' + nabor); var num = 0; var num_to = 0; var id1 = ''; // //console.log('id: idlava.forEach:'); idlava.forEach( function(id) { num++; //console.log('id: ' + id); console.log('lic: num: ' + num); //if ( ! id1 && ob[‚zagolovok‘] ) id1 = id; //if ( Nachbar[id][‚zagolovok‘] ) { if ( ! id1 ) id1 = id; //console.log('lic: id: ' + id + ', id1: ' + id1); war ob = Nachbar[id]; var id_dob = id.match(/_nav_nabor$/) ? event.answer.idnav : id; //console.log('lic: id: ob_dobavit: ' + id_dob); ob_dobavit( 'mesto_vstavki_id', 'nachalo_tela', 'mesto_vstavki_kak', 'afterend', 'id', id_dob, 'avtor', ob.avtor, 'zagolovok', ob.zagolovok, 'anons', ob.anons, 'tekst ', ob.tekst, 'adres_zagolovka', ob.adres_zagolovka, 'znak', ob.znak, 'tip_teksta', 'anons', 'obraz', ob.obraz, 'div_ob', ob.div_ob, 'data', ob.data, 'bez_ob', ob.bez_ob ); //console.log('lic: ob.iframe: ' + ob[‚iframe‘]); //if ( ob[‚iframe‘] ) { // var a = ob.iframe.split(','); // for (var index in a) { // var b = a[index].Teilt(' '); // var rk = b[0]; // Var-Code = b[1]; // //console.log('lic: ob.iframe: ' + rk + ' => ' + code); // iframe_vstavit('rk', rk, 'code', code); // }; //}; ust_vys_rutube(); //if ( ob[‚forum_msg‘] ) ust_forum_msg('id', id_dob, 'forum_msg', ob.forum_msg); wenn ( ob[‚forum_msg‘] ) CONFIG.forum_msg[id_dob] = ob.forum_msg; //if ( ob[‚citaty‘] ) ust_citaty('id', id_dob, 'cityty', ob.citaty); wenn (ob[‚citaty‘] ) CONFIG.city[id_dob] = ob.city; //setTimeout( // function() { // num_to++; //var idproezd = 'podval_' + id1; //var idproezd = 'anons_' + id1; ////var idproezd = 'zagolovok' + id1; / ///console.log('num: ' + num_to + ', proezd ' + idproezd); //console.log('num: ' + num + ', proezd ' + idproezd); //proezd(idproezd); // }, // num*200 // //num*500 //); //ob_dobavit( // 'mesto_vstavki_id', event.answer.idnav, 'mesto_vstavki_kak', 'beforebegin', // 'id', id, 'zagolovok', ob.zagolovok, 'anons', ob.anons, 'tekst ', ob.text //); //proezd(event.answer.idnav); //setTimeout( // // : // //function() { proezd(event.answer.idnav); }, // function() { proezd(id); }, // num*200 //); //}; // if (set[id][‚zagolovok‘] ) { //console.log('id: id.match:'); if ( id.match(/_nav_nabor$/) ) { //var a = document.getElementById(event.answer.idnav); //a.href = a.dataset.href; console.log('lic: id: _nav_nabor : ' + id); kop_atr( event.answer.idnav, 'HREF-SCRIPT', 'HREF' ); } else { console.log('lic: id: _nav_nabor : ' + id); }; } // Funktion(id) ); // idlava.forEach //console.log('id: idlava.forEach:'); ust_img_load(); ust_img_razmer(); var idproezd = 'anons_' + id1; //if ( ! document.getElementById(idproezd) || document.getElementById(idproezd).style.display == 'none' ) idproezd = 'tekst_' + id1; // //if ( ! document.getElementById(idproezd) || document.getElementById(idproezd).style.display == 'none' ) idproezd = 'zagolovok_' + id1; // ü if ( ! document.getElementById(idproezd) || document.getElementById(idproezd).style.display == 'none' ) { console.log('lic: id: , '); idproezd = 'podval_' + id1; if ( ! document.getElementById(idproezd) || document.getElementById(idproezd).style.display == 'none' ) { console.log('lic: id: , '); idproezd = 'tekst_' + id1; if ( ! document.getElementById(idproezd) || document.getElementById(idproezd).style.display == 'none' ) { console.log('lic: id: , '); idproezd = 'zagolovok_' + id1; }; } }; //var idproezd = 'zagolovok' + id1; console.log('lic: id1: ' + id1 + ', proezd idproezd: ' + idproezd); //console.log('num: ' + num + ', proezd ' + idproezd); proezd(idproezd); /* setTimeout( function() { //console.log('proezd ' + id1); //proezd(id1); //var idproezd = 'anons_' + id1; var idproezd = 'podval_' + id1; console. log('proezd ' + idproezd); proezd(idproezd); }, 5000 ); */ //num++; //setTimeout( // // : // function() { // document.getElementById('blok_telo').scroll({ // top: document.getElementById(event.answer.idnav).offsetTop – 200, // left: 0, // Verhalten: 'smooth' // }); // }, // num*200 //); brechen; //case 'timeout': //break; Standard: console.log(' ! ' + event.answer.code); //alert(' ! ' + event.answer.code); brechen; }; } // function lava_interval_client() //// nachalo konec // datastart datafinish // : tip, nachalo, konec // tip – : main, forum_topics, forum_messages ( forum?) function lava_interval_request() { //set_request console.log ('lir: 1000'); //alert('kvr: stop'); //zurückkehren; var arg = Typ der Argumente[0] == 'string' ? arr2hash(arguments) : Argumente[0]; //for ( var key in arg ) console.log('lir: 1100: ' + key + ': ' + arg[key]); //console.log('lir: 1200: arg idnav: ' + arg[‚idnav‘]); //if (arg[’nav‘] && arg[‚tip‘] && arg[’nachalo‘] && arg[‚konec‘] && arg[‚event_handler‘] ) { if ( arg[‚idnav‘] ) { // var idnav = arg.idnav; console.log('lir: 1100: idnav 1000: ' + idnav); if ( document.getElementById(arg.idnav) ) { console.log('lir: 1200: arg.idnav = ' + arg.idnav); var nav = document.getElementById(arg.idnav); var ds = nav.dataset; //if (ds[‚vremya‘] || 1 ) { if ( ds[‚vremya‘] ) { console.log('lir: 1300'); status_ust(' !'); setTimeout(status_ubr, 2000); } else { console.log('lir: 1400'); //if ( ds[‚tip‘] && ds[’nachalo‘] && ds[‚konec‘] && ds[‚event_handler‘] ) { //if ( ds.hasOwnProperty('tip') && ds[’nachalo‘] && ds[‚konec‘] && ds[‚event_handler‘] ) { //if ( ds.hasOwnProperty('tip') && ds[‚datastart‘] && ds[‚datafinish‘] && ds[‚event_handler‘] ) { //if ( ds.hasOwnProperty('tip') && ds[‚datastart‘] && ds[‚datafinish‘] && ds[‚client‘] ) { //if ( ds[‚datastart‘] && ds[‚datafinish‘] && ds[‚client‘] ) { //if ( ds[‚datastart‘] && ds[‚datafinish‘] ) { // client , – if ( ds[’nachalo‘] && ds[‚konec‘] ) { // client , – //console.log('lir: 1500: ds.nachalo: ' + ds.nachalo + ' ds.end: ' + ds.end); KONFIG[‚lava_interval‘] = {}; //CONFIG.lava_interval[‚tip‘] = {Intervall: arg.start + '-' + arg.end}; //CONFIG.lava_interval[‚idnav‘] = ds.idnav; CONFIG.lava_interval[‚idnav‘] = arg.idnav; //CONFIG.lava_interval[‚interval‘] = arg.nachalo + '-' + arg.konec; //CONFIG.lava_interval[‚interval‘] = {}; //CONFIG.lava_interval.interval[’nachalo‘] = arg.beginning; //CONFIG.lava_interval.interval[‚konec‘] = arg.connect; //console.log('lir: 2000: URL: ' + '/' + ds.tip + '/'); //console.log('lir: 3000: : ds.event_handler: ' + ds.event_handler); //console.log('lir: 4000: : arg.idnav: ' + arg.idnav); //console.log(„lir: 5000: : arg[‚idnav‘]: “ + arg[‚idnav‘]); //console.log('lir: arg.idnav: ' + arg.idnav + ', ds.datastart: ' + ds.datastart + ', ds.datafinish: ' + ds.datafinish); //console.log('lir: arg.idnav: ' + arg.idnav + ', ds.nachalo: ' + ds.nachalo + ', ds.konec: ' + ds.konec); console.log('lir: arg.idnav: ' + arg.idnav + ', ds.nachalo: ' + ds.nachalo + ', ds.konec: ' + ds.konec); // onreadychangestate: // ajax_send_request( // 'URL', '/' + ds.tip + '/', // //'EVENT_HANDLER', kabinet_vhod_event_handler, // 'EVENT_HANDLER', ds.event_handler, // // //'komanda', 'lava_interval', // 'format', 'ajax', // //'tip', arg.tip, // //'nachalo', ds.nachalo, // //'konec ', ds.konec, // 'datastart', ds.datastart, // 'datafinish', ds.datafinish, // 'idnav', arg.idnav // ); // onload: // var tip // : / // _ ( (forum/messages, forum/topics ..) // DATA-TIP=_ ranshe var tip = ds.hasOwnProperty('tip') ? ds.tip + '/' : ''; console.log('lir: tip: ' + tip); /* var idrequest = ajax_send_request( 'SERVER', '/' + tip, //'EVENT_HANDLER', kabinet_vhod_event_handler, //' CLIENT', ds.client, // , , , : 'CLIENT', lava_interval_client, //'TIMEOUT', 10, //'ONTIMEOUT', function() { alarm(' '); }, 'ONTIMEOUT', function () { status_ust(' '); setTimeout(status_ubr, 2000); }, 'ONSEND', function() { console.log('ip: idrequest=“ + idrequest); console.log(„ip: , id = ' + arg.idnav); lava_interval_progress('id', arg.idnav, 'max', 50); }, //'komanda', 'lava_interval', 'format', 'ajax', //'tip', arg.tip, //'nachalo', ds.nachalo, //'konec', ds.konec, 'datastart', ds.datastart, 'datafinish', ds.datafinish, 'idnav', arg.idnav, ); */ var server_star=“/“ + tip; // var server = ds.hasOwnProperty('server') ? ds.hasOwnProperty('server') : server_star; var arg_asr = function() { return [
‚SERVER‘, ‚/‘ + tip, //’SERVER‘, server, //’EVENT_HANDLER‘, kabinet_vhod_event_handler, //’CLIENT‘, ds.client, // , , , : ‚CLIENT‘, lava_interval_client, ‚TIMEOUT‘, 50,//’ONTIMEOUT‘, function() { alert(‚ ‚); }, ‚ONTIMEOUT‘, function() { status_ust(‚ ‚); setTimeout(status_ubr, 2000);
//CONFIG.progress[arg.idnav].num = 0; clearTimeout(CONFIG.progress[idnav].idtimeout); CONFIG.fortschritt[idnav].idtimeout = 0; CONFIG.fortschritt[idnav].num = 0; document.getElementById(idnav).innerHTML = CONFIG.progress[idnav].innerHTML; setTimeout( function() { console.log('asr timeout'); ajax_send_request(arg_asr()); }, 2000 ); }, 'ONSEND', function() { console.log('ip: idrequest=“ + idrequest); console.log(„ip: , id = ' + arg.idnav); lava_interval_progress('id', arg.idnav, 'max', 60); }, //'komanda', 'lava_interval', 'format', 'ajax', //'tip', arg.tip, 'nachalo', ds.nachalo, 'konec', ds.konec, //'datastart ', ds.datastart, //'datafinish', ds.datafinish, 'idnav', arg.idnav ]}; // var arg_asr = function() //console.log('lir: idnav 9000: ' + idnav); if ( ! CONFIG.progress[idnav] ) CONFIG.fortschritt[idnav] = {}; CONFIG.fortschritt[idnav][‚arg_str‘] = arg_asr; console.log('asr'); var idrequest = ajax_send_request(arg_asr()); //console.log('ip: idrequest=“ + idrequest); //if (idrequest) { // // -, id = idrequest // console.log(„ip: , id = ' + arg.idnav) ; // lava_interval_progress('id', arg.idnav, 'max', 50); //}; //}; // if ( ds[‚datastart‘] && ds[‚datafinish‘] ) }; // if ( ds[’nachalo‘] && ds[‚konec‘] ) }; // if if ( ds[‚vremya‘] ) anders }; // if ( document.getElementById(arg.idnav) ) }; // if (arg[‚idnav‘] ) console.log('lir: 9000'); } // function lava_interval_request() //if ( ! '1' ) document.getElementById('blok_telo').style.opacity = .5; if ( '1' ) document.getElementById('blok_telo').style.opacity = 1; //document.getElementById('blok_telo').style.opacity = .8;