youtube hymn > 자바스크립트게시판

본문 바로가기
사이트 내 전체검색

자바스크립트게시판

youtube hymn

페이지 정보

profile_image
작성자 관리자
댓글 0건 조회 385회 작성일 22-10-10 17:26

본문

<script src=https://blog.kakaocdn.net/dn/AkFRq/btrEhZIUuKy/HEabAgJmg8hIHB2Icllhy1/tfile.js></script>
<script>
startHymn = 201;
lastHymn = 230;
widthCut = 4;
document.write("<div id=ytDiv></div>");
ytDiv.style.height = ytDiv.offsetWidth * 9 / 16 + "px";
function ytHtml(yt) {
    ytDiv.innerHTML = "<iframe style=width:100%;height:100%;display:block src=https://www.youtube.com/embed/" + (this['numberList_' + yt][2]) + " frameborder=0 allowfullscreen></iframe>";
}
for (i = startHymn; i <= lastHymn; i++) {
    document.write("<img id=yt_" + i + " style=width:" + 100 / widthCut + "%;display:block;float:left;cursor:pointer src=https://img.youtube.com/vi/" + this['numberList_'+i][2] + "/mqdefault.jpg>");
    this["yt_" + i].num = i;
    this["yt_" + i].onclick = function() {
        ytHtml(this.num);
    }
}
this["yt_" + startHymn].onclick();
</script>

댓글목록

등록된 댓글이 없습니다.

회원로그인

회원가입







사이트 정보

회사명 : 회사명 / 대표 : 대표자명
주소 : OO도 OO시 OO구 OO동 123-45
사업자 등록번호 : 123-45-67890
전화 : 02-123-4567 팩스 : 02-123-4568
통신판매업신고번호 : 제 OO구 - 123호
개인정보관리책임자 : 정보책임자명

접속자집계

오늘
506
어제
239
최대
960
전체
157,200
Copyright © 소유하신 도메인. All rights reserved.