sponsor

sponsor

Slider

Materi dan Tutorial Khusus Untuk Membuat Situs Web Dan Blog Bagi Pemula Hingga Tingkat Mahir. Gambar tema oleh kelvinjay. Diberdayakan oleh Blogger.

Posts

Recent Tube

Business

Technology

Life & style

Games

Sports

Fashion

» » » » » » » » Tambahkan JavaScript Gambar Slider Blogger Mudah

Tambahkan JavaScript Gambar Slider Blogger Mudah


Di sini saya berbagi JavaScript image slider keren untuk blogger. Ini bisa dengan mudah digunakan sebagai konten yang ditampilkan di blog blogger. Slider Gambar ini dibuat oleh menucool.com . Sebuah slider benar-benar keren adalah ini. Ini memiliki efek geser cukup bagus, dan kurang waktu pembukaan yang dibuat oleh Javascript, tidak ada jQuery atau flash yang digunakan. Dan satu hal lagi adalah itu mudah disesuaikan. Saya telah disesuaikan itu sedikit sesuai dengan sempurna untuk blog blogger. Lihat Demo atau download kode sumber dari link di bawah ini.



Mari Pasang Slider Image untuk Blog Blogger Anda

1 Pergi ke Blogger Dashboard> Tata Letak> Tambah Gadget
2 Pilih HTML / Javascript
3 Copy kode di bawah dan paste di atasnya.

<style type="text/css"> /* http://dimpost.com */ #sliderFrame {position:relative;width:700px;margin: 0 auto 40px;} #slider { width:700px;height:306px;/* Make it the same size as your images */ background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq4wkwpIxTuqAyFBcMYR4F-G290Xfh9bfaP2RdSY6ps-vwtumcjq9imIMl3rB96LHecBtInSTwtN28Jh0Wydr44kchaBIX4sTRx2QC9WFOENMT4UJKowEziILdJhq0Ze0DfW9AplO-fPt-/s1600/loading.gif) no-repeat 50% 50%; position:relative; margin:0 auto;/*make the image slider center-aligned */ box-shadow: 0px 1px 5px #999999; } #slider img { position:absolute; border:none; display:none; } /* the link style (if an image is wrapped in a link) */ #slider a.imgLink { z-index:2; display:none;position:absolute; top:0px;left:0px;border:0;padding:0;margin:0; width:100%;height:100%; } /* Caption styles */ div.mc-caption-bg, div.mc-caption-bg2 { position:absolute; width:100%; height:auto; padding:0; left:0px; bottom:15px; z-index:3; overflow:hidden; font-size: 0; } div.mc-caption-bg { background-color:black; } div.mc-caption { font: bold 14px/20px Arial; color:#EEE; z-index:4; padding:10px 0; text-align:center; } div.mc-caption a { color:#FB0; } div.mc-caption a:hover { color:#DA0; } /* ------ built-in navigation bullets wrapper ------*/ div.navBulletsWrapper { top:320px; left:280px; /* Its position is relative to the #slider */ width:150px; background:none; padding-left:20px; position:relative; z-index:5; cursor:pointer; } /* each bullet */ div.navBulletsWrapper div { width:11px; height:11px; background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP355kzTYDscjZgSQ-SHjsW3OQ1odmmZowAuEBM_ONu5uzS29vGYI4M37l5rbFPe-Ntuhu3sEdfJwhH2Umsjo6rIvw95zuU7Vt4lQRs9z8Y6P5XMCZBQJCtHwuWU-2Mu03eNS5y9jbe8Zx/s1600/bullet.png) no-repeat 0 0; float:left;overflow:hidden;vertical-align:middle;cursor:pointer; margin-right:11px;/* distance between each bullet*/ _position:relative;/*IE6 hack*/ } div.navBulletsWrapper div.active {background-position:0 -11px;} .intro { bottom: 0; color: rgba(0, 0, 0, 0.2); font-size: 16px; position: absolute; right: 0; text-decoration: none; z-index: 99999; } /* --------- Others ------- */ #slider { transform: translate3d(0,0,0); -ms-transform:translate3d(0,0,0); -moz-transform:translate3d(0,0,0); -o-transform:translate3d(0,0,0); } </style> <script src="http://project.dimpost.com/image-slider/js-image-slider-1.js" type="text/javascript"></script> <script src="http://project.dimpost.com/image-slider/js-image-slider-2.js" type="text/javascript"></script> <div id="sliderFrame"> <div id="slider"> <a href=" # "><img src=" https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiirC1HNxTcZWKE15ab1MLuoTfx2yZc8gLyUs_2HlTPIohpTIO9jf0B_hgNAjiC60_j7mosVUBXe6jM64gIjXuMI7xkYB9vGatK78AUCaGgz7ber9XpEyYw9OKE46fUrO0nG47OB6oPghIW/s1600/image-slider-1.jpg " alt=" #htmlcaption1 " /></a> <a href=" # "><img src=" https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEw7zuIO3hnNt3RTSX0Q_e6czb4IjVo-_cpEqg3TOpytik3e_a9EiljcROcBByPuupzkh640WNh69J6TEtVD7WAE0NEUf_OcngcApFOhFVTalHhrjT-OSjv5wf4HixzwurOdmtJO_7ET6v/s1600/image-slider-2.jpg " alt=" Go UP! " /></a> <a href=" # "><img src=" https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRRyWR5Yu42iM55JSBH2OIvkxagPgRIHlZJFp1iuxRuICKOOWeF9byx1z9DaYsGkZyv_azmfSDzM_qYoV9akstTeV28LGFGrywMEYZrTZh_TK342_mPBWKNhNAMjydYxuNEhQl0b8HDZeJ/s1600/image-slider-3.jpg " alt=" Pure Javascript. No jQuery. No flash. " /></a> <a href=" # "><img src=" https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbm8iDHZRTSz-9HaRUhlDao5DWylutleXReMUF2iL3J6oLIWLGYUbjf1FLo3meN9uEX-BAnrVumfQb4y3J3L_5-hpEUiglkBSZcFFziGWuguNS6gSRgcIv5F0hXG6LEYxiV9-i3gpUYo64/s1600/image-slider-4.jpg " alt=" #htmlcaption2 " /></a> <a href=" # "><img src=" https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgudQPGLvCh7RVa8BWQp9q0C3_c0iad_OUkMYXMdZRvV9ngymA9u74GisC4KoZOdU51oJxGGTDyP8bF0d1xNj5OOaMIHC6url0ZqRvRY9k7MPEdYLuay9pymzPyMorV2QdNqLU1sBhYADRi/s1600/image-slider-5.jpg " alt=" Stay Connected "/></a> </div> <div id="htmlcaption1" style="display: none;"> Image Slider by <a href="http://dimpost.com/" target="_blank">DIMPost.com</a> </div> <div id="htmlcaption2" style="display: none;"> <a href="http://www.w3schools.com/css/" target="_blank">CSS</a> <a href="http://www.w3schools.com/js/default.asp" target="_blank">JavaScript</a> Rocks. </div> </div> 

4. Sekarang Ubah nilai berwarna URL Gambar, Link ke Image, Gambar Keterangan dll sebagai jalan.

«
Next
Posting Lebih Baru
»
Previous
Posting Lama