Версия 12:09, 16 июля 2016 | | Версия 12:17, 16 июля 2016 |
Строка 1: | | Строка 1: |
| /* Шаблон Panorama */ | | | /* Шаблон Panorama */ |
| function addPanorama() { | | | function addPanorama() { |
? | alert('1'); | | + | $('.PanoramaViewer').append('<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>'; | | + | |
? | alert('2'); | | + | |
| } | | | } |
| | | | |
Версия 12:17, 16 июля 2016
/* Шаблон Panorama */
function addPanorama() {
$('.PanoramaViewer').append('<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();
});