틀:이미지: 두 판 사이의 차이

크기가 바뀐 것이 없음 ,  2021년 12월 23일 (목)
편집 요약 없음
편집 요약 없음
편집 요약 없음
3번째 줄: 3번째 줄:
</noinclude><includeonly><div class="img_box thumbinner" {{#if:{{{스타일|}}} | style="{{{스타일|}}}" }}>{{{이미지|}}} {{#if:{{{설명|}}} | <div class="thumbcaption">{{{설명|}}}}}</div></div></includeonly>
</noinclude><includeonly><div class="img_box thumbinner" {{#if:{{{스타일|}}} | style="{{{스타일|}}}" }}>{{{이미지|}}} {{#if:{{{설명|}}} | <div class="thumbcaption">{{{설명|}}}}}</div></div></includeonly>
<noinclude>
<noinclude>
<script type="text/javascript">
var img = document.getElementsByTagName("img");
    for (var x = 0; x < img.length; x++) {
      img.item(x).onclick=function() {window.open(this.src)};
    }
</script>
<templatedata>
<templatedata>
{
{
33번째 줄: 39번째 줄:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<script type="text/javascript">
var img = document.getElementsByTagName("img");
    for (var x = 0; x < img.length; x++) {
      img.item(x).onclick=function() {window.open(this.src)};
    }
</script>