<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/AVvXsEgpyc1A56LAKpQF_-5Azy-Ljr8s2HuRQtlCWZ_QQz_uAwcMSKjbQKzP8C53cpqAq_EyfBCNIZRN2cvNjx9MXie45hU2HXkpyVa1O2zaxQP_Ukb3nt2mvxCD-yFS5dqXhKLljv7SWvgtJXX2/s1600/0003.gif"
imgurl[1]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKV4-Bp1Ruk1l1h8ovYsg_UJ9rl-PQmt2C7aJ8tL6ZPswVpKSgfCiLshIr7BGK99qe3ThsdHtgZCYT3QN9cUlV2A3Np2FqB35u3MV4xcujClWFUVrOZd_IgeINZB1KhkEpkuFZLISKzj9V/s1600/0008.gif"
imgurl[2]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwSvo93YKdOcTNyEYdPWljuok77F1fSKJtSOtx2KjB56QtE40WcvDJv5x58sF7l-wNlgcXAoQHmvJSH2ZVxKzQmN0vn-1KWcLQ_F5pp9Y_rWps6tCoZmcELgEjt9sAyEMVI7wmXjyy_2u/s1600/0009.gif"
imgurl[3]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia9VFgBamR4wnOZh8T9NUCe2L4NmLIs8Q3_VU7fyhD748io_lCR1OsMZR1s9bqNwK0puPODN9_bFXutkCSLSswxOtyf7SQH5GF0qVQ3KQ81zANAzmI8qmuQQ5LMGMFizTmtB08tML3N6t0/s1600/0019.gif"
imgurl[4]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC3WBq4rqcbxvGQArnaCMNNblriCVIxiW8sZAqu-bUkPAytuXcy-4spO4Df-J_36DZ_ThuS4q61qqL2Pn_F3oMUlwzgbR274X5s7_4RHF1jRyEQHfTOE36GwtMZXisPxVgXixXUuMMFT76/s1600/0027.gif"
imgurl[5]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicNZcpae7MPMaOXKj8qGeumCTEr7f1WNNgc6b1TOCG6is4jXNEAUmjldn-9Q63TekWxuyy3MTiBOUEcJY3Nzm9fONosEiLgh45Et4HaZmTFxQ9d74UC12P6ihcgfKxBpWKY3FS9GyIP1AY/s1600/0048.gif"
imgurl[6]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoXASc2zqVhJRxIcpa9hG2ss4N5YbOOc5jdyBCdu-ir48eYKjkKX4xRaMkOI6X2BWp3LTeFYYN55GFmcgM2KHenAca5XEjdDH-qCCjoJImGyzfyVVimkZfs-J24543vjDEe1D2b5HQtlcD/s1600/0050.gif"
imgurl[7]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxV0BjLK_cAqleXKkIEluCIrs9-j3aY6vU5u4poS5tkNORWW6jkO5rBvb4ARQiJOUAyKseKGfeAjSaBzJN39GmoswyXcJhcoW888zZ1cQ0rA6fOmBsvYx44nBMJTXdmiscIVHpVFbCHXG_/s1600/0059.gif"
imgurl[8]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOUjsrd8f04XledVcwGBQO7e9Xfo9KN2oGMyxFeMp4LY8_nQLJWkG2O73CGKCwJoGxxYRJEG-2CCZ6xOWF8LhkBiCHDeMLjbpcHnl-bwzFp4C1VMQcSicd9np99A8fPPLiAZ6L-Km-8h5v/s1600/0062.gif"
imgurl[9]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinsTVzG4UdCxWjEYP6GtxbeiK8nYrubwLnmOV4mWA9_hENr2HBXEfiGJWLtJrKOyI82po__nMe5PaHx01OyyYisfED07iRFAJIR4glnwPpHv8rijbxnb6nohyrFcuAF_nu876SMJ8g7egu/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-->