<script type="text/javascript">
document.write('<style type="text/css">body{padding-bottom:20px}</style><img style="position:fixed;z-index:9999;top:0;left:0" src="http://itexpressvn.com/images/ads/comtopleft.png"/><img style="position:fixed;z-index:9999;top:0;right:0" src="http://itexpressvn.com/images/ads/comtopright.png"/><div style="position:fixed;z-index:9999;bottom:-50px;left:0;width:100%;height:104px;background:url(http://itexpressvn.com/images/ads/comft.png) repeat-x bottom left;"></div><img style="position:fixed;z-index:9999;bottom:20px;left:20px" src="http://itexpressvn.com/images/ads/combottomleft.png"/>');
var stopafter = 0;
var firestop = []; var fire = []; var stdDOM = document.getElementById; var nsDOM = ((navigator.appName.indexOf('Netscape') != -1) && (parseInt(navigator.appVersion) ==4)); function pageWidth() {return window.innerWidth != null? window.innerWidth: document.body != null? document.body.clientWidth:null;} function pageHeight() {return window.innerHeight != null? window.innerHeight: document.body != null? document.body.clientHeight:null;}function posLeft() {return typeof window.pageXOffset != 'undefined' ? window.pageXOffset:document.documentElement.scrollLeft? document.documentElement.scrollLeft:document.body.scrollLeft? document.body.scrollLeft:0;} function posTop() {return typeof window.pageYOffset != 'undefined' ? window.pageYOffset:document.documentElement.scrollTop? document.documentElement.scrollTop: document.body.scrollTop?document.body.scrollTop:0;} var hD="0123456789ABCDEF"; function d2h(d) {return hD.substr(d>>>4,1)+hD.substr(d&15,1);} layernum=0; piece = function(parent) {this.elem = null; if(nsDOM) {if(parent == null) this.elem=new Layer(1); else {this.elem=new Layer(1,parent.elem); this.style.visibility = "inherit";} this.parent = parent; this.style = this.elem;} else if (stdDOM) {if(parent == null) this.parent=document.body; else this.parent=parent.elem; this.elem = document.createElement('div'); var xName = "xLayer" + layernum++; this.elem.setAttribute('id', xName); elemc = document.createTextNode('.'); this.elem.appendChild(elemc); this.parent.appendChild(this.elem); this.style = this.elem.style;document.getElementById(xName).style.lineHeight = '3px'; document.getElementById(xName).style.color = '#fff';document.getElementById(xName).style.position = 'absolute';} window[this.elem.id]=this; this.ay = .1; this.type = 0;}; piece.prototype.moveTo = function(x,y) {if(nsDOM) this.elem.moveTo(x,y); else {this.style.left = x+"px"; this.style.top = y+"px";}}; piece.prototype.setC = function(colour) {if(nsDOM) this.elem.bgColor = colour; else this.style.backgroundColor = colour==null?'transparent':colour; }; piece.prototype.fire = function(sx, sy, fw) {var a = Math.random() * Math.PI * 2; switch (fw) {case 1: var s = Math.random() * 2; break; case 2: var s = 2; break; case 3: var s = (Math.PI * 2) - a - Math.random(); break; case 4: var s = a - Math.random(); break; default: var s = Math.random() * 2; if(Math.random() >.6) s = 1.5;} this.dx = s*Math.sin(a); this.dy = s*Math.cos(a) - 2; this.x = sx; this.y = sy; this.moveTo(sx, sy);}; piece.prototype.sCol = function(hex,hex2,cl) {switch (cl) {case 1: this.setC("#" + hex + hex2 + "00"); break; case 2: this.setC("#00" + hex + "00"); break; case 3: this.setC("#00" + hex + hex2); break; case 4: this.setC("#" + hex + "0000"); break; case 5: this.setC("#" + hex + hex + "00"); break; case 6: this.setC("#" + hex + hex + hex); break; case 7: this.setC("#" + hex2 + hex + "00"); break; default: this.setC("#" + hex + hex2 + hex);}}; piece.prototype.animate = function(step,cl) {var colour = (step > 25) ? Math.random()*(380-(step*5)) : 255-(step*4); var hex = d2h(colour-112); if (colour < 112) hex = d2h(colour); this.sCol(d2h(colour),hex,cl); this.dy += this.ay; this.x += this.dx; this.y += this.dy; this.moveTo(this.x, this.y);}; fo = function(numst) {this.id = "fo"+fo.count++;this.sp = new Array(); for(i=0 ; i<numst; i++) {this.sp[i]=new piece(); if(nsDOM){this.sp[i].style.clip.top =0; this.sp[i].style.clip.left = 0; this.sp[i].style.clip.bottom = 3; this.sp[i].style.clip.right = 3;} else this.sp[i].style.clip="rect("+0+" "+3+" "+3+" "+0+")"; this.sp[i].style.visibility = "visible";} this.step = 0; window[this.id]=this; fire.push(this); firestop.push(setInterval("window."+this.id+".animate()", 15));}; fo.count = 0; fo.prototype.animate = function() {if(this.step > 55) this.step = 0; if(this.step == 0) {var x = posLeft() + 50 + (Math.random()*(pageWidth() - 200)); var y = posTop() + 50 + (Math.random()*(pageHeight() - 250)); var fw = Math.floor(Math.random() * 5); this.cl = Math.floor(Math.random() * 8); for(i=0 ; i<this.sp.length ; i++)this.sp[i].fire(x, y, fw);} this.step++; for(i=0 ; i<this.sp.length ; i++) this.sp[i].animate(this.step,this.cl);};
function stopfire() {for(var i = firestop.length - 1; i >= 0; i--) {clearInterval(firestop[i]); for (var j = fire[i].sp.length - 1; j >= 0; j--) {fire[i].sp[j].style.visibility = "hidden";}}}
function fireworks() {new fo(50);setTimeout('new fo(50)',750);if (stopafter > 0) {setTimeout('stopfire()',stopafter * 60000);}} window.onload=fireworks;
</script>
Popular Posts
-
11. Chèn nhạc vào bài viết <object name='hat' width=300 height=45 > <embed type='application/x-mplayer2' plu...
-
Trước đây mình từng giới thiệu Đăng ký blog vào bộ máy tìm kiếm của Live Search Hôm nay mình xẽ giới thiệu Cách đăng kí blog lên google,...
-
<p style="text-align: center"><span style="font-size: large"><span style="font-family: Verdana"...
-
Thủ thuật chỉnh sửa ảnh trên Blogger & Picasa NAMKNA 11/15/2012 10:27:00 AM BLOGSPOT HOST , THIẾT KẾ , THỦ THUẬT BLOGGER ...
-
<script type="text/javascript" src="https://googledrive.com/host/0B-0uHUanipfMMm1qYzJseG1BTWM"></script>
-
<embed src="http://d.violet.vn/uploads/resources/599/danh_ngon.swf " width="100%" height="250" type="a...
-
<script type="text/javascript"> document.write('<style type="text/css">body{padding-bottom:20px}</sty...
-
@-moz-keyframes roll { 100% { -moz-transform: rotate( 360deg ); } } @-o-keyframes roll { 100% { -o-transform: rotate( 360deg ); } ...
-
<script language='javascript'> step=0 function flash_title(){ step++ if (step==8) {step=1} if (step==1) {document.t...
Label Cloud
Contact Us
Blog Archive
-
▼
2016
(16)
-
▼
tháng 2
(16)
- Thủ thuật chỉnh sửa ảnh trên Blogger & Picasa
- Đăng ký blog vào bộ máy tìm kiếm của Google
- code thông dụng cho blog tiếp
- Những Code Thông Dụng Cho Blogspot
- Slide bài viết mới chạy ngang cho Blogspot
- Chữ tự động thay đổi trên thanh tiêu đề cho Web/blog
- Slide hình ảnh trượt vào blogspot
- HƯỚNG DẪN CHÈN COMMENT FACEBOOK VÀO BLOGSPOT ĐƠN ...
- Code chạy hình ảnh từ dưới lên
- Code widget Hỗ Trợ Trực Tuyến
- Danh ngôn hay
- Hiệu ứng xoay tròn 360 độ khi tải trang
- Hiệu ứng pháo hoa
- hieu ứng tuyết rơi
- hiệu ứng chim bay theo trỏ chuột
- code hiệu ứng tuyết rơi
-
▼
tháng 2
(16)
Lưu trữ Blog
-
▼
2016
(16)
-
▼
tháng 2
(16)
- Thủ thuật chỉnh sửa ảnh trên Blogger & Picasa
- Đăng ký blog vào bộ máy tìm kiếm của Google
- code thông dụng cho blog tiếp
- Những Code Thông Dụng Cho Blogspot
- Slide bài viết mới chạy ngang cho Blogspot
- Chữ tự động thay đổi trên thanh tiêu đề cho Web/blog
- Slide hình ảnh trượt vào blogspot
- HƯỚNG DẪN CHÈN COMMENT FACEBOOK VÀO BLOGSPOT ĐƠN ...
- Code chạy hình ảnh từ dưới lên
- Code widget Hỗ Trợ Trực Tuyến
- Danh ngôn hay
- Hiệu ứng xoay tròn 360 độ khi tải trang
- Hiệu ứng pháo hoa
- hieu ứng tuyết rơi
- hiệu ứng chim bay theo trỏ chuột
- code hiệu ứng tuyết rơi
-
▼
tháng 2
(16)
Được tạo bởi Blogger.
11
Labels
Liên kết HOT
-
11. Chèn nhạc vào bài viết <object name='hat' width=300 height=45 > <embed type='application/x-mplayer2' plu...
-
Trước đây mình từng giới thiệu Đăng ký blog vào bộ máy tìm kiếm của Live Search Hôm nay mình xẽ giới thiệu Cách đăng kí blog lên google,...
-
<p style="text-align: center"><span style="font-size: large"><span style="font-family: Verdana"...
-
Thủ thuật chỉnh sửa ảnh trên Blogger & Picasa NAMKNA 11/15/2012 10:27:00 AM BLOGSPOT HOST , THIẾT KẾ , THỦ THUẬT BLOGGER ...
-
<script type="text/javascript" src="https://googledrive.com/host/0B-0uHUanipfMMm1qYzJseG1BTWM"></script>
-
<embed src="http://d.violet.vn/uploads/resources/599/danh_ngon.swf " width="100%" height="250" type="a...
-
<script type="text/javascript"> document.write('<style type="text/css">body{padding-bottom:20px}</sty...
-
@-moz-keyframes roll { 100% { -moz-transform: rotate( 360deg ); } } @-o-keyframes roll { 100% { -o-transform: rotate( 360deg ); } ...
-
<script language='javascript'> step=0 function flash_title(){ step++ if (step==8) {step=1} if (step==1) {document.t...
0 nhận xét
Đăng nhận xét