<center>
<style>
.textboxstyle {
font-family:Arial;
font-size:16pt;
color:black;
text-align:center;
vertical-align:top;
}
.textboxbackgroundstyle {
background-color:white;
padding:5px;
/* rounded corners for Firefox */
-moz-border-radius-topleft: 15px;
-moz-border-radius-bottomright: 15px;
/* rounded corners for for Safari and Chrome */
-webkit-border-top-left-radius: 15px;
-webkit-border-bottom-right-radius: 15px;
/* rounded corners for Opera */
border-top-left-radius: 15px;
border-bottom-right-radius: 15px;
}
.curveandshadowstyle {
/* shadow and rounded corners for Firefox */
-moz-box-shadow: 5px 5px 8px #818181;
-moz-border-radius-topleft: 25px;
-moz-border-radius-bottomright: 25px;
/* shadow and rounded corners for Safari and Chrome */
-webkit-box-shadow: 5px 5px 8px #818181;
-webkit-border-top-left-radius: 25px;
-webkit-border-bottom-right-radius: 25px;
/* shadow and rounded corners for Opera */
box-shadow: 5px 5px 5px #818181;
border-top-left-radius: 25px;
border-bottom-right-radius: 25px;
/* shadow for Internet Explorer */
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#818181');
border-style:solid;
border-width:1px;
border-color:white;
}
</style>
<!----------------------------------------->
<!-- STYLE-CONFIGURATION STOPS HERE -->
<!----------------------------------------->
<script>
var imgurl= new Array()
var message= new Array()
var thislink= new Array()
/////////////////////////////////////////////////
// SCRIPT-CONFIGURATION STARTS HERE
/////////////////////////////////////////////////
// Các link ảnh theo thứ tự
imgurl[0]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQTcOfwDYmhxluq2ZziJ3TCVwMKX1Gk9j0-tunEN-JQEB4tk5Si_yUtjumkGY3X5pAcZ8t9NiaIZ6HiTtLYhuMUUCn3lVBnJq9jiGsCnHvDMCSknL6CgvW0Mz0bgHocv9z0L1vIWRH_FYT/s1600/0003.gif"
imgurl[1]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJPGKJVYuQUoYrv_xKGQqZJZ_PgohoLNZSoySXModv8qN4f430UBKWueW97KO6K_Uak8vRtt6PIw83L7o7oD3ImPghuyNV-F3ckam6jh_YS78zMhL7RzveeTe8l9pCI6Fydc3F0aAEzs8z/s1600/0008.gif"
imgurl[2]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEUEmCA1R1yBCjj5fJMlPtESl3Nzo8mgtiRp4-YZKkQDnlDhZDyg4mYefr3zD1dNio2FWwbYOlSybKvJxhfjaqLaGvgzbL8rSweCSn_rDzyCwniHSS9-aqgIEhed94c9MbtbBj8_2239Bs/s1600/0009.gif"
imgurl[3]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6QHpQOb7gzMakNf37aJVqsSqynx7cNVPIJlpyJw3_ebFPd-in6ncTeCHsUEt58Ze7QGqc2kwb7Ab5f8LhCwgrawEh9yY_cqDvhb6YLDaB2BjiBzK-ocYsceh9HAoTWb_AfHUrHcKeQzCZ/s1600/0019.gif"
imgurl[4]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmuo9DxNrGwEuDTJDiWfWAfApCg-nimICeu9TunekAoEIDpDa2DKQyL74rvhAZapjQLFF29h2MyGgQHO0MPJOVQyislcbqlkQc_jPYF-5Rfjg93JmlHp2sWsTpiMNY58cpzcVF_btcSdbd/s1600/0027.gif"
imgurl[5]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJrnajE2CXk_GywP_Lvmzj9NkCrbWHtpXbkG5M8GjsqDi8pmH9Pu45KxOqfiK4-NrmW_02knlGIpLHacXU_OzG9_xFlVsHJbF_kiwPAfI01fCiiafgyQ8I0D1GsPr_dU5sEIxTMGPJfOzx/s1600/0048.gif"
imgurl[6]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPO6VMSp_EUimPFo_wjM8dIrYGm3rmV82hFe-iOG3Vm_LXWdEQO4ERc8CtmnFAuFmkjwMP3ebwK8elYvFT1CvmnU0hIQRKK9c0EUUQSvmTfiw5Tl-AXyL_9hQaX4uxc2qYaprJsmNRts4d/s1600/0050.gif"
imgurl[7]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNXB9QyIvPQws44xRdTzKfCH7EfcxcANloSgasU3vUfDGipNGl1taTpEYrqSYvf2pdMvp7A3-O6mUes0jZRDrA2wsOtUvdj5SWEUcA1Ky6CAzbuy4EFS05uT_GUXhpXWEfHG9tnM9xvPCw/s1600/0059.gif"
imgurl[8]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXpRASXBSrYDrm9WnYIzrm-yecihKAAJyAwSV-rCqH50hdLjTHGOqlvZxkQVbW0fq817zsPJHk8Tg5iVv7qMx1ySszPee8cJ-JzPwex3uAcxDgM-sEPWx2oQj2-0hdJLWdVuUPSEzsGyu2/s1600/0062.gif"
imgurl[9]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3whtQe5MzyW8P_nWDFULv5sbdiehYHWV1UlSF5gj28MQWmW5fTEhdFyTy829WSpzeayHJ2O5QT4liajZJTuKIpfQsyLDc6eB13ZUHhjmrenI15mfFdAXJ-HE7sA7Bp1Huf4700L91uxuI/s1600/0069.gif"
// Ghi chú cho ảnh
message[0]="Welcome to my Blog"
message[1]="dunghennessy"
message[2]="Cám ơn các bạn đã ghé tham quan"
message[3]="Chúc các bạn luôn vui khoẻ"
// set the links corresponding to the images above (no more no less than the images above)
// Nếu muốn đặt liên kết thì thay dấu # bằng link mình muốn liên kết đến
thislink[0]="#"
thislink[1]="#"
thislink[2]="#"
thislink[3]="#"
// Chiều rộng của ảnh (pixel)
var imgwidth=240
// Chiều cao của ảnh (pixel)
var imgheight=320
// set stillstand of picture (seconds)
var stillstand=2.5
// set opacity-strength (transparency-effect). Values may range from 1 to 100
var opacitystrength=60
/////////////////////////////////////////////////
// SCRIPT-CONFIGURATION STOPS HERE
/////////////////////////////////////////////////
// Do not edit below this line
var tmr
var step=10
var i=imgwidth
var i_imgurl=0
stillstand*=1000
var preloadedimages=new Array()
for (iii=0;iii<imgurl.length;iii++){
preloadedimages[iii]=new Image()
preloadedimages[iii].src=imgurl[iii]
}
function shrinkpic() {
document.getElementById("textbox").innerHTML=""
if (i>0) {
i-=step
document.getElementById("picdiv").style.width=i+"px"
document.getElementById("picdiv").style.height=i*(imgheight/imgwidth)+"px"
document.getElementById("picdiv").style.left=imgwidth/2-(i/2)+"px"
document.getElementById("picdiv").style.top=(imgwidth/2-(i/2))*(imgheight/imgwidth)+"px"
tmr=setTimeout("shrinkpic()",20)
}
else {
i_imgurl++
if (i_imgurl>=imgurl.length) {
i_imgurl=0
}
document.getElementById("picdiv").style.background="url("+imgurl[i_imgurl]+")"
i=1
tmr=setTimeout("enlargepic()",20)
}
}
function enlargepic() {
if (i<=imgwidth) {
i+=step
document.getElementById("picdiv").style.width=i+"px"
document.getElementById("picdiv").style.height=i*(imgheight/imgwidth)+"px"
document.getElementById("picdiv").style.left=imgwidth/2-(i/2)+"px"
document.getElementById("picdiv").style.top=(imgwidth/2-(i/2))*(imgheight/imgwidth)+"px"
tmr=setTimeout("enlargepic()",20)
}
else {
i=imgwidth
showmessage()
}
}
function showmessage() {
document.getElementById("textbox").innerHTML='<span class="textboxbackgroundstyle">'+message[i_imgurl]+'</span>'
tmr=setTimeout("shrinkpic()",stillstand)
}
function gotothislink(){
document.location.href=thislink[i_imgurl]
}
document.write('<div id="roof" style="position:relative;width:'+imgwidth+'px;height:'+imgheight+'px;">')
document.write('<div id="picdiv" class="curveandshadowstyle" style="position:absolute;background:url('+imgurl[0]+');width:'+imgwidth+'px;height:'+imgheight+'px;top:0px;left:0px;"></div>')
document.write('<div id="tt" onClick="gotothislink()" style="position:absolute;width:'+imgwidth+'px;height:'+imgheight+'px;top:0px;left:0px;filter:alpha(opacity='+opacitystrength+');opacity:'+(opacitystrength/100)+';cursor:pointer;"><table width='+imgwidth+' height='+imgheight+'><tr><td id="textbox" class="textboxstyle"><span class="textboxbackgroundstyle">'+message[0]+'</span></td></tr></table></div>')
document.write('</div>')
window.onload=shrinkpic
</script></center>
<!-- END OF THE CODE FOR THE CSS-3-SLIDESHOW-->