Re: Re: nStreamPlayer - widget для IPTV (Protocol: rtmp, http, udp, hls, mms)
ответ на ответ!ну и хрен с ним!)))
ответ на ответ!ну и хрен с ним!)))
Main.yandexTVinfo = function() { this.yandextv_mode = true; var description = API.channels[this.chan_array_index][6].replace("#######",API.yandex_days); alert('NEW description: ' + description); document.getElementById("yandex").style.display="block"; widgetAPI.putInnerHTML(document.getElementById("infoList"), description); if(this.yandextv_mode) setTimeout("Main.yandexTVdisableSelector();",1000); } Main.yandexTVdisableSelector = function() { var gone = document.frames['yandex_tv'].document.getElementsByClassName("gone"); for(i=0;i<gone.length;i++) gone[i].style.display = 'none'; var b_schedule = document.frames['yandex_tv'].document.getElementsByClassName("b-schedule")[0].innerHTML; widgetAPI.putInnerHTML(document.getElementById("infoList"), b_schedule); setTimeout("Main.colortime();",100); } Main.Gone = function() { if(document.getElementsByClassName("gone")) { className = 'done'; var gone = document.getElementsByClassName("gone"); for(i=0;i<gone.length;i++) gone[i].style.display = ''; for(i=0;i<gone.length;i++) gone[i].style.color = "#999999"; } } Main.colortime = function() { var time = document.getElementsByClassName("time"); for(i=0;i<time.length;i++) time[i].style.color = '#ff99ff'; for(i=0;i<time.length;i++) time[i].style.padding ='5px'; }
Комментарий