<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/AVvXsEj9Oxdlnj_O7bynqrnjvzhv4wsOVGCl4QQgK20E6qIWmhov3dA8GELqIDhyVsaM7E-gHhPYnM_z1XLjbalWbdFYUjgmb4SjeEp4BckdIl_rFj_yHO2fhGkNX5ippzSkgaKGnRqj86sYPkkR/s1600/0003.gif"
imgurl[1]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2rTnpwW6WUcVIBWZg8BSC5eJg2ll0T8FeVyGH0vmatUBojmReRY5jvW0fY4pRwrXT4b4ivwwuUI6W1Fcf4W-hlFnoSVsvbNJDScaMnZyVswCSkdaIJCZl8sF_5OXhlsnITgwFy-O3aLP1/s1600/0008.gif"
imgurl[2]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoDRcnuL-rc_LEDBAUpjIaxY7JpSsJ-E6mUGui61xgBorlHe0FndJ9PuCCTuEGFk54cE7FPzeqr8gHJDSgxQ2N5B2wNq6R3QpdH-b9S8-hwrP7v07a8Vb9yJky_fi0-G-pr_VmM_RByn5c/s1600/0009.gif"
imgurl[3]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNb4coYg0gZa9FmVMbt4szfGVXRgjDsilPl835YMTJZJ7SNb-yQ7C-KTnpqRgE2KGwOSUgOIKaemt-iFBvbo0lIdNqi_VGWPwNrhjoacOdckzkOKHM77_rPCZBNzSUZoA4PWw7ndOFOdaR/s1600/0019.gif"
imgurl[4]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6gSKws-KfAvEEZI1S_rvNGST8-1jVpMk4801CBaky8_c5SBruypmTl-QDK2jC1QF8ywDNACvxUDpxG5op7W9LqHR2SMkyUNOFL4zCIs37tIgr1m24YRU_7lCqBwpz0SJNYFeM8nIo0kW4/s1600/0027.gif"
imgurl[5]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv978QGq8YzX1NSpRaoZhpd3vgQdWwZDzzvnfrjJ3h98XhbMkXhIejy3dUMrh1BTk_UA1RtuPjbSeL8r0chNgHp3DMyqCnhckrJe5DGNSaeLa-L2_fu5nY6XY4BMadZT4eUjauNfKN45K6/s1600/0048.gif"
imgurl[6]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyQnIywKEEbJWqLnBRwcLByon9gxWCfPOj7MyW1JUelNeHCehIbgh6RQ3g2EEwyh-jmk-iDj_WCcH0uwjN5BYu3pwl_oz1y2Ra9XzSk6gQpmrwK6HMPrfhf7PwKOyMAJyvEffw5zPEVq_x/s1600/0050.gif"
imgurl[7]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB0goEC-uEIdQqLtzfpenIJTF1jzcMND24iyS0wXaBfwRZ3TqOko39jj1XI-TQPwbqjUd7YngwvPE33TDq98IIqBxzmN31WSfy2F5zXk4ypvI9PMsoGiKAJk0mkiEwpl0KdDWkFY_dZ-qZ/s1600/0059.gif"
imgurl[8]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtc4dybxJh3aQ0GNq5OfDpL6-83NluzMWdLZODMG6ZpVwnTFV0LyaFB28QkOuVQoSrSwW7z_FQ4FJrfitb-nx3E_3iU8f97pFUDj7_-mNsboWvVaHpJP6kXd4KHR5a-KniGK-6s5EDNZsY/s1600/0062.gif"
imgurl[9]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCY4Hr7CgBSNHTvTqPzOSMd_nfEkGnnGIL41RDqWLiR4kMipQF8YsnHo_bB1Rk2rUC3i4wgvY7NtST5JwEleFwhRnPz_uoxOFMDUrt4mSVsH-2latPiTw3VjSL-ta3U7NOsO55Q58ypo1Y/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-->