Проверяем
Музыка (Плеер)
Страница: 1
Сообщений 1 страница 6 из 6
Поделиться22010-07-21 11:43:22
[music]http://www2.zippyshare.com/v/88609999/file.html[/music]
Поделиться32010-07-21 13:33:29
Музыка одна и та же. Я вроде бы поставила все правильно, у меня работало.
У нас этот скрипт стоит?
Код:
<script> function addSpoiler(str,from,internal){ var pos=0,pos2=0,newpos=0 if((pos=str.indexOf("[music]",from))==-1) return str; if((pos2=str.indexOf("[/music]"),pos+8)==-1) return str; newpos=str.indexOf("[music]",pos+8) if(newpos<pos2 && newpos!=-1) str=addSpoiler(str,pos+8,true) if((pos2=str.indexOf("[/music]",pos+8))==-1) return str; str=str.substring(0,pos)+makeSpoiler(str.substring(pos+8,pos2))+str.substring(pos2+9,str.length) if( str.indexOf("[music]")!=-1 && internal==false) str=addSpoiler(str,0,false) return str} function makeSpoiler(txt){ txt="<br /><embed src=\"http://www.realmusic.ru/system/mplayer/mediaplayer.swf?file=http://files.realmusic.ru/files/mp3&height=20&width=450\ song="+txt+"\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"450\" height=\"20\" allowScriptAccess=\"always\" align=\"middle\"></embed><br />" return txt} if(document.URL.indexOf("viewtopic.php")!=-1){ elm=document.getElementById("pun-main").getElementsByTagName("div") for(x in elm) if(elm[x].className=="post-content"){ var post=elm[x] post.innerHTML=addSpoiler(post.innerHTML,0,false)}} </script>
Поделиться42010-07-21 13:36:07
Сразу говорю, этот скрипт не правильный. Я могу его убрать, но найти не могу.
Щас еще раз проверю..
Поделиться52010-07-21 13:36:28
[music]584174[/music]
Поделиться62010-07-21 13:38:19
Теперь нормально..
Этот сайт, кажется, лучше работает: http://www.realmusic.ru/index.php
Страница: 1