Jump to content

Recommended Posts

Прост в установке, скопировать код в main.js

151158q6smni0a9imia12t.png 

153325rdmmzrvmbyn5evkx.png 

кнопка  вызова  

<a class="top_nav_link" id="top_support_link" href="/"><div class="help_lang_ru">радио</div></a>

сам код . вСАВИТЬ В main.js
 

  1. //RADIO
  2. var radio = {
  3. box: function(){
  4. var tmp = '<div class="miniature_box" id="radio">'+
  5. '<div class="miniature_pos" style="width:350px;background: rgba(19, 73, 2, 0.7);/* background:url(https://longdating.ru/img/bg.gif); */">'+
  6. '<div class="miniature_title fl_l apps_box_text" style="color:#00afde;">Онлайн радио от kisq.ru</div><a class="cursor_pointer fl_r" style="font-size:12px;color:#00afde;" onClick="$(\'#radio\').hide(); $(\'html, body\').css(\'overflow-y\', \'auto\');">Закрыть</a>'+
  7. '<div class="clear"></div>'+
  8. '<div style="margin-left:-20px;margin-bottom:-20px;"><iframe width="400" height="160" src="//www.habbocreate.com/embedded-radio/iframe?autoplay=true&agency=" frameborder="0"></iframe></div>'+
  9. '<div class="clear"></div>'+
  10. '</div>'+
  11. '<div class="clear" style="height:20px"></div>'+
  12. '</div>';
  13. var check = $('#radio').length;
  14. if(!check){
  15. if(is_moz && !is_chrome) scrollTopForFirefox = $(window).scrollTop();
  16. $('html, body').css('overflow-y', 'hidden');
  17. if(is_moz && !is_chrome) $(window).scrollTop(scrollTopForFirefox);
  18. $('body').append(tmp);
  19. } else
  20. $('#radio').show();
  21. }
  22. }
Скопировать код




обновление

 

обновление - открываем main.tpl и вставляем кнопку радио
 

  1. [logged]<a href="//radiopleer.net" id="radiopleer" class="link" title="Слушать радио онлайн"><div class="help_lang_ru">Радио</div></a><script type="text/javascript" src="//radiopleer.net/embed/button.js"></script>
  2.  
Скопировать код


st-yf6y4m8xy7dzgsrbcb1yignq.jpeg

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...