Pages

Ads 468x60px

Tuesday, July 10, 2012

Hình ảnh bay trên nền blog

In bài này
Để blog thêm sống động, bạn hãy tạo những hình ảnh đẹp bay lượn trên nền blog. Cách tạo khá đơn giản, chỉ bằng đoạn code sau.
<script type="text/javascript" src="http://dl.dropbox.com/u/66348944/dunghennessy/bichay/bongbongj1.js"> </script>
<script type="text/javascript">

function pagestart(){
//Step 2: Using the same variable names as 1), add or delete more of the below lines (60=width, height=80 of image):
 flyimage1=new Chip("flyimage1",47,68);
 flyimage2=new Chip("flyimage2",47,68);
 flyimage3=new Chip("flyimage3",47,68);


movechip("flyimage1");
movechip("flyimage2");
movechip("flyimage3");

}

if (window.addEventListener)
window.addEventListener("load", pagestart, false)
else if (window.attachEvent)
window.attachEvent("onload", pagestart)
else if (document.getElementById)
window.onload=pagestart

</script>


<div id="flyimage1" style="position:absolute; left: -500px; width:47; height:68;">
<a href="
http://nguyenkhacduc.blogspot.com "><img src="http://www.freeiconsweb.com/Icons-show/free_rank_icons_small/st3.png " border="0" /></a>
</div><div id="flyimage2" style="position:absolute; left: -500px; width:47; height:68;">
<a href="
http://nguyenkhacduc.blogspot.com "><img src="http://www.freeiconsweb.com/Icons-show/free_rank_icons_small/sm3.png " border="0" /></a>
</div><div id="flyimage3" style="position:absolute; left: -500px; width:47; height:68;">
<a href="
http://nguyenkhacduc.blogspot.com "><img src="http://www.freeiconsweb.com/Icons-show/free_rank_icons_small/sm2.png " border="0" /></a>
</div>
                                                                                              
Nguồn dunghennessy

0 comments:

Post a Comment