틀: ButtonLoadPdf

jiamdiary
이동: 둘러보기, 검색
1번째 줄: 1번째 줄:
 
<onlyinclude>
 
<onlyinclude>
 
<html>
 
<html>
 +
<script>
 +
var startpage = {{{startpage|}}};
 +
console.log(startpage)
 +
</script>
 
<div style="display:flex; margin:auto 5px;">
 
<div style="display:flex; margin:auto 5px;">
<span onclick="loadPdfWindow(\{\{\{startpage\|\}\}\});" style="background-color:#eeeeee; padding:1em; cursor:pointer;">원문이미지보기</span>
+
<span onclick="loadPdfWindow();" style="background-color:#eeeeee; padding:1em; cursor:pointer;">원문이미지보기</span>
 
</div>
 
</div>
 
</html>
 
</html>

2020년 2월 3일 (월) 09:08 판

원문이미지보기


사용법

{{ButtonLoadPdf|startpage=}}

미리보기

원문이미지보기