Trình chiếu bài viết dạng Slideshow cho Blog/web

Một tiện ích trình chiếu các bài viết trên Web/blog theo dạng Slideshow. Và bạn có thể tùy biến trình chiếu theo một nhãn nhất định.








Các bước thực hiện:
CSS
Bạn đăng nhập vào Blogspot -> Mẫu -> Chỉnh sửa HTML. Bạn copy toàn bộ code phía dưới dán vào ngay trước thẻ ]]></b:skin> 
(Mách nhỏ: Bạn bấm tổ hợp phím Ctrl+F và nhập vào ]]></b:skin> để tìm cho nhanh)
#tinycarousel {
  width:532px; /* Lebar Slideshow */
  height:1%;
  overflow:hidden;
  font:normal 10px/12px Arial,Sans-Serif;
  color:#666;
  margin:30px auto;
}
#tinycarousel .viewport {
  height:336px;
  overflow:hidden;
  position:relative;
  background-color:#eee;
  border:1px solid #ccc;
}
#tinycarousel ul.overview {
  list-style:none !important;
  position:absolute;
  padding:0 0 !important;
  margin:0 0 !important;
  width:240px;
  left:0;
  top:0;
}
#tinycarousel ul.overview li {
  list-style:none !important;
  float:left;
  margin:5px 0 5px 5px !important;
  padding:0 0 !important;
  height:auto !important;
  width:168px; /* Lebar satu unit slide */
  background-color:white;
  color:#666;
  border:1px solid #ccc;
}
#tinycarousel .inner {
  margin:10px;
  height:260px;
  overflow:hidden;
}
#tinycarousel img {
  width:auto;
  height:170px;
  border:none;
  outline:none;
  padding:0 0;
  margin:0 0;
  -webkit-box-shadow:none;
  -moz-box-shadow:none;
  box-shadow:none;
}
#tinycarousel h6 {
  border-top:1px solid #ddd;
  font:normal bold 11px/12px Verdana,Tahoma,Arial,Sans-Serif;
  color:#39f;
  margin:9px 0 5px;
  padding:10px 0 0;
  background:none;
  overflow:hidden;
}
#tinycarousel h6 a {
  color:inherit;
  text-decoration:none;
  border:none;
}
#tinycarousel p {
  margin:0 0;
  padding:0 0;
  overflow:hidden;
}
#tinycarousel em {
  font-style:normal;
  color:#aaa;
  background-color:#333;
  background-image:-webkit-linear-gradient(top,#555,#333);
  background-image:-moz-linear-gradient(top,#555,#333);
  background-image:-ms-linear-gradient(top,#555,#333);
  background-image:-o-linear-gradient(top,#555,#333);
  background-image:linear-gradient(top,#555,#333);
  display:block;
  padding:5px 10px;
  margin:0 0;
}
#tinyarrow {
  display:block;
  background-color:white;
  border:1px solid #ccc;
  padding:5px;
  margin:2px 0 0;
  overflow:hidden;
}
#tinyarrow .buttons {
  background-color:#666;
  border:none;
  outline:none;
  display:block;
  padding:2px 5px;
  overflow:hidden;
  position:relative;
  float:left;
  margin:0 1px;
  color:white;
  text-decoration:none;
  font-weight:bold;
}
#tinyarrow .disable {display:none}
#tinyarrow .buttons:active {
  background-color:#900;
  position:relative;
  top:1px;
}
#tinyarrow span {
  float:right;
  font:normal bold 11px/12px Tahoma,Verdana,Arial,Sans-Serif;
  margin:2px 5px 0 0;
}
#tinycarousel.vertical {width:242px}
#tinycarousel.vertical ul.overview li {
  float:none;
  display:block;
  width:228px;
  margin:5px auto 10px !important;
}
#tinycarousel.vertical img {
  width:100%;
  height:auto;
}
JAVA
Bạn tìm đến thẻ </head> vào coppy toàn code phía dưới dán vào ngay trước thẻ đóng. Lưu lại
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'></script>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function(){
    $('#tinycarousel').tinycarousel({
        start       : 1,
        display     : 1,
        axis        : 'x',
        interval    : false,
        intervaltime: 3000,
        animation   : true,
        duration    : 1000,
        callback    : null
    });
});
//]]>
</script>
<script src='http://reader-download.googlecode.com/svn/trunk/jquery.tinycarousel-custom.js' type='text/javascript'></script>  
Tiện ích HTML
Bạn vào ngay phần Bố Cục -> Chọn thêm một Tiện Ích HTML ( Bạn muốn hiện ở đâu thì đặc ngay ở đó)
Dán code phía dưới vào tiện ích. Lưu lại
<script type="text/javascript">
var showPostDate_g  = true,
    showComm_g      = true,
    slideOpenNewTab = true,
    idMode          = true,
    slidebyLabels   = false, // Giá trị true nếu bạn muốn trình chiếu một nhãn nhất định
    slideLabelName  = "Hệ Thống", // Nhãn bài viết của bạn
    pBlank          = "http://2.bp.blogspot.com/-11FkySHGB5Y/TpZ6SSbsF2I/AAAAAAAAA94/zK10UaL7jgo/s1600/images.jpeg",
    text            = "Bình luận",
    numposts_g      = 7,
    numchars_g      = 100,
    showText        = "Hiển thị",
    postText        = "Bài đăng",
    tinyprevNav     = "&lt;",
    tinynextNav     = "&gt;",
    home_page       = "http://www.tynisoft.com"; //  Thay thế bằng url của bạn
</script>
<script src="http://reader-download.googlecode.com/svn/trunk/autoContent4TinyCarousel.js" type="text/javascript"></script> 
Tùy Chỉnh
Màu đỏ: nếu web bạn đã có thư viện Java thì bỏ qua dòng đó
Màu xanh: bạn tùy thay đổi
Màu cam: Bạn có thế tùy chỉnh các kiểu trình chiếu bằng cách thay thế đoạn code màu cam.
Cấu hình tự động: DEMO
$('#tinycarousel').tinycarousel({
    start       : 1,
    display     : 1,
    axis        : 'x',
    interval    : true,
    intervaltime: 3000,
    animation   : true,
    duration    : 1000,
    callback    : null
}); 
Cấu hình theo chiều dọc: DEMO 
$('#tinycarousel').tinycarousel({
    start       : 1,
    display     : 1,
    axis        : 'y',
    interval    : true,
    intervaltime: 3000,
    animation   : true,
    duration    : 1000,
    callback    : null
}); 
Cấu hình chuyển 3 Slide bằng cách nhấn Navigation: DEMO
$('#tinycarousel').tinycarousel({
    start       : 1,
    display     : 3,
    axis        : 'x',
    interval    : false,
    intervaltime: 3000,
    animation   : true,
    duration    : 1000,
    callback    : null
}); 
Chúc các bạn thành công.
Nguồn sưu tầm.

Tiện Ích Recent Posts - Dạng 6

Tiện ích Recent Post dạng Slideshow ảnh rất thích hợp cho các trang Tin Tức.









Thêm một tiện ích HTML
Bạn đang nhập vào Blogspot -> Bố Cục -> Thêm Tiện Ích HTML. Và coppy toàn bộ code phía dưới dán vào Save lại. Xong
<link rel="stylesheet" type="text/css" href="http://blogger-json-experiment.googlecode.com/svn/resources/blogger-feed-rotator-plugin/default-style.min.css"/>
<div id="slider-rotator" class="slider-rotator loading"></div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script><script type="text/javascript" src="http://blogger-json-experiment.googlecode.com/svn/resources/blogger-feed-rotator-plugin/blogger-feed-rotator.min.js"></script>
<script type="text/javascript">
makeSlider(
{
    url: "http://www.tynisoft.com", // blog URL của bạn
    numPost: 5, // Số bài viết để hiển thị
    newTabLink: false, // `true` để tự động mở liên kết trong cửa sổ mới tab
    labelName: null, // Hiển thị bài viết trong nhãn cụ thể. Xác định tên nhãn của bài viết, hoặc `null` để hiển thị tất cả các bài viết.
    showDetail: true, // `false` để ẩn các bài đăng blog tiêu đề và mô tả.
    summaryLength: 60, // Chiều dài của bài tóm tắt.
    titleLength: "auto", //  chiều dài của tiêu đề bài viết. "auto" mặc định, hoặc chỉ định số lượng để cắt các ký tự tiêu đề bài viết và cắt nó với `...`
    showThumb: true, // `false`để ẩn các bài hình thu nhỏ
    thumbWidth: 250, // Chiều rộng của bài trước trong pixel
    squareThumb: true, // chế độ / / thu nhỏ: chế độ Quảng trường hoặc sử dụng hình thu nhỏ quy mô với chiều rộng ban đầu và tỷ lệ chiều cao
    noThumb: "images/grey.png", // Dự trữ hình ảnh thu nhỏ không có bài viết
    showNav: true, // `true` để cả hai chương trình kế tiếp / trước chuyển hướng và số chuyển hướng, "tiếp theo / trước" để hiển thị tiếp theo / trước chuyển hướng chỉ, "số" để hiển thị số chuyển hướng chỉ, `sai` để ẩn chuyển hướng
    navText: {
        prev: "&lt;", // Label of the previous navigation
        next: "&gt;" // Label of the next navigation
    },
    containerId: "slider-rotator" // HTML ID yếu tố được sử dụng để hiển thị trình slideshow/rotator
}
);
</script>
Mở rộng thêm tiện ích
Hình minh họa
Đối với bạn nào muốn Hiện Silder ở trang chủ thì sử dụng Code như sau:
<link rel="stylesheet" type="text/css" href="http://blogger-json-experiment.googlecode.com/svn/resources/blogger-feed-rotator-plugin/default-style.min.css"/>
<style type="text/css">
/* Custom CSS here... */
.slider-rotator {
  width:600px;
  height:240px;
  padding:0 0;
  background-color:white;
  font:italic normal 12px/1.4 Georgia,Serif;
  color:white;
  border:1px solid black;
}
.slider-rotator .slider-item {
  background-color:white;
  height:240px; /* Same with `.slider-rotator` height */
  padding:0 0;
}
.slider-rotator h4 {margin-top:0}
.slider-rotator p {margin:2px 0 0}
/* Slider details as caption */
.slider-rotator .detail-wrapper {
  position:absolute;
  top:auto;
  right:0;
  bottom:0;
  left:0;
  background-color:black;
  background-color:rgba(0,0,0,.9);
  padding:.5em 1em;
  z-index:4;
}
</style>
<div id="slider-rotator" class="slider-rotator loading"></div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="http://blogger-json-experiment.googlecode.com/svn/resources/blogger-feed-rotator-plugin/blogger-feed-rotator.min.js"></script>
<script type="text/javascript">
makeSlider({
    url: "http://tynisoft.blogspot.com",
    thumbWidth: 600,
    // Hide all captions on initiation...
    onInit: function() {
        $('#' + this.containerId).find('.detail-wrapper').hide();
    },
    // Hide the caption with `.slideUp()` effect when the slide item hides
    onHide: function() {
        $('#' + this.containerId).find('.detail-wrapper').slideUp();
    },
    // Show the caption with `.slideDown()` effect when the slide item appears
    onShow: function(index) {
        $('#' + this.containerId).children().eq(index).find('.detail-wrapper').slideDown();
    }
});
</script>
Hiện cùng lúc 3 Khung tiện ích và theo Nhãn bài viết

Hình minh họa

<link rel="stylesheet" type="text/css" href="http://blogger-json-experiment.googlecode.com/svn/resources/blogger-feed-rotator-plugin/default-style.min.css"/>
<style type="text/css">
/* Custom CSS here... */
.slider-rotator-wrapper {
  width:630px;
  padding:10px 5px;
  border:1px solid #ccc;
  background-color:white;
  margin:0 auto;
}
.slider-rotator-wrapper .grid {
  float:left;
  margin:0 5px;
}
.slider-rotator {
  padding:0 0;
  border:none;
  width:200px;
  height:320px;
}
.slider-rotator .slider-item {padding:0 0}
.slider-rotator-nav {
  overflow:hidden;
  margin-top:10px;
  border:1px solid #999;
  background-color:#ccc;
  padding:2px 0;
}
.slider-rotator-nav a {
  margin:0 0;
  display:inline-block;
  line-height:normal;
}
.clear {clear:both}
</style>
<div id="slider-rotator-wrapper" class="slider-rotator-wrapper">
    <div class="grid">
        <div id="slider-rotator-1" class="slider-rotator loading"></div>
    </div>
    <div class="grid">
        <div id="slider-rotator-2" class="slider-rotator loading"></div>
    </div>
    <div class="grid">
        <div id="slider-rotator-3" class="slider-rotator loading"></div>
    </div>
    <div class="clear"></div>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="http://blogger-json-experiment.googlecode.com/svn/resources/blogger-feed-rotator-plugin/blogger-feed-rotator.min.js"></script>
<script type="text/javascript">
makeSlider({
    url: 'http://luubutsong.blogspot.com', //  url web của bạn
    labelName: "Tình Yêu", // Nhãn bạn muốn hiển thị
    thumbWidth: 200,
    interval: 10000,
    containerId: "slider-rotator-1"
});
makeSlider({
    url: 'http://luubutsong.blogspot.com',
    labelName: "Cuộc Sống", // Nhãn bạn muốn hiển thị
    thumbWidth: 200,
    interval: 10000,
    containerId: "slider-rotator-2"
});
makeSlider({
    url: 'http://luubutsong.blogspot.com',
    labelName: "Gia Đình", // Nhãn bạn muốn hiển thị
    thumbWidth: 200,
    interval: 10000,
    containerId: "slider-rotator-3"
});
</script>
Tùy chỉnh
Màu đỏ: Nếu web/blog bạn đã có thư viện Java thì bỏ qua dòng đó.
Màu xanh: Thay địa chỉ URL của ban.