<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/AVvXsEix9fkeJRaO6BVq5udbcIITu-2ONYuBOHRypbbtehzIrEo8qefeREKRMKnLQ_EfbaHCmhrBL0cyKwUq0pA-hloXG43QV54rp0ZkYpWiBoe8tYQN5rhd7foxn5zRpEpj7GHETtUWQoDFYmRd/s1600/0003.gif"
imgurl[1]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCnQgA59-cRNWinov2Ii77OMjSa4F9oAbppJ3stUhkwIi8vVSsAnh2JoQRz4hTTF0n1r08kYeugJsZTT86FUXiWMIzz7G8gZVg8vhBxakCiaYgDnPqRwMaA76YBF4T3gKXvnOUkBRvjTpl/s1600/0008.gif"
imgurl[2]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3hyphenhyphenzID56ql0ITpTha9On9xKgRzMWeut3c3J62Yz_TnEsRq8KNHaznJswVjC_8su30VAKSSQGHJsp34jL-StxNtrLtsws50VJchlJxeyayZvTjWFH778cGiJZvz664WlH2Ez7cdOdjg30T/s1600/0009.gif"
imgurl[3]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUWO5PSa3HO8YyOKsCoIGVgktFmdT7Sp475hG8av2Y0z7jcUjOevt-TM4ib9nP-utx5rDnuV0S9XHT20k3_-BavCPXNPky37c2NwUya9zW8dS4B1TKmp_pe8-yjCtfXrnPu8dY9g8FUoh4/s1600/0019.gif"
imgurl[4]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2-pdNlWSy1lEYnScI5Egz5PcF1BBMEerXEpQa-GIYWlHYWfSxIseywLqTdj9JS38mnWhYPBFTS5fbQV7xrdO4qndQFpZ1gltCuJoRPj5f8qI9rU5QNF1nKpkw4-8WEOBEFtxibqnKmvZL/s1600/0027.gif"
imgurl[5]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilIGkBFu3bHi6KgQUw9u0iLfOvm4jgnkQMD2eZVt5_Ra_SyNij6GdajB9NXeF8wq-zd6i_7PAHxokMM2mD3iENA-88zH9ttqFw0hVhjy5FPxoNlSshxGimEjmz4-zv7uXG2rYfqDYIt4oq/s1600/0048.gif"
imgurl[6]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzccu_AfEf3Vhd6ELB0_GdBdBwBNKXTTdfaoaJYlv1Z-2BlWqxAciUZhl43HtOURqasRpuJ3stCp5tlTjHWu-BwAeCKBj_r4T4dBYw5atgw__dKBmEbhP1VoV9lal8xld5RabTMHRUL9KA/s1600/0050.gif"
imgurl[7]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxfkYApUKuX008UaRcbhKRX9Aq6xUjNgRbsNAHSqe5qSZDKs6M0QzJQHD4qi7aPHrYxZBbhx-PeREEzT9072Ct8hityWPi4BQKMGAcDId0vbakXjzCPlbbeoy3rKjZ0TKTLEdnu2GCqiK1/s1600/0059.gif"
imgurl[8]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiodNK9iAWGVLCMSRmx1hCFCHFy6wwEfeUqJcvksQLsQ0OHF_3T88HR609rW_Ukd_yIoTSBf2XvlSJU0ppMq9ZErwT7K82ZuPN9m_MNCExuLsPpOQ5DkBRxjyP7hBbplzt4lQRtVzue1FNe/s1600/0062.gif"
imgurl[9]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ6kB54peY4UUGkkjmNtGUd73nhP__ceWMef1BH_m9Bta5NnY7b6LYFygh8Q4sJt2gRQYr7ip9GtoGlyWQob7znagUgg4IPnld-LEnxM45pXZTpb0p-L3maTgBU_daYYorhAlZ6hW9OEsC/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-->