편집 요약 없음 |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
<no-comment-streams /> | <no-comment-streams /> | ||
< | <html> | ||
<style> | |||
.embed-container { | |||
width: 100%; | |||
overflow: hidden; | |||
} | |||
.embed-container embed { | |||
width: 100%; | |||
} | |||
</style> | |||
<div class="embed-container"> | |||
<embed src="https://jwiki.kr/main/index.html" type="text/html" onload="resizeEmbed(this)"></embed> | |||
</div> | |||
<script> | |||
function resizeEmbed(embed) { | |||
var screenWidth = window.innerWidth; | |||
var screenHeight; | |||
if (screenWidth >= 768) { | |||
screenHeight = 1760; | |||
} else { | |||
screenHeight = 1540; | |||
} | |||
embed.setAttribute('height', screenHeight); | |||
} | |||
</script></html> | |||
<div class="menugrid"> | <div class="menugrid"> | ||
{| style="margin-left: auto; margin-right: auto; width: 100%; text-align:left;" | {| style="margin-left: auto; margin-right: auto; width: 100%; text-align:left;" | ||
17번째 줄: | 34번째 줄: | ||
|} | |} | ||
</div> | </div> | ||
2023년 3월 10일 (금) 15:21 판