Проверка логина при регистрации Скачать Новый вид мини-чата v2 Вид материалов: Скачать Форма добавления: Скачать Блок "Отправить СМС" для вашего сайта! Скачать Увеличение-уменьшение картинки Плавное увеличение-уменьшение картинки и её перемещения для новостей сайта ! Начнём! В настройках новостей сайта добавляем дополнительное поле. В моём примере это доп. поле № 2. В замене стандартных надписей переименовываем его в нужное, а именно "Ссылка на изображение". Потом в шаблонах "Вид материалов новостей" и "Страница материала и комментариев к нему" ставим следующий код перед $MESSAGE$ : Code: <?if($OTHER2$)?><center><a href="$OTHER2$" class="highslide" onclick="return hs.expand(this, {captionId: 'caption1'})"><img src="$OTHER2$" border=0 width=200 style="border:none;"></a></center><br><?endif?> Если у вас другой номер доп. поля то его изменяем в коде $OTHER2$. Затем в корне сайта создаём директорию highslide. Пихаем туда файл highslide.css из архива. После этого открываем файл highslide.js и находим в нём это : creditsText : 'текст надписи на картинке', creditsHref : 'адресс вашего сайтеГа', creditsTitle : 'комментарий к надписи', Думаю, что на что вам надо будет заменить и так понятно. Сохраняем в кодировке UTF-8 Ставим его в созданную директорию. В эту же директорию загружаем папку graphics со всеми файлами, которые внутри скаченного архива. В итоге должен получиться путь /highslide/graphics/ Теперь в шаблонах: Страницы сайта-->Архив Материалов новостей-->Вид материала и комментариев к нему между Code: <head>........</head> пишем : Code: <style type="text/css" media="all"><br /> @import url(highslide/highslide.css);<br /> </style> <br /> <script type="text/javascript" src="highslide/highslide.js"></script><br /> <script type="text/javascript"> <br /> hs.graphicsDir = 'highslide/graphics/';<br /> </script> Скачать Опрос перед регистрацией Установка: 1. Заходим в шаблон Страница регистрации пользователей 2. Находит там $BODY$ 3. Заменяем на это /* Поменяйте варианты правильных ответов */ var ans = new Array; var done = new Array; var score = 0; ans[1] = "c"; ans[2] = "a"; ans[3] = "b"; ans[4] = "b"; ans[5] = "d"; ans[6] = "c"; ans[7] = "c"; ans[8] = "c"; ans[9] = "d"; ans[10] = "a"; function Engine(question, answer) { if (answer != ans[question]) { if (!done[question]) { done[question] = -1; alert("Ошибка!\n\nВаш счет: " + score); } else { alert("Вы уже отвечали на этот вопрос!"); } } else { if (!done[question]) { done[question] = -1; score++; alert("Правильно!\n\nВаш счет: " + score); } else { alert("Вы уже отвечали на этот вопрос!"); } } } function NextLevel () { if (score > 10) { alert("Cheater!"); } /* Если у вас другое количество вопросов измените цифры на свои */ if (score >= 10 && score if(!document.getElementById('siM2')) document.all.adduser.style.display='none'; $BODY$ if(!document.getElementById('siM2')) document.all.adduser.style.display='none'; 4. Редактируем под себя и свой сайт 5. Сохраняем PS. Даной опрос можно использовать не только к регистрации! Скрытые возможности форума Благодаря всеми любимой администрации в лице UcoZ, у всех вас появилась прекрасная возможности для проверки постов перед отправкой. Знаю по себе это очень нужная функция и уверен, что многие ее оценят по достоинству.Поместив в любое место форума этот код вы можете заставить юзера представится, ограничить длину сообщений (а то некоторые мегоссаги загоняют), установить минимальную длину сообщения (то есть вы избавитесь глупых фраз хорошо, здрасте, и одних смайликов). И глупых тем типа: Вопрос, Помогите и т.п. Code: function checksubmit(idx){ <br /> var errmes; <br /> var i; <br /> var prom; <br /> errmes=''; <br /> <br /> for (i=0; i <idx .elements.length;="" i++){="" <br=""> // проверка темы на длинну и на дебильную фразу вопрос или помогите <br /> if (idx.elements(i).className=="postnamefl"){ <br /> pro m=idx.elements(i).value; <br /> <br /> if (prom.length < 7){ <br /> errmes="Короткое название темы"; <br /> } <br /> prom=prom.toLowerCase(); <br /> if (prom == "помогите"){ <br /> errmes="Не правильное название темы"; <br /> } // и так далеее для каждого дибильного названия. <br /> //теперь проверяю описание темы <br /> } else if (idx.elements(i).className=="postdescrfl"){ <br /> pr om=idx.elements(i).value; <br /> if (prom.length < 7){ <br /> errmes="Короткое описание темы"; <br /> } <br /> // теперь проверяем длинну поста <br /> } else if (idx.elements(i).className=="posttextfl"){ <br /> pro m=idx.elements(i).value; <br /> if (prom.length < 15){ <br /> errmes="Очень короткий пост"; <br /> } <br /> // теперь проверяю имя юзера <br /> } else if (idx.elements(i).className=="postuserfl"){ <br /> if (prom.length == "Гость" || prom.length==""){ <br /> errmes="Пожалуйста представтесь"; <br /> } <br /> <br /> }//if end <br /> }//for end <br /> if (errmes !=''){ <br /> alert (errmes); <br /> return false; <br /> } //end if <br /> }// sumit end <br /> Добавляется на форум в *форма добавления сообщений*.
Облако тегов (Tags) Облако тегов, которое способно заменить обычное меню. И так приступим: 1) Скачивайте архив: Размер файла: 39.94 KB Скачать 2) Заходите в панель управления/файловый менеджер 3) Закидываем туда папку под названием: tags 4) Далее создаем глобальный блок и вставляем туда следующий код: Code: <script type="text/javascript" src="tags/swfobject.js"></script><div id="wpcumuluscontent"><p style="text-align:left;"><br /> <p style="font-size: 10pt; text-align:right;">Для красивого отображения этого блока требуется <noindex><a href="http://www.adobe.com/go/getflashplayer" target="_blank" rel="nofollow">Flash Player 9</a></noindex> или выше.</div><script type="text/javascript">var rnumber = Math.floor(Math.random()*9999999);var so = new SWFObject("tags/tagcloud.swf?r="+rnumber, "tagcloudflash", "170", "200", "10", "#333333");so.addParam("wmode", "transparent");so.addParam("allowScriptAccess", "always");so.addVariable("tcolor", "0xFF3300");so.addVariable("tspeed", "200");so.addVariable("distr", "true");so.addVariable("mode", "tags");so.addVariable("tagcloud", "<tags><a href='ССЫЛКА' style='font-size:8pt;'>НАЗВАНИЕ</a> <br /> <a href='ССЫЛКА' style='font-size:8pt;'>НАЗВАНИЕ</a><a href='ССЫЛКА' style='font-size:8pt;'>НАЗВАНИЕ</a><a href='ССЫЛКА' style='font-size:8pt;'>НАЗВАНИЕ</a><a href='ССЫЛКА' style='font-size:8pt;'>НАЗВАНИЕ</a><a href='ССЫЛКА' style='font-size:8pt;'>НАЗВАНИЕ</a><a href='ССЫЛКА' style='font-size:8pt;'>НАЗВАНИЕ</a><a href='ССЫЛКА' style='font-size:8pt;'>НАЗВАНИЕ</a><a href='ССЫЛКА' style='font-size:8pt;'>НАЗВАНИЕ</a><a href='ССЫЛКА' style='font-size:8pt;'>НАЗВАНИЕ</a></tags>");<br /> so.write("wpcumuluscontent");</script> 5) Заменяете: НАЗВАНИЕ и ССЫЛКА на своё. 6) Ну вот и все.
Замена отражения code и quote Скачиваем и распаковываем : Скачать Заливаем папку img в корень сайта. В таблице стилей CSS находим: Code: .codeMessage <br /> .quoteMessage И заменяем на эти: Code: .codeMessage { <br /> background: #4674a2 url(/images/css_img_code.gif) no-repeat top right; <br /> color: #FFF; <br /> font-weight: bold; <br /> margin: 0 auto 0 auto; <br /> padding: 3px; <br /> } <br /> <br /> .quoteMessage { <br /> background: #ffbc39 url(/images/css_img_quote.gif) no-repeat top right; <br /> border: 1px dashed #000; <br /> border-bottom: 0; <br /> color: #000; <br /> font-weight: bold; <br /> font-size: 10px; <br /> margin: 2 auto 0 auto; <br /> padding: 3px; <br /> } Вот и все!
Script подсказка к ссылке JAVA скрипт подсказки. Пример вы можете посмотреть на web4ucoz.net.ru. Скрипт легко установить . В архиве есть инструкция. По желанию можно изменить вид подсказки. В общем качаем и юзаем скриптег. Скачать
Форма добавления коментариев для UCOZ как на DLE Небольшой {хак}, можно так сказать. Форма добавления комментариев как на DLE, только для UCOZ. Также была сохранена и панель "bbcodes" как на DLE. отлично смотрится на светлом фоне. Думаю пригодиться) пароль: 4ucoz.com Скачать p.s. Вот забытая кнопка , просто сохраните себе ее под именем send.gif и закачайте в папку images в корень сайта. Приношу свои извинения)
Вид комментов как на 4dle Что-то типа хака комментарии как на 4dle.ru от меня под Ucoz!По скрину думаю всё понятно! Скачать
онлайн радио для укоза,вставляем на сайт,вроди все чистенько HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html> <head> <title>NiceWeb.tk РАДИО</title> <link rel="stylesheet" type="text/css" media="all" href="http://danison.ucoz.ru/radio/radio.css.txt"> <meta http-equiv=Content-Type content="text/html; charset=win-1251"> <script type="text/javascript">if(escape('а')!='%u0430') { var cs_i2=new Image; cs_i2.src='http://err.rambler.ru/cs/'; }function globalCsChErr(a,b,c) {var i=new Image; i.src='http://err.rambler.ru/js/?'+escape(a)+','+escape(b)+','+escape(c)+'/'; return true;}window.onerror=globalCsChErr;</script> <script type="text/javascript" src="http://audio.rambler.ru/i/js/evnt_wth.js"></script> <script type="text/javascript" src="http://audio.rambler.ru/i/js/radioplayer.js?v=1"></script> <script type="text/javascript"> function resizeOnLoad() { var t = document.body.getElementsByTagName('DIV')[0], h = typeof innerHeight != 'undefined'? innerHeight: document.documentElement.clientHeight; //изменяем высоту попап окна, //если оно ожидаемой высоты (для защиты от изменения размера не попап окна браузера) // t.offsetHeight >= h && ( h < 300 && window.resizeBy(0, t.offsetHeight - h + 6) } </script> <style id="not4Simple" disabled="true"> .not4Simple {display:none;} </style> </head> <body scroll="no" onload="resizeOnLoad()"> <div> <div id="logo" class="horizontalBg"> <div class="help"> <!-- a href="http://danison.ucoz.ru" target="_blank">Помощь</a --> </div> <a class="imgs home" href="http://danison.ucoz.ru" target="_blank" title="NICEWEB.tk RADIO" onclick="window[window.opener? 'opener': 'top'].open(this.href, this.target); return false" ></a> </div> <div class="imgs prevButton"><div class="imgs" title="Назад"></div></div> <div class="imgs nextButton"><div class="imgs" title="Вперед"></div></div> <div id="radioList" class="horizontalBg"> <div class="box"> [list] [*]</li> [/list] </div> </div> <div id="panel" class="horizontalBg"> <div class="imgs leftBg"></div> <div class="imgs rightBg"></div> <div class="horizontalBg label">В эфире</div> <div id="radioName"></div> <div id="playButton" class="imgs control disable"></div> <div class="horizontalBg delimiter not4Simple"></div> <div class="imgs volume not4Simple"><div class="imgs" style="margin-left:50%"></div></div> <div class="horizontalBg delimiter"></div> <div class="statusBar"><span id="playerState"></span></div> </div> </div> <script> var radioPlayer, radioPlayerClass = ( function (listItem) { var timeCounter, timerId, k, prots; function closure(obj, bitrate, listItem) { return function(){ obj.myBitrate = bitrate; obj.playFromItem(listItem) } } function timeToStr(n) { var s = '', t = { 'h': Math.floor(n / 3600), 'm': Math.floor(n % 3600 / 60), 's': Math.floor(n % 60) }; if (t.h) { s += t.h + ':' } t.m < 10 && (s += '0'); s += t.m + ':'; t.s < 10 && (s += '0'); s += t.s; return s } function myPlayerClass(myBitrate) { this.myBitrate = myBitrate || 64; } myPlayerClass.prototype = new GA.WMPlayerClass; prots = { 'drawListItem': function(listItem) { var t = 0, k, c, o, n =document.createElement('DIV'), classNode, valueNode; n.className = 'quality'; n.innerHTML = ' <div class="another"> <div class="imgs topRightAngle"></div> <div class="imgs topLeftAngle"></div> <div class="qualityValue">64KB</div> </div>'; classNode = n.getElementsByTagName('DIV')[0]; valueNode = classNode.getElementsByTagName('DIV')[2]; o = document.getElementById('panel'); c = o.lastChild; do { k = c.previousSibling; if (c.nodeType == 1 && c.className == 'quality') { o.removeChild(c) } c = k } while (c) for (k in listItem.bitrates) { if (k-0 >= this.myBitrate-0) { t = k; break } } t == 0 && (t = k); c = null; for (k in listItem.bitrates) { valueNode.innerHTML = k+'KB'; if (k == t) { classNode.className = 'current'; c = o.insertBefore(n.cloneNode(true), c); classNode.className = 'another' } else { c = o.insertBefore(n.cloneNode(true), c); c.onclick = closure(this, k ,listItem) } } o = document.getElementById('radioName'); o.innerHTML = listItem.name; return t }, 'showTime': function() { var n = document.getElementById('playerState'); if (!n) return; n.innerHTML = timeToStr(this.playerObject.controls.currentPosition) }, 'showTimeSimple': function() { var n = document.getElementById('playerState'); timeCounter++; if (!n) return; n.innerHTML = timeToStr(timeCounter) }, 'setSimpleMode': function(url) { GA.WMPlayerClass.prototype.setSimpleMode.call(this, url); myPlayerClass.prototype.showTime = myPlayerClass.prototype.showTimeSimple; document.getElementById('not4Simple').disabled = false; }, 'playStateChange': function(NewState) { var n = document.getElementById('playerState'); if(n) { n.innerHTML = [ 'Неопределенно', 'Стоп', 'Пауза', 'Воспроизведение', 'Вперед', 'Назад', 'Загрузка', 'Ожидание', 'Закончено', 'Соединение', 'Готово', 'Перезагрузка' ][NewState];//'d>]; this.state = NewState; } if (typeof timerId != 'undefined') { window.clearInterval(timerId) } n = document.getElementById('playButton'); if (NewState == 3) { timeCounter = 0; timerId = window.setInterval((function(obj){return function(){obj.showTime()}})(this), 1000); n && (n.className = n.className.replace(/(^|\s)(?:play|disable)(\s|$)/, '$1pause$2')) } else { n && (n.className = n.className.replace(/(^|\s)(?:pause|disable)(\s|$)/, '$1play$2')) } }, 'playFromItem': function(listItem) { var t, v='http://audio.rambler.ru/?from=', url = listItem.bitrates[ this.drawListItem(listItem) ]; this.playFromURL(url); v+=( window.location.host.indexOf('assist')!=-1? 'assist': window.location.search.indexOf('bld=')!=-1? 'icq': 'audio' )+'&station='+listItem.id; (new Image).src=v; this.saveCookie(this.myBitrate, 3, /(\d+)$/.exec(url)[1]); }, 'saveCookie': function (bitrate, state, urlId) { var t = new Date(); t.setDate(365); urlId && (this.lastUrlId = urlId); t ='current_radio='+this.lastUrlId+'|'+bitrate+ '|'+state+ '; expires='+ t.toGMTString()+ '; domain='+window.location.hostname; document.cookie = t; } }; for (k in prots) { myPlayerClass.prototype[k] = prots[k] } return myPlayerClass; } )(); (function(){ function closure(obj, methodName, removeMethod,pm) { return function(){ if (removeMethod) { this[removeMethod] = null } obj[methodName](this,pm||0) } } /** * вычислитель растояний промотки * @param {GA.Dynamic} t * @param {HTMLElement} o елемент хранящий прокручиваемые блоки * @param {Boolean|Number} p * true:промотать на один елемент вперет, * false:назат, * иначе промотать в центр болк с заданным порядковым номером */ function c(t,o,p){ var a=o.getElementsByTagName('LI'),k,w=a.length-1,i=p?0:w,d='offsetWidth',s='offsetLeft'; if(typeof p == 'undefined'){p=0} if(p===!0||p===!1){ if(p==!0) while(i<w && a[i][s]-t.to<=0){i++} else while(i && a[i][s]-t.to>=0){i--}; p=a[i][s]; }else{ p=a[p][s]-((o[d]-a[p][d])>>1); p<0&&(p=0) } t.from=o.scrollLeft; k=a[w][d]+a[w][s]-o[d]; t.to=(k>0&&p>k)?k:p; if (t.to<k) { !/(?:^|\s)active(?:\s|$)/.test(t.oNextButton.className) && (t.oNextButton.className += ' active') } else { t.oNextButton.className = t.oNextButton.className.replace(/(^|\s)active(?:\s|$)/, '$1') } if (t.to>0) { !/(?:^|\s)active(?:\s|$)/.test(t.oPrevButton.className) && (t.oPrevButton.className += ' active') } else { t.oPrevButton.className = t.oPrevButton.className.replace(/(^|\s)active(?:\s|$)/, '$1') } t.playBack=!1; delete t.current; t.play() } GA.Dynamic=function(){}; GA.Dynamic.closure=(function(c){ return function(o,a,b){ c!==!1&&clearTimeout(c); t=0; function f(){ var d=20,l=b-a; o[o.methodName](o.current=(a+o.type(t/o.duration)*l)); if(t<o.duration){ t+=(d=((l=(o.duration-t))<d?l:d)); c=setTimeout(f,d) }else{ o.playBack=!o.playBack; delete o.current; c=!1 } }; return f } })(!1); GA.Dynamic.prototype.play=function(){ var t=this,f=GA.Dynamic.closure,a=['from','to']; if(t.playBack){a=a.reverse()} a[0]=t[a[0]];a[1]=t[a[1]]; if(typeof t.current=='undefined'){ (f(t,a[0],a[1]))() }else{ t.playBack=!t.playBack;(f(t,t.current,a[0]))() } }; var volume = new GA.eventWatcherClass(['mouseover', 'mousedown', 'mouseup'], '.volume', 'onOver', 'onOut') volume.onOver = function(node, pos, e) { var x = 0, t = node; if(!radioPlayer.playerObject) return if (e.type == 'mousedown') { this._mousePressed = node; } if (this._mousePressed == node) { if (document.selection) { document.selection.empty() } while (t && t != document.body) { x += t.offsetLeft; t = t.offsetParent } x = pos.x-x-7; x < 0 && (x = 0); x > 50 && (x = 50); radioPlayer.setVolume(Math.floor(x * 100 / 50)); node.getElementsByTagName('DIV')[0].style.marginLeft = (x-5)+'px' } if (e.type == 'mouseup') { delete this._mousePressed; } }; volume.onOut = function(pos, e) { if (e.type == 'mouseup') { delete this._mousePressed; } }; /** * класс_работы_с_горизонтально_прокручиваемым_списком_блоков. * @param {Object} containerId */ GA.listClass = function(containerId, aList) { if (typeof aList[0] == 'undefined') return; this.aList = aList; GA.runMethodWhenNodeExist(this, 'init', 'document.getElementById("'+containerId+'")', []); } GA.listClass.prototype = { 'init': function(oNode) { var evs = {'DOMMouseScroll':{}, 'mousewheel':{}}, o = document.cookie.split(';'), k, t, c={}, i; //this.currentItem = 0; while (o.length) { t = o[o.length-1]; t = t.substr(t.charAt(0)==' '? 1: 0).split('='); o.length--; c[t[0]] = t.slice(1).join('') } k=document.location.search.slice(1).split('&'); for(i=k.length;i--;){ k[i]=k[i].split('='); if(k[i][0]=='id'){ i=k[i][1]; break } } o=[typeof c.current_radio != 'undefined',0]; if (o[0] || i!=-1) { o[0] && (o = c.current_radio.split('|')); if (i !=-1){ for(k=this.aList.length;k--;){ if(this.aList[k].id==i){ this.currentItem=k; o[2]=3; break } } }else{ currentItemFinded: for (i = this.aList.length; i--; ) { c = this.aList[i].bitrates; for (k in c) { if ((t = /(\d+)$/.exec(c[k])) && t[1] == o[0]) { this.currentItem = i; break currentItemFinded } } } } } radioPlayer = new radioPlayerClass( o[1] ); if (typeof this.currentItem != 'undefined') { if (typeof o[2] != 'undefined' && o[2] == 3) { radioPlayer.playFromItem(this.aList[this.currentItem]); } else { radioPlayer.drawListItem(this.aList[this.currentItem]); radioPlayer.playStateChange(1) } } else { // this.currentItem=0 } radioPlayer.lastUrlId = t[1]; this.oContainer = oNode.getElementsByTagName('UL')[0]; while ( (oNode=oNode.previousSibling) && !( oNode.nodeType == 1 && /(?:^|\s)nextButton(?:\s|$)/.test(oNode.className) ) ); this.oNextButton = oNode.getElementsByTagName('DIV')[0]; while ( (oNode=oNode.previousSibling) && !( oNode.nodeType == 1 && /(?:^|\s)prevButton(?:\s|$)/.test(oNode.className) ) ); this.oPrevButton = oNode.getElementsByTagName('DIV')[0]; t=this.oPrevButton; t.ondblclick=t.onclick = closure(this, 'scrollPrev'); t=this.oNextButton; t.ondblclick=t.onclick = closure(this, 'scrollNext'); try{ document.links[0].focus(); document.links[0].blur(); }catch(e){} this.showBlocks(); this.methodIntoEventProcessing('watchMouseScroll', 'mouseover', this.oContainer, evs); this.methodIntoEventProcessing('unwatchMouseScroll', 'mouseout', this.oContainer, evs); this.methodIntoEventProcessing('showBlocks', 'resize', window); GA.eventWatcherClass.call(this, ['click'], '[@id=playButton]', 'clickPlayPause'); /**/ }, 'play':GA.Dynamic.prototype.play, 'type':function(p){return 1-Math.sin(Math.acos(p))}, 'draw':function(pos){ this.oContainer.parentNode.scrollLeft=Math.round(pos) }, 'duration':110, 'to':0, 'methodName':'draw', 'showBlocks': function() { var lineTopOffset, endPosition, t, n, im, i = 0; if (!this.oListItemTemplate) { t = this.oContainer.getElementsByTagName('LI')[0]; this.oListItemTemplate = this.oContainer.removeChild(t); this.aListItems = []; for (i = 0, n = this.aList.length; i < n; i++) { t = this.oListItemTemplate.cloneNode(true); t.className += ' listItem'+i; t.title = this.aList[i].name; im=new Image(); im.alt=this.aList[i].name; t.appendChild(im); this.aListItems[i] = this.oContainer.appendChild(t); this.aListItems[i].onclick = closure(this, 'clickOnListItem'); im.onload = closure(this, 'correctWidth'); im.onerror = closure(this, 'correctWidth'); im.src=this.aList[i].icon; } this.correctWidth(); if(typeof this.currentItem != 'undefined'){ this.aListItems[this.currentItem].className += ' current horizontalBg'; c(this,this.oContainer.parentNode,this.currentItem) } } }, 'correctWidth':function(){ var a=this.oContainer.getElementsByTagName('LI'),i,s=0; for(i=a.length;i--;){ s+=a[i].offsetWidth } this.oContainer.style.width=s+'px'; c(this,this.oContainer.parentNode,this.currentItem) }, 'scrollPrev': function() { c(this,this.oContainer.parentNode,!1) }, 'scrollNext': function() { c(this,this.oContainer.parentNode,!0) }, 'clickOnListItem': function(oNode) { var n, i=''; if (oNode) { i = /(?:^|\s)listItem(\d+)(?:\s|$)/.exec(oNode.className)[1]; if ( typeof this.currentItem != 'undefined' && i == this.currentItem ) return; if (typeof this.currentItem != 'undefined' && oNode) { n = this.aListItems[this.currentItem]; n.className = n.className.replace(/(^|\s)current horizontalBg(?:\s|$)/, '$1') } this.currentItem = i; !/(?:^|\s)current horizontalBg(?:\s|$)/.test(oNode.className) && (oNode.className += ' current horizontalBg') } radioPlayer.playFromItem(this.aList[this.currentItem]); c(this,this.oContainer.parentNode,this.currentItem) }, 'clickPlayPause': function(oNode, pos, e, evs) { if(/(?:^|\s)disable(?:\s|$)/.test(oNode.className))return; if(!radioPlayer.playerObject) { typeof this.currentItem != 'undefined' && this.clickOnListItem() } else { radioPlayer.playPause(); radioPlayer.saveCookie( radioPlayer.myBitrate, (radioPlayer.state==1 || radioPlayer.state==2)? 1: 3 ) } }, 'onMouseScroll': function(oNode, pos, e, evs) { var delta = e.wheelDelta || -e.detail; for (var k in evs) { if (e.type != k) { GA.eventWatcherClass.removeEventProcessing(k, evs[k], document); delete evs[k] } } this[delta > 0 ? 'scrollPrev': 'scrollNext'](); }, 'watchMouseScroll': function(oNode, pos, e, evs) { for (var k in evs) { evs[k] = this.methodIntoEventProcessing( 'onMouseScroll', k, document, evs ); } }, 'unwatchMouseScroll': function(oNode, pos, e, evs) { for (var k in evs) { GA.eventWatcherClass.removeEventProcessing(k, evs[k], document) } } }; for (var k in GA.eventWatcherClass.prototype) { if (!GA.listClass.prototype[k]) { GA.listClass.prototype[k] = GA.eventWatcherClass.prototype[k] } } // new GA.listClass('radioList', []) })(); </script> <script type="text/javascript" charset="utf-8" src="http://audio.rambler.ru/ajax/stations.js"></script> <span class="counter"><!-- assist counter --><!-- begin of Top100 code --><script type="text/javascript" src="http://counter.rambler.ru/top100.jcn?215197"></script><noscript><img src="http://counter.rambler.ru/top100.cnt?215197" alt="Rambler's Top100 Service" width="1" height="1" border="0" /></noscript><!-- end of Top100 code --><img src="http://www.tns-counter.ru/V13a****rambler_ru/ru/CP1251/tmsec=rambler_audio/" width="1" height="1" alt=""/> </span> </body> </html>
Online TV себе на сайт Создайте отдельную страницу Редактор страниц » Управление материалами и добавить станицу. Страницу можете назвать как хотите. (желательно Online TV ) Далее вставляем это код прост яв скрипт,но всеже, кста мона указывать ссыль на любой сайт с олайн просмотром,заходим туда ,смотрим исходной код страницы и копируем его и смотрим на своем сайте