Добро пожаловать на Lesta Games Wiki!

Участник:Degit22:ru/common.js — различия между версиями

Перейти к: навигация, поиск
Версия 12:01, 16 июля 2016Версия 12:03, 16 июля 2016
Строка 1:Строка 1:
 /* Шаблон Panorama */ /* Шаблон Panorama */
 function addPanorama() { function addPanorama() {
? $('.PanoramaViewer').innerHTML += '<iframe width="684px" align="middle" height="380px" frameborder="0" seamless="" scrolling="no" marginheight="0" marginwidth="0" src="//content.wargaming.net/wot/community/panoramas/1/panorama_915/lost_stadium.html"></iframe>';+ $('.PanoramaViewer').innerHTML = '<iframe width="684px" align="middle" height="380px" frameborder="0" seamless="" scrolling="no" marginheight="0" marginwidth="0" src="//content.wargaming.net/wot/community/panoramas/1/panorama_915/lost_stadium.html"></iframe>';
 } }
  

Версия 12:03, 16 июля 2016

/* Шаблон Panorama */
function addPanorama() {
  $('.PanoramaViewer').innerHTML = '<iframe width="684px" align="middle" height="380px" frameborder="0" seamless="" scrolling="no" marginheight="0" marginwidth="0" src="//content.wargaming.net/wot/community/panoramas/1/panorama_915/lost_stadium.html"></iframe>';
}

/** ready */
$(document).ready( function(){
  addPanorama();
});