Code rê chuột vào hình trai tim hiện chữ để tặng người yêu

Trang ChínhLatest imagesTìm kiếmĐăng kýĐăng Nhập


Welcome to Forums Haku
Chào mừng các bạn đến với diễn đàn
Chúc các bạn có những giờ phút thư giãn thoải mái tại diễn đàn
Chúc các bạn luôn thành công trong cuộc sống

<--Code by Admin Haku -->

Share|
Tiêu đề

Code rê chuột vào hình trai tim hiện chữ để tặng người yêu

Xem chủ đề cũ hơn Xem chủ đề mới hơn Go down
Tác giảThông điệp

Admin
Member
Admin

Tổng bài gửi : 1074
Được Cảm Ơn : 538
Đến từ : Hà Ná»™i
Tài năng của Admin
Hạng: Member
Level:1074
Tài năng:/300


Tài Sản
Huân Chương: PhotobucketPhotobucketPhotobucketPhotobucketPhotobucketPhotobucketPhotobucketPhotobucketPhotobucket

Bài gửiTiêu đề: Code rê chuột vào hình trai tim hiện chữ để tặng người yêu Code rê chuột vào hình trai tim hiện chữ để tặng người yêu 3e45c23a204Wed May 16, 2012 7:53 pm

Code rê chuột vào hình trai tim hiện chữ để tặng người yêu

Code:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Tặng cho người con giá đẹp nhất - Mai Na</title>
</head>

<body>      
<p align="center">
      
<script>
      
// Set the number of sparkles. Add or remove as many as you like.   
var sparklenumber=5

// Set the fonts that create the sparkles. Add or remove as many as you like.
var sparklefont=new Array("Arial","Times","Comic Sans MS")

// Set the sizes of sparkles (pixels). Add or remove as many as you like.
var sparklesize=new Array(15,20,15,20)

// Set colors of sparkles. Add or remove as many as you like.
var sparklecolor=new Array("#FF0000","#000066","#444400","#006600")

// Set the speed (higher=slower)
var speed=70

///////////////////////////////////////////////////////////////////////////
// CONFIGURATION ENDS HERE
///////////////////////////////////////////////////////////////////////////

// Do not edit below this line
var sparklesizeNS4=new Array()
var x_sparklepos
var y_sparklepos
var x,y
var x_random=new Array()
var y_random=new Array()
var max_explsteps=80
var i_explsteps=0
var i_color=0
var i_size=0
var i_font=0
var marginbottom
var marginright
var sparklewidth=20
var sparkleheight=20
var isloaded=false

var browserinfos=navigator.userAgent
var ie4=document.all&&!document.getElementById&&!browserinfos.match(/Opera/)
var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/)
var ns4=document.layers
var ns6=!document.all&&document.getElementById&&!browserinfos.match(/Opera/)
var opera=browserinfos.match(/Opera/) 
var browserok=ie4||ie5||ns4||ns6||opera

for (i=0;i<=sparklesize.length;i++) {
   sparklesizeNS4[i]=Math.round(sparklesize[i]/5)
   if (sparklesizeNS4[i]<1) {sparklesizeNS4[i]=1}
   if (sparklesizeNS4[i]>7) {sparklesizeNS4[i]=7}
}

function initlinkexploder() {
   isloaded=true
}

function startexplosion(whatword) {
if (isloaded) {
    i_explsteps=0
    x_sparklepos=x
    y_sparklepos=y
    for (i=0;i<=sparklenumber;i++) {
      x_random[i]=Math.ceil(20*Math.random())-10
        y_random[i]=Math.ceil(20*Math.random())-10
      while(x_random[i]>-2 && x_random[i]<2) {
           x_random[i]=Math.ceil(20*Math.random())-10
           y_random[i]=Math.ceil(20*Math.random())-10
      }
   }
   if (ie4) {
      marginbottom = document.body.clientHeight
      marginright = document.body.clientWidth
        for (i=0;i<=sparklenumber;i++) {
            var thisspan=eval("document.all.span"+i+".style")
            thisspan.visibility="VISIBLE"
         thisspan.posLeft=x_sparklepos
         thisspan.posTop=y_sparklepos
         var thisspan=eval("document.all.span"+i)
         thisspan.innerHTML=whatword
      }
    }
   if (ie5||opera) {
      marginbottom=document.body.clientHeight
      marginright=document.body.clientWidth
        for (i=0;i<=sparklenumber;i++) {
            var thisspan=document.getElementById("span"+i).style
            thisspan.visibility="VISIBLE"
         thisspan.left=x_sparklepos
         thisspan.top=y_sparklepos
         var thisspan=document.getElementById("span"+i)
         thisspan.innerHTML=whatword
         sparklewidth=parseInt(thisspan.offsetWidth)
         sparkleheight=parseInt(thisspan.offsetHeight)
         
      }
    }
   if (ns6) {
      marginbottom=window.innerHeight
      marginright=window.innerWidth
        for (i=0;i<=sparklenumber;i++) {
            var thisspan=document.getElementById("span"+i).style
            thisspan.visibility="VISIBLE"
         thisspan.left=x_sparklepos
         thisspan.top=y_sparklepos
         var thisspan=document.getElementById("span"+i)
         thisspan.innerHTML=whatword
         sparklewidth=parseInt(thisspan.offsetWidth)
         sparkleheight=parseInt(thisspan.offsetHeight)
      }
    }
      
    if (ns4) {
      
      marginbottom=window.innerHeight
      marginright=window.innerWidth
        for (i=0;i<=sparklenumber;i++) {
         i_color++;i_font++;i_size++;
          if (i_color>=sparklecolor.length) {i_color=0}
         if (i_font>=sparklefont.length) {i_font=0}
         if (i_size>=sparklesizeNS4.length) {i_size=0}
            var thisspan=eval("document.span"+i)
            thisspan.visibility="VISIBLE"
            thisspan.left=x_sparklepos
            thisspan.top=y_sparklepos
         var thisspan=eval("document.span"+i+".document")
         thisspan.write("<font face="+sparklefont[i_font]+" color="+sparklecolor[
i_color]+" size="+sparklesizeNS4[i_size]+">")
         document.write(whatword)
         document.write("</font>")
         thisspan.close()
      }
    }
   explode()
}
}

function explode() {
   if (i_explsteps<=max_explsteps) {
      for (i=0;i<=sparklenumber;i++) {
         if (ie4) {
               var thisspan=eval("document.all.span"+i+".style")
            if (thisspan.posLeft>=marginright || thisspan.posTop>=
marginbottom) {
                  thisspan.posLeft=-1000
               thisspan.posTop=-1000
            }
            else {
               thisspan.visibility="VISIBLE"
                  thisspan.posLeft+=x_random[i]
                  thisspan.posTop+=y_random[i]
            }
         }
         if (ie5||ns6||opera) {
             var thisspan=document.getElementById("span"+i).style
            if (parseInt(thisspan.left)>=marginright-sparklewidth-30+
document.body.scrollLeft || parseInt(thisspan.top)>=marginbottom-sparkleheight-20+document.body.
scrollTop) {
                  thisspan.left=-1000
               thisspan.top=-1000         
            }
            else {
               thisspan.visibility="VISIBLE"
               thisspan.left=parseInt(thisspan.left)+x_random[i]
               thisspan.top=parseInt(thisspan.top)+y_random[i]
            }   
         }
         if (ns4) {
            var thisspan=eval("document.span"+i)
            thisspan.visibility="VISIBLE"
            thisspan.left+=x_random[i]
               thisspan.top+=y_random[i]
         }
      }
      i_explsteps++
      var timer=setTimeout("explode()",speed)
   }
   else {
      for (i=0;i<=sparklenumber;i++) {
         if (ie4) {var thisspan=eval("document.all.span"+i+".style")}
         if (ie5||ns6||opera) {var thisspan=document.getElementById("span"+i).
style}
         if (ns4) {var thisspan=eval("document.span"+i)}
           thisspan.visibility="HIDDEN"
      }
      clearTimeout(timer)
   }
}

function handlerMM(e){
   x = (ns4||ns6) ? e.pageX : document.body.scrollLeft+event.clientX
   y = (ns4||ns6) ? e.pageY : document.body.scrollTop+event.clientY
}

if (ns4){
   document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove=handlerMM;

document.write("<style>")
document.write(".spanstyle {")
document.write("position:absolute;")
document.write("visibility:hidden;")
document.write("}")
document.write("</style>")

for (i=0;i<=sparklenumber;i++) {
   if (ie4||ie5||ns6||opera) {
       document.write("<div id='span"+i+"' class='spanstyle' style='font-family:"+sparklefont[
i_font]+";font-size:"+sparklesize[i_size]+"px;color:"+sparklecolor[i_color]+";'>")
       document.write(".")
       document.write("</div>")
       i_color++;i_font++;i_size++;
       if (i_color>=sparklecolor.length) {i_color=0}
      if (i_font>=sparklefont.length) {i_font=0}
      if (i_size>=sparklesize.length) {i_size=0}
   }
   if (ns4) {
       document.write("<div id='span"+i+"' class='spanstyle'>")   
      document.write("<font face="+sparklefont[i_font]+" color="+sparklecolor[i_color]
+" size="+sparklesizeNS4[i_size]+">")
       document.write("....")
      document.write("</font>")
       document.write("</div>")
       i_color++;i_font++;i_size++;
       if (i_color>=sparklecolor.length) {i_color=0}
      if (i_font>=sparklefont.length) {i_font=0}
      if (i_size>=sparklesizeNS4.length) {i_size=0}
   }
}
if (browserok) {
   window.onload=initlinkexploder
}

</script>
<a onMouseOver="startexplosion('Haku LoVe MaiNa')" ><br>
:<font color="#FF00FF">.................................................................................................................................................................................................................................................................................................................................  </br>
.............................................................................................................................................:.♥.::.♥.::.♥.::.♥.::.♥.::.♥.:............................................................................................................................................</br>
.........................................................................................................................................♥.::.♥.::.♥.::.♥.::.♥.::.♥.::.♥.::.♥.........................................................................................................................................</br>
........................................................................................................................................♥.::.♥.::.♥.: :.♥.::.♥.: :.♥.::.♥.::.♥........................................................................................................................................</br>
...........................................................................................................................................♥.: :.♥.::.♥.::.♥.::.♥.::.♥.: :.♥...........................................................................................................................................</br>
..............................................................................................................................................♥.::.♥.: :.♥.::.♥.: :.♥.::.♥..............................................................................................................................................</br>
..................................................................................................................................................♥.::.♥.: :.♥.::.♥.::.♥..................................................................................................................................................</br>
.......................................................................................................................................................♥.::.♥.:.♥.::.♥.......................................................................................................................................................</br>
.............................................................................................................................................................♥.::.♥.............................................................................................................................................................</br>
................................................................................................................................................................♥................................................................................................................................................................</br>
</font></a><font color="#FF00FF">
</font>
</p>
</body>

</html>

Hãy cám ơn bài viết của Admin bằng cáh bấm vào "" nhe!!!

Về Đầu Trang Go down

https://haku.forumvi.net

Tiêu đề

Code rê chuột vào hình trai tim hiện chữ để tặng người yêu

Xem chủ đề cũ hơn Xem chủ đề mới hơn Về Đầu Trang
Trang 1 trong tổng số 1 trang
::.
Permissions in this forum:Bạn không có quyền trả lời bài viết
Forum Häkü Cộng Đồng Chém Gió :: CONG NGHE THONG TIN :: Thế giới blog, Forum-