Kali ini saya akan berbagi tutorial tentang menambahkan tombol Back toTop dan Kembali kebawah. Langsung dah cek. Teidak perlu berlama-lama ngoceh. hehe..
Bagaimana cara menginstalnya?
1. Seperti biasa Login dulu ke Blogger > Template > Edit HTML.
2. Centang pada Expand Template Widget.
3. Cari (menggunakan CTRL + F) untuk ]]> </ b: skin> di blog Anda HTML.
4. Copy dan paste di bawah kode CSS tepat di atas ]]> </ b: skin> .
Bagaimana cara menginstalnya?
1. Seperti biasa Login dulu ke Blogger > Template > Edit HTML.
2. Centang pada Expand Template Widget.
3. Cari (menggunakan CTRL + F) untuk ]]> </ b: skin> di blog Anda HTML.
4. Copy dan paste di bawah kode CSS tepat di atas ]]> </ b: skin> .
/* Up and Down Buttons with jQuery
----------------------------------------------- */
.button_up{
padding:7px; /* Distance between the border and the icon */
background-color:white;
border:1px solid #CCC; /* Border Color */
position:fixed;
background: white url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9vquSbp-oKmn5RBqOL2h3Lbe54LZ8uHZjO0VXroAHyTpnezYCzU4wovEXM0JfFtmoaQyLkcnY5oHTnNFzjQcoF75fD22Ghm3rQvMlCh1DGitwqHRRyid4NvI9TkHVID9ADdN42a3grgc/s16/arrow_up.png) no-repeat top left;
background-position:50% 50%;
width:20px; /* Button's width */
height:20px; /* Button's height */
bottom:280px; /* Distance from the bottom */
right:5px; /* Change right to left if you want the buttons on the left */
white-space:nowrap;
cursor: pointer;
border-radius: 3px 3px 3px 3px;
opacity:0.7;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}
.button_down{
padding:7px; /* Distance between the border and the icon */
background-color:white;
border:1px solid #CCC; /* Border Color */
position:fixed;
background: white url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd07u9bWN1BqOWkwKw3bzy9zqP8dAUJMPRI2KCDe9c8ZkbZvdrETrjlgZrrfTRzQ3eOIqthSn5bTOfLwoIOBGSGIPPwjbBmCAl1BrtEqyqEXbc-nL5zcRsIh2WFfF2o-K6Jzi2qmVvtPc/s16/arrow_down.png) no-repeat top left;
background-position:50% 50%;
width:20px; /* Button's width */
height:20px; /* Button's height */
bottom:242px; /* Distance from the bottom */
right:5px; /* Change right to left if you want the buttons on the left */
white-space:nowrap;
cursor: pointer;
border-radius: 3px 3px 3px 3px;
opacity:0.7;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}
1 comments:
keren gan,,, salam sukses jangan lupa kunbal :)