Mouse picture vibration code_image special effects
May 16, 2016 pm 07:28 PM<!--Code starts--!>
<!---YeJun2605.AnyP.cn-//-->
<!---Here is just adding to the picture Go in and take a closer look after reading a little code--!><P><A title=All network resources are in the website building resources Emotional Dream, welcome to the emotional corner! href="http://yejun2605.anyp.cn/" target=_blank><FONT color=#0099ff><FONT size=3><IMG class=shakeimage onmouseover=init(this);rattleimage() style="LEFT: 3px; TOP: 0px" onmouseout=stoprattle( this) height=31 src="http://photoimg2.qq.com/cgi-bin/load_pic?verify=+90QvPrpA8dALudY1xuzgA==" border=0>
<!--The following code is Just one for the same page--!>
<STYLE>.shakeimage {POSITION: relative}</STYLE>
<SCRIPT language=JavaScript1.2>
< !--
var rector=3
var stopit=0
var a=1
function init(which){
stopit=0
shake=which
shake. style.left=0
shake.style.top=0
}
function rattleimage(){
if ((!document.all&&!document.getElementById)||stopit==1)
return
if (a==1){
shake.style.top=parseInt(shake.style.top) rector
}
else if (a==2){
shake.style.left=parseInt(shake.style.left) rector
}
else if (a==3){
shake.style.top=parseInt(shake.style.top)- rector
}
else{
shake.style.left=parseInt(shake.style.left)-rector
}
if (a<4)
a
else
a=1
setTimeout("rattleimage()",50)
}
function stoprattle(which){
stopit=1
which.style.left=0
which.style.top=0
}
//-->
</SCRIPT>

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Replace String Characters in JavaScript

Custom Google Search API Setup Tutorial

8 Stunning jQuery Page Layout Plugins
