<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/AVvXsEhYZfMUs43CmH0jNccPEax_htTDW8NIKeipF5noutFIb1wsTTo05eKz9tm3EKCplcxUQ7uJkH9qbBwkZFrMOv8pTLc1g14pRbFwNTIzYgHJ3zKv1zXsY7X8bxD98R0SNXUW8GE_9OSkdsq_/s1600/0003.gif"
imgurl[1]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfTYOu3nnFSlWbxgA7T2py-LPwoQ2-W7dyo-yD2I7JpgXIpNctxsAdOe-dSJjoLEZM1_bv4FHG6YWRlyAABK9rKFE6rBZiidERHOeAh8HjUdvUJnplGtecBNckYQ8FbpbyxTg89xv-Njka/s1600/0008.gif"
imgurl[2]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJGK2Ql0dtTHZ4-DRmiG17W8PO40-90ls2MHgia_tp2vOGp1EQW8hDkT2J2ckFXKeE29Px8PtqArBcs7s_LXZ7IIA3OzZPtu6V0jFfoGkx9wZJLk33PLpvEAonCkYBPjVsFpp6hNLhEHZ5/s1600/0009.gif"
imgurl[3]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzmvZoyi4x-_xg3WiWSc_vxZw16f26gXhpHB8cv9a-rZ11ug8UaxUVGb4GiHSuzp5VtkHEv2se-PaHd1AqUsJJbku_FvAEEHbHxzxB3bLEsD6R4k9c8X6-PYLuvhngu6QFpNHknbY7qynI/s1600/0019.gif"
imgurl[4]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoiB7SjC5bghyphenhyphenaSBB3zS8Rid0RPdasW-pKoVnw81pINVouJfqf-LpQa8Ws-kwTfjVhDE4COrZBP3Ay6Q6uA0z0eD0ErRk3zA8HG1i8PppkbY_kBleFAVRzittyt7Kt27oUv12CXCpWamZV/s1600/0027.gif"
imgurl[5]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifUjuhIU6NIDI_Ia6cRHhZK4m3th3mPQxZVMUnjnWqCVo39o881LIUs6y77HI2OlliTb5yO08I7HfMMNu43Cx5Qzvr0s2kz7qfgfUn5FVCRpgQjG6OQCbFnznBtFNh90qBamHWKxXv3-Fd/s1600/0048.gif"
imgurl[6]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh80_mxIA9WcxveUQMW3ePaL0n5a-hRhSkvqTbjh_0RW6vFtmXmQxUatnuVn6I9kkJCg_StwpNIEKeUzo04Mf8v5tiZ-6h3Lce2ff538m_8XC5JPhT-yjN23_i_zp0mhKZn0cMcNTqii3j/s1600/0050.gif"
imgurl[7]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzXarHvuZzRIwBfrwfuuO0xh6dpY1dIn5eaBytGQdPLwMXTOnWHWFrn_jId7IB23cpMhlIHS1tkFhvTF8u9BFPgfeXRE1ltdnZIhsi0TgUMUk6VSaTjTomXIrd2vfJJkxFccbnup_X9eyR/s1600/0059.gif"
imgurl[8]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFqXZ4ubLW-kcDCBUTn3f-_FB2-Eab71nyTi_d_0YU4Cm2Z8LhSLhL-Na3JB3T7GlXMb7zTcFFhi1me1jAwNw7TNd6hrd_gYauHCLrvH2t2EItl_7SGZDKsCdDMPx065vDngnomHzOBN9G/s1600/0062.gif"
imgurl[9]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjncgiYBAfE96zf7eceDOaubliOP0J9el0MJrHmAOfs1JyrYQXBRqIilsQownVZ13S3Q5LNRhQUDPdDDbKfaLBV1vaFMWbQbmafhB-hbge3JVt7drJPK9mG36UI06CmoW1aJVp7xGPxDTuG/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-->