Jika anda tertarik untuk membuatnya , silahkan ikuti langkah berikut ini :
1. Login ke akun Blogger anda
2. Pilih Tata Letak >> Tambah Gadget >> HTML/JavaScript
3. Masukkan script dibawah ini
4. Klik simpan
<script language="JavaScript">
function CoffeePreview(sel) {
document.getElementById('preview').src = "" + sel.options[sel.selectedIndex].value;
}
// End -->
</script>
<br />
<center>
<form name="previewselect">
<select name="selbox" onchange="CoffeePreview(this)" size="1">
<option value="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGLdwfowzOMSa0PoAoIq4THv1dHUgYEKEnddYkAEpd5q8KWxdIrYEMLmO_GzmDH5D6MZ7VjdhfPy2emj9ktxgQWXtDgLsuqiB7KC1R0nj8L34ZVzvEy9D8Bp5Iz7oJJzjFMugyvDC_meg/s1600/DhecunBlog.png">Pilih gambar</option>
<option value="http://2.bp.blogspot.com/-J01NLthxiV8/T1pXt3o09RI/AAAAAAAAA10/dmD9BkM6Cbs/s1600/A26.jpg">Gambar 1</option>
<option value="http://3.bp.blogspot.com/-5Z3LmrmjN4w/T1pVvPv506I/AAAAAAAAA1M/al3UoiPPtMY/s1600/A15.jpg">Gambar 2</option>
<option value="http://4.bp.blogspot.com/-clYVpxSqCAI/T1pV0ZTO8_I/AAAAAAAAA1U/i8akwtyjtxs/s1600/A21.jpg">Gambar 3</option>
<option value="http://1.bp.blogspot.com/-8fDjWClBU3U/T1pV6OeulyI/AAAAAAAAA1c/25VBt8hR5bE/s1600/A4.jpg">Gambar 4</option>
<option value="http://3.bp.blogspot.com/-qBDcPwxVFNk/T1pV9aXkJSI/AAAAAAAAA1k/SbC0JxFaN_o/s1600/10.jpg">Gambar 5</option>
<option value="http://4.bp.blogspot.com/-ZFlpAKepYUA/T1pVs5QS2qI/AAAAAAAAA1E/e1WoJjhKOAo/s1600/A7.jpg">Gambar 6</option>
</select><span style="font-family: Verdana, sans-serif;">
</span><br />
<span style="font-family: Verdana, sans-serif;"><img border="1" height="113" id="preview" name="preview" src="http://3.bp.blogspot.com/-5Z3LmrmjN4w/T1pVvPv506I/AAAAAAAAA1M/al3UoiPPtMY/s1600/A15.jpg" width="150" />
</span></form>
</center>
<div style="text-align: right;">
<a href="http://dhecun.blogspot.com/2012/11/script-scroll-pilihan-gambar.html" target="_blank"><span style="font-size: xx-small;">[ Widget by Dhecun Blog ]</span></a></div>
Keterangan :function CoffeePreview(sel) {
document.getElementById('preview').src = "" + sel.options[sel.selectedIndex].value;
}
// End -->
</script>
<br />
<center>
<form name="previewselect">
<select name="selbox" onchange="CoffeePreview(this)" size="1">
<option value="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGLdwfowzOMSa0PoAoIq4THv1dHUgYEKEnddYkAEpd5q8KWxdIrYEMLmO_GzmDH5D6MZ7VjdhfPy2emj9ktxgQWXtDgLsuqiB7KC1R0nj8L34ZVzvEy9D8Bp5Iz7oJJzjFMugyvDC_meg/s1600/DhecunBlog.png">Pilih gambar</option>
<option value="http://2.bp.blogspot.com/-J01NLthxiV8/T1pXt3o09RI/AAAAAAAAA10/dmD9BkM6Cbs/s1600/A26.jpg">Gambar 1</option>
<option value="http://3.bp.blogspot.com/-5Z3LmrmjN4w/T1pVvPv506I/AAAAAAAAA1M/al3UoiPPtMY/s1600/A15.jpg">Gambar 2</option>
<option value="http://4.bp.blogspot.com/-clYVpxSqCAI/T1pV0ZTO8_I/AAAAAAAAA1U/i8akwtyjtxs/s1600/A21.jpg">Gambar 3</option>
<option value="http://1.bp.blogspot.com/-8fDjWClBU3U/T1pV6OeulyI/AAAAAAAAA1c/25VBt8hR5bE/s1600/A4.jpg">Gambar 4</option>
<option value="http://3.bp.blogspot.com/-qBDcPwxVFNk/T1pV9aXkJSI/AAAAAAAAA1k/SbC0JxFaN_o/s1600/10.jpg">Gambar 5</option>
<option value="http://4.bp.blogspot.com/-ZFlpAKepYUA/T1pVs5QS2qI/AAAAAAAAA1E/e1WoJjhKOAo/s1600/A7.jpg">Gambar 6</option>
</select><span style="font-family: Verdana, sans-serif;">
</span><br />
<span style="font-family: Verdana, sans-serif;"><img border="1" height="113" id="preview" name="preview" src="http://3.bp.blogspot.com/-5Z3LmrmjN4w/T1pVvPv506I/AAAAAAAAA1M/al3UoiPPtMY/s1600/A15.jpg" width="150" />
</span></form>
</center>
<div style="text-align: right;">
<a href="http://dhecun.blogspot.com/2012/11/script-scroll-pilihan-gambar.html" target="_blank"><span style="font-size: xx-small;">[ Widget by Dhecun Blog ]</span></a></div>
Semoga bermanfaat...!!!
|
Ditulis oleh : Dhecun Blog
Judul : Script scroll pilihan gambar Berlangganan artikel Komentari artikel ini...!!! |
Silahkan Copy Paste artikel ini tapi jangan lupa untuk mencantumkan link sumber aslinya. Terima kasih.