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

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

Перейти к: навигация, поиск
Версия 14:00, 8 июня 2016
Полностью удалено содержимое страницы
Версия 11:47, 16 июля 2016
Строка 1:Строка 1:
 +/* Шаблон 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/' + $(this).children('div.Panorama').text() + '"></iframe>';
 +}
  
 +/** ready */
 +$(document).ready( function(){
 + addPanorama();
 +}

Версия 11:47, 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/' + $(this).children('div.Panorama').text() + '"></iframe>';
}

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