Tùy biến Popular post đẹp mắt cho Blogger

Người đăng: yeu mai em on Thứ Tư, 3 tháng 7, 2013

Popular post luôn không thể thiếu cho một Blog ! Với hiệu ứng rất đẹp mắt khi di chuyển thủ thuật Popular post hôm nay Viettin24h.com muốn chia sẻ đến các bạn  có thể như 1 recent post trang trí rất thuận tiện cho người xem !

Ảnh minh họa:


Bắt dầu thủ thuật :
1. Đăng nhập Blogger
2. Chọn bố cục--> thêm tiện ích HTML/ Javascript
3.Dán code bên dưới vào wiget vừa tạo:



<style>
* {
margin: 0;
padding: 0;
}

body {
font: 11px Helvetica, Arial, sans-serif;
}

#wrapper {
width: 800px;
margin: 60px auto;
}

#intro {
padding-bottom: 10px;
}

#slider {
width: 800px;
margin: 0 auto;
position: relative;
border: 10px solid #ccc;
}

.scroll {
overflow: hidden;
width: 800px;
margin: 0 auto;
position: relative;
}

.scrollContainer {
position: relative;
}

.scrollContainer div.panel {
padding: 10px;
width: 274px;
height: 318px;
}

#left-shadow {
position: absolute;
top: 0;
left: 0;
width: 12px;
bottom: 0;
background: url(http://i879.photobucket.com/albums/ab351/bloggerblogimage/blogger/leftshadow.png) repeat-y;
}

#right-shadow {
position: absolute;
top: 0;
right: 0;
width: 12px;
bottom: 0;
background: url(http://i879.photobucket.com/albums/ab351/bloggerblogimage/blogger/rightshadow.png) repeat-y;
}

.inside {
padding: 10px;
border: 1px solid #999;
}

.inside img {
display: block;
border: 1px solid #666;
margin: 0 0 10px 0;
width: 250px;
}

.inside h2 {
font-weight: normal;
color: #111;
font-size: 16px;
margin: 0 0 8px 0;
}

.inside p {
font-size: 11px;
color: #ccc;
}

a {
color: #999;
text-decoration: none;
border-bottom: 1px dotted #ccc;
}

a:hover {
border-bottom: 1px solid #999;
}

.scrollButtons {
position: absolute;
top: 127px;
cursor: pointer;
}

.scrollButtons.left {
left: -45px;
}

.scrollButtons.right {
right: -45px;
}

.hide {
display: none;
}

</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="http://accordion-template.googlecode.com/svn/trunk/slidermovingbox.js" type="text/javascript" charset="utf-8"></script>
4. Sắp xếp tiện ích như bên dưới

5. Lưu lại và xem kết quả

Chúc các bạn thành công !

{ 0 nhận xét... read them below or add one }

Đăng nhận xét