Mas Dzaky

  • Home
  • About
  • Template
  • Design
  • Blogger
  • Tips Tricks
Home » Widget Blog » Automatic Slideshow for Blogger with 3D Gallery

Selasa, 12 Agustus 2014

Automatic Slideshow for Blogger with 3D Gallery

Pembaharuan: 9 Desember 2013
3D Gallery for Blogger
A letter from Arhan Tubar:
Hello
I like very much the automatic slideshow tutorial and I was wondering if you can help me with something.
I would like to make the slideshow from this link:
http://tympanus.net/codrops/2012/02/06/3d-gallery-with-css3-and-jquery/
...to be automatic like in your tutorials.
Can you help me with this request?
Thank you in advance.
My answer is, “Yes, why not. This is just about inserting images into 3D Gallery markup. A special post for you. Sorry about my bad English” :p
View Demo

Step 1: Edit Your Template

First go to the Template menu and then click Edit HTML and click Continue/Proceed:



Edit HTML Blogger
Edit HTML

Find this code:
]]></b:skin>
Copy the code below and paste it above ]]></b:skin>:
/*!
* Automatic 3D Gallery by Taufik Nurrohman
* http://gplus.to/tovic
*/


.dg-container {
width:100%;
height:450px;
position:relative;
}

.dg-wrapper {
width:481px;
height:316px;
margin:0 auto;
position:relative;
-webkit-transform-style:preserve-3d;
-moz-transform-style:preserve-3d;
-ms-transform-style:preserve-3d;
-o-transform-style:preserve-3d;
transform-style:preserve-3d;
-webkit-perspective:1000px;
-moz-perspective:1000px;
-ms-perspective:1000px;
-o-perspective:1000px;
perspective:1000px;
}

.dg-wrapper a {
display:block;
position:absolute;
left:0;
top:0;
background:transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg38IdPHeLWz9ySyPjqPHVak5QHCQHDRHSvsd5crC18L-XXHqUibg3yiP6fLn2kMYdQclRYEBrwFo5RBxQQKg3HLBwiE7zk9UxiL2MdbpVn11XoK0JvDOzHvTDsMCR9PLpoiPkt04Jmogg/s1600/browser.png') no-repeat 0 0;
-webkit-background-size:100% 100%;
-moz-background-size:100% 100%;
background-size:100% 100%;
-webkit-box-shadow:0 10px 20px rgba(0,0,0,.3);
-moz-box-shadow:0 10px 20px rgba(0,0,0,.3);
box-shadow:0 10px 20px rgba(0,0,0,.3);
-webkit-border-radius:4px;
-moz-border-radius:4px;
border-radius:4px;
}

.dg-wrapper a.dg-transition {
-webkit-transition:all .5s ease-in-out;
-moz-transition:all .5s ease-in-out;
-ms-transition:all .5s ease-in-out;
-o-transition:all .5s ease-in-out;
transition:all .5s ease-in-out;
}

.dg-wrapper a img {
display:block;
margin:0;
padding:41px 0 0 1px;
border:none;
outline:none;
}

.dg-wrapper a .dg-caption {
font:italic normal 16px/50px Georgia,"URW Bookman L",Serif;
text-align:center;
width:100%;
height:50px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
text-shadow:1px 1px 1px rgba(255,255,255,.5);
color:#333;
display:none;
position:absolute;
bottom:-55px;
}

.dg-wrapper a.dg-center .dg-caption {display:block}
.dg-container .dg-nav {
width:58px;
position:absolute;
z-index:1000;
bottom:40px;
left:50%;
margin-left:-29px;
}

.dg-container .dg-nav span {
text-indent:-9000px;
float:left;
cursor:pointer;
width:24px;
height:25px;
opacity:0.8;
background:transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8oeuAJHe7grUzfhgqEizrpfhWo88C2h-aAa4hwv2a763m9AFgdAniF-WUaU0_C_nAO8wfEdFCrjPU5HKUtR6yus_urvt8VCkF061yrMtvHeTgAhai0RqknJQH4IhR_uN0z39Hg0LpTa0/s1600/arrows.png') no-repeat 0 0;
}

.dg-container .dg-nav span:hover {opacity:1}
.dg-container .dg-nav span.dg-nav-next {
background-position:100% 0;
margin-left:10px;
}

.dg-caption-date:before,
.dg-caption-comment:before {content:" - "}
.dg-caption-comment {display:none}
Save your template.

Step 2: Puting the Slideshow

Go to the Layout menu, then add a new HTML/JavaScript page element that placed above the posts:



Menambahkan Widget
Adding widget

Copy the code below and paste it on the form:
<section id="dg-container" class="dg-container"></div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
var gallery_config = {
url: 'http://dte-feed.blogspot.com',
numPost: 3,
labelName: null,
monthArray: [
"Januari",
"Februari",
"Maret",
"April",
"Mei",
"Juni",
"Juli",
"Agustus",
"September",
"Oktober",
"November",
"Desember"
],
noImage: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAA3NCSVQICAjb4U/gAAAADElEQVQImWOor68HAAL+AX7vOF2TAAAAAElFTkSuQmCC',
newTabLink: false,
containerId: 'dg-container',
slider: {
itemWidth: 480,
itemHeight: 260,
prevText: '&lt;',
nextText: '&gt;',
current: 0,
autoplay: false,
interval: 2000
}
};
</script>
<script src="http://dte-project.googlecode.com/svn/trunk/blogger-3d-gallery.js"></script>
The
underlinedcode is JQuery. If your template already have a JQuery, remove the underlined code! We just need one forever.

Slideshow Configuration

OptionDescription
urlChange with your blog homepage URL.
numPostUsed to set the number of slides.
labelNameUsed to determine the specific label name to sort the posts by a specific label.
monthArrayArray of month names.
noImageChange with your own “no image” URL.
newTabLinkIf true, every link will automatically open in new tab/new window.
containerIdID of the slideshow container.
slider => itemWidthImage width in pixels.
slider => itemHeightImage height in pixels.
slider => autoplayIf true, the slideshow will be played automatically.
slider => intervalSlideshow interval if autoplay set to true.
Few suggestions: This slideshow is only use CSS3 Transition and CSS3 Transformation for the animation machine. This fact will be very closely related to the browser support (although we have used the Modernizr script so we will get a very nice fallback slideshow for the browser that does not support it). If you are interested, I'll post back a better similar slideshow that support for all browsers. This is called ImageFlow 1.3.0.
Just wait :)
Edit: Here it is!
f
Facebook
t
Twitter
g+
Google+
d
Unknown
10.53

2 komentar untuk "Automatic Slideshow for Blogger with 3D Gallery"

  1. Unknown16 Agustus 2014 pukul 07.29

    tes

    BalasHapus
    Balasan
      Balas
  2. Unknown16 Agustus 2014 pukul 07.29

    tes

    BalasHapus
    Balasan
      Balas
Tambahkan komentar
Muat yang lain...

Posting Lebih Baru Posting Lama Beranda
Langganan: Posting Komentar (Atom)
Find Us :

Categories

  • 2 Column
  • 3 Column
  • 4 Column
  • Ads Ready
  • Black
  • Blog SEO
  • Islamic
  • Template
  • Widget Blog
  • Wordpress Theme

Entri Populer

  • Pageone Blogger Template
    Pageone Blogger Template Features SEO Ready Custom Mobile Auto Readmore Breadcrumbs Related Post Page Number Navigation Instructions   --- R...
  • Blogger JSON - Top Commentators
    <!DOCTYPE html> < html > < head > < meta content = "text/html; charset=UTF-8" http-equiv = "Content-Ty...
  • Membuat Formulir Kontak Google Doc Agar Bisa Mengirimkan Datanya Langsung ke Kotak Pesan Email
    Sebenarnya Google Doc bukan merupakan layanan untuk membuat aplikasi-aplikasi semacam ini. Membuat formulir kontak menggunakan Google Doc ...
  • PHP Flat-File GuestBook
    Tampilan Buku Tamu Saya membuat aplikasi Buku Tamu tanpa basis data dengan PHP PHP Hypertext Preprocessor . Semua data disimpan di dalam se...
  • AlQuran Islamic Blogspot Template
    DEMO DOWNLOAD Template Name: Al-Quran Islamic Blogger Template Platform: Blogspot/ Blogger Author: Fatima Ahmed, Najwa Ahmed, Liza Burha...
  • Islamic Template - The Haven Of Karbala
    DEMO DOWNLOAD Template Name: The Haven Of Karbala Platform: Blogspot/ Blogger Author: IslamicWallpers Designer: http://islamicwallpers.devia...
  • Islamic Template - Abal Fazl Blogspot
    DEMO DOWNLOAD Template Name: Abal Fazl Islamic Blogger Template Platform: Blogspot/ Blogger Author: IslamicWallpers Designer: http://islami...
  • Daftar Tema - Widget Daftar Isi Blogger dengan Navigasi
    Di bawah ini adalah daftar tema untuk widget daftar isi Blogger dengan navigasi halaman . Untuk menerapkannya, caranya cukup dengan menggant...
  • Islamic Gallery Blogger Template
    DEMO DOWNLOAD Template Name: Islamic Gallery Blogger Template Platform: Blogspot/ Blogger Author: Muhammad Habib Effendi Designer: http...
  • Mas Sugeng Blogger Template
    Mas Sugeng Blogger Template Update: dikarenakan ada script yang tanpa sengaja terhapus jadi bagi yang sudah mendownload template ini silakan...

Tentang e Black Faster V1.1

Diberdayakan oleh Blogger.
Copyright 2013 Mas Dzaky - All Rights Reserved
Template by Mas Sugeng - Powered by Blogger