<div dir="ltr" style="text-align: left;" trbidi="on"> <table> <style type="text/css"> .tabulasi { overflow: hidden; border: 1px solid #ccc; background-color: #f1f1f1; } .tabulasi button { background-color: inherit; float: left; border: none; outline: none; cursor: pointer; padding: 14px 16px; transition: 0.3s; font-size: 17px; background-color: #1d9224; BORDER-RADIUS: 25PX; box-shadow: inset 0 0 4px 2px black; } } .tabulasi button:hover { background-color: #ddd; } .tabulasi button.active { background-color: #ccc; } /* Style the tab content */ .tabrid1content { display: none; padding: 6px 12px; border: 1px solid #ccc; border-top: none; } </style></table> <div class="tabulasi"> <button class="tablinks" onclick="openPhoto(event, 'PPDB')">PPDB</button> <button class="tablinks" onclick="openPhoto(event, 'MPLS')">MPLS</button> <button class="tablinks" onclick="openPhoto(event, 'LDKS')">LDKS</button> <button class="tablinks" onclick="openPhoto(event, 'PHBN')">PHBN</button> <button class="tablinks" onclick="openPhoto(event, 'PHBI')">PHBI</button> <button class="tablinks" onclick="openPhoto(event, 'SANLAT')">SANLAT</button> <button class="tablinks" onclick="openPhoto(event, 'HARLAH')">HARLAH</button> <button class="tablinks" onclick="openPhoto(event, 'OSISMPK')">OSISMPK</button> </div> <div class="tabrid1content" id="PPDB"> <h3> PPDB</h3> PPDB singkatan dari Penerimaan Peserta Didik Baru.<br /> <div class="separator" style="clear: both; text-align: center;"> </div> <div style="text-align: center;"> Video 1</div> <div style="text-align: center;"> Video 2</div> </div> <div class="tabrid1content" id="MPLS"> <h3> MPLS</h3> MPLS singkatan dari Masa Pengenalan Lingkungan Sekolah.<br /> <div style="text-align: center;"> Video 1</div> <div style="text-align: center;"> Video 2</div> <div class="separator" style="clear: both; text-align: center;"> </div> </div> <div class="tabrid1content" id="LDKS"> <h3> LDKS</h3> LDKS adalah singkatan dari Latihan Dasar Kepemimpinan Siswa.<br /> <div style="text-align: center;"> Video 1</div> <div style="text-align: center;"> Video 2</div> <div class="separator" style="clear: both; text-align: center;"> </div> </div> <div class="tabrid1content" id="PHBN"> <h3> PHBN</h3> PHBN adalah singkatan dari Peringatan Hari Besar Nasional<br /> <div style="text-align: center;"> Video 1</div> <div style="text-align: center;"> Video 2</div> </div> <div class="tabrid1content" id="PHBI"> <h3> PHBI</h3> PHBI adalah<br /> <div style="text-align: center;"> Video 1</div> <div style="text-align: center;"> Video 2</div> </div> <div class="tabrid1content" id="SANLAT"> <h3> SANLAT</h3> SANLAT<br /> <div style="text-align: center;"> Video 1</div> <div style="text-align: center;"> Video 2</div> </div> <div class="tabrid1content" id="HARLAH"> <h3> HARLAH</h3> HARLAH<br /> <div style="text-align: center;"> Video 1</div> <div style="text-align: center;"> Video 2</div> </div> <div class="tabrid1content" id="OSISMPK"> <h3> OSISMPK</h3> OSIS-MPK<br /> <div style="text-align: center;"> Video 1</div> <div style="text-align: center;"> Video 2<br /> <iframe frameborder="0" height="100%" src="https://osissmaplustafkar.blogspot.com/2018/07/mpls-2018-video-kegiatan.html" style="bottom: 0px; height: 400px; left: 0px; overflow-x: hidden; overflow-y: hidden; overflow: hidden; position: relative; right: 0px; top: 0px; width: 75%;" width="100%"></iframe></div> </div> <script> function openPhoto(evt, photoTitle) { var i, tabrid1content, tablinks; tabrid1content = document.getElementsByClassName("tabrid1content"); for (i = 0; i < tabrid1content.length; i++) { tabrid1content[i].style.display = "none"; } tablinks = document.getElementsByClassName("tablinks"); for (i = 0; i < tablinks.length; i++) { tablinks[i].className = tablinks[i].className.replace(" active", ""); } document.getElementById(photoTitle).style.display = "block"; evt.currentTarget.className += " active"; } </script> </div>
siip....!
BalasHapus