53 슬라이드 쇼 기능 만들기
마지막으로 갤러리에 슬라이드 쇼 기능을 추가해 보겠습니다.
슬라이드 쇼를 재생하는 Play Slidshow 버튼을 Select All 버튼 옆에 추가합니다.
코드 gallery.html
<html>
<head>
<link rel = "stylesheet" type = "text/css" href ="./style.css">
<script src = "./script.js"></script>
</head>
<body>
<input type = "button" value = "Select All" onclick = "selectAll(this);">
<input type = "button" value = "Play Slideshow" onclick = "slideshow(this);">
<hr>
</body>
</html>