Slide


Mời Ba về ăn Tết với chúng con
  • kenny

  • kenny

Trang

Thứ Tư, 30 tháng 1, 2013

Mã làm SlideShow


<style>
.sl_kenny_m {position:relative;width:610px;height:340px;background:#000;}
.sl_kenny_m ul{display:none;}
.sl_kenny_m .ctn_sl_kenny{overflow:hidden;position:relative;}
.sl_kenny_m .image{overflow:hidden;}
.sl_kenny_m .image img{display:none;}
.sl_kenny_m .box_clone{position:absolute;top:0;left:0;width:100px;overflow:hidden;display:none;z-index:2;}
.sl_kenny_m .box_clone img{position:absolute;top:0;left:0;z-index:2;}
.sl_kenny_m .prev_button{position:absolute;top:50%;left:10px;z-index:10;width:32px;height:34px;overflow:hidden;text-indent:-9999em;margin-top:-25px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpAZF_fpZr-04k2y-5uEi6fd26moytXCKNp731trzSRqSg30eIoywgMD1jfWX4es6jsp8ACl1zrZtwh85Jd80u4VWrn48EIl494jxo9O0UM_UXiWsvZoqC7KR758OvQppOzNxwUKz6W_KA/s34/prev.png) no-repeat left top;}
.sl_kenny_m .next_button{position:absolute;top:50%;right:10px;z-index:10;width:32px;height:34px;overflow:hidden;text-indent:-9999em;margin-top:-25px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio_3RTBSYCN4ufIMFdDHPsZSjjqhDWWBF0L-GP4EWhyphenhyphenL2EEENOdPC-Ju_EmznS-aKNgHsifqUPFRleskJ_myafvjrXqtNfzWYZYZKsEk9ewor7sRiV8sMSMukagcPDRv2rZLDdXqebjZSQ/s34/next.png) no-repeat left top;}
.sl_kenny_m .tt_sl{position:absolute;top:15px;left:15px;z-index:10;background:#000;color:#fff;font:bold 11px arial;padding:5px 0 5px 5px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;opacity:.75;}
.sl_kenny_m .tt_sl .img_nb{background:#333;float:left;padding:2px 10px;margin:0 5px 0 0;cursor:pointer;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;}.sl_kenny_m .tt_sl .img_nb_select{background:#c00;float:left;padding:2px 10px;margin:0 5px 0 0;}
.sl_kenny_m .container_thumbs{position:relative;overflow:hidden;height:50px;}.sl_kenny_m .tt_sl_thumb{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;overflow:hidden;height:45px;top:auto;bottom:-5px;left:-5px;padding:5px;opacity:1.0;}.sl_kenny_m .tt_sl_thumb .img_nb{overflow:hidden;width:70px;height:40px;position:relative;}
.sl_kenny_m .tt_sl_thumb .img_nb img{position:absolute;top:-50px;left:-50px;}.sl_kenny_m .box_scroll_thumbs{padding:0 10px;}.sl_kenny_m .box_scroll_thumbs .scroll_thumbs{position:absolute;bottom:60px;left:50px;background:#ccc;background:-moz-linear-gradient(-90deg,#555,#fff);background:-webkit-gradient(linear,left top,left bottom,from(#555),to(#fff));width:200px;height:10px;overflow:hidden;text-indent:-9999em;z-index:11;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;border:1px solid #333;}
.sl_kenny_m .tt_sl_dots{position:absolute;right:10px;bottom:10px;z-index:16;padding:5px 0 5px 5px;-moz-border-radius:50px;-webkit-border-radius:50px;border-radius:50px;}
.sl_kenny_m .tt_sl_dots .img_nb{background:#333;float:left;margin:0 5px 0 0;cursor:pointer;-moz-border-radius:50px;-webkit-border-radius:50px;border-radius:50px;width:18px;height:18px;text-indent:-9999em;overflow:hidden;}
.sl_kenny_m .tt_sl_dots .img_nb_select{background:#c00;float:left;margin:0 5px 0 0;}
.sl_kenny_m .ll_sl_kenny{z-index:15;position:absolute;bottom:0;left:0;display:none;}.loading{position:absolute;top:50%;right:50%;z-index:10000;margin:-16px -16px;color:#fff;text-indent:-9999em;overflow:hidden;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRsJyzkjflpMeFz9NrRVX0At3IOeglWQO1m-ihyYw9icu7tVT0dvOQxLFjW8ZCUJQAkypqAdsB1-C0_ZuyvSGztVDQ-ME-StGExiepnOmWbFU_MV2TKwUzuOOo-WskbGZVF5lysy0lSLcB/s32/ajax-loader.gif) no-repeat left top;width:32px;height:32px;}
.ll_sl_kenny{z-index:15;position:absolute;bottom:0;left:0;color:#fff;display:none;opacity:.8;background:#000;}
.ll_sl_kenny p{padding:10px;margin:0;font:normal 22px arial,tahoma;letter-spacing:-1px;}.tt_sl *{font-family:Consolas,arial,tahoma!important;}
.sl_kenny_m .progressbar{background:#000;position:absolute;top:5px;left:15px;height:5px;width:200px;z-index:9;border-radius:20px;}#prev_sl{display:none;position:absolute;z-index:17;bottom:30px;left:-40px;width:100px;height:100px;background:#fff;border:1px solid #222;-moz-box-shadow:rgba(0,0,0,0.7) 2px 2px 5px;-webkit-box-shadow:rgba(0,0,0,0.7) 2px 2px 5px;box-shadow:rgba(0,0,0,0.7) 2px 2px 5px;overflow:hidden;}#prev_sl ul{height:100px;overflow:hidden;margin:0;list-style:none;display:block;position:absolute;top:0;left:0;}
#prev_sl ul li{width:100px;height:100px;overflow:hidden;float:left;margin:0;padding:0;position:relative;display:block;}#prev_sl ul li img{position:absolute;top:0;left:0;height:150px;width:auto;}#overlay_sl_kenny{position:absolute;top:0;left:0;width:100%;z-index:9998;opacity:1;background:#000;}
.sl_kenny_m .focus_button{position:absolute;top:50%;z-index:10;width:42px;height:42px;overflow:hidden;text-indent:-9999em;margin-top:-25px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRoTx7tTPtvDuNR5L335LIPE83VwFG3cOos46hgYkl53-sVuC1RPKvhMU8o5w2mQmjt4LIoJoTUfv4SDl-bISYVBhu66HqmdaHniy58i5HV9Ke6tWZlvbrpE3euMqN1zFF9aIsS1M4ZYDF/s42/focus-button.png) no-repeat left top;opacity:0;}
.sl_kenny_m .play_pause_button{position:absolute;top:50%;z-index:16;width:42px;height:42px;overflow:hidden;text-indent:-9999em;margin-top:-25px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuJRqCBObSh3s9u7ktWDfV9Y90vt1zou_rbn11SEwy_SiDtnC2DL3qC_wVupSoQKanx63q3yNvw4XGi0TPodMWvHAMK9kxhMWY8KGl6mHOz-QZXVQbonsME9wyIOuPIpDaPpnvAfx7s7Am/s42/pause-button.png) no-repeat left top;opacity:0;}
.sl_kenny_m .play_pause_button.play_button{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFz-5BYAtxjZ3W2kpEWcyD6M_76INfeiV61WUDZCGaAQaoNKd09ns2VOJJP8tQf-QKHMC8E9777N7XtEBupL8T3FtNs_Z3nnzumb6lhYHhjWgx5TFAsNkGt05RPtfs59Isd1b3qUJXOdaW/s42/play-button.png) no-repeat left top;}.sl_kenny_m_small {width:200px;height:100px;}
</style>
<script type="text/javascript" src="http://onlinseeding.googlecode.com/files/jq144.js"></script>
<script type="text/javascript" src="http://onlinseeding.googlecode.com/files/sl_kenny.js"></script>
<script type="text/javascript" src="http://onlinseeding.googlecode.com/files/animate_colors.js"></script>
<script type="text/javascript" src="http://onlinseeding.googlecode.com/files/easing13.js"></script>
<script>
$(document).ready(function() {
$('.sl_kenny_w').sl_kenny({
animation: "random",
interval: 3000,
stop_over: false,
max_number_height: 8,
numbers_align: "Left",
numbers: false,
label: false,
dots: true,
animateNumberOut:{backgroundColor:'#e2e2e2', color:'#fff'},
animateNumberOver:{backgroundColor:'#fff', color:'#000'},
animateNumberActive:{backgroundColor:'#FF8DC4', color:'#fff'},
controls: true,
controls_position: "leftTop",
progressbar: true,
progressbar_css: {
top:'10px',
left:'50px',
height:6,
borderRadius:'2px',
width:560,
backgroundColor:'#FF8DC4',
opacity:.7
}
});
});
</script>
<div class="bb_c">
<div class="sl_kenny_m sl_kenny_w">
<ul>
<li><a href="Ảnh 1" target="_blank"><img src="Link ảnh 1" /></a>
</li>
<li><a href="Ảnh 2" target="_blank"><img src="Link ảnh 2" /></a>
</li>
<li><a href="Ảnh 3"><img src="Link ảnh 3" /></a><div class="noi_dung"><p>kenny</p></div>
</li></ul>
</div>
</div>

Không có nhận xét nào:

Đăng nhận xét