Phiên bản đầy đủ: jsB@nk » Liên kết » Liên kết nhúc nhích khi rê chuột
URL: https://www.javascriptbank.com/textlink-shaker-onmouseover-2.html
Hiệu ứng làm cho một liên kết trở nên nhúc nhích, động đậy liên tục khi ta rê con trỏ chuột đến.
Phiên bản đầy đủ: jsB@nk » Liên kết » Liên kết nhúc nhích khi rê chuột
URL: https://www.javascriptbank.com/textlink-shaker-onmouseover-2.html
<SCRIPT language=JavaScript><!-- Beginning of JavaScript -if (document.layers) {alert("This script does not work with Netscape Navigator")}var timervar do_rotate="yes"function posobject(newtext) {if (document.all) {do_rotate="yes"rotationstyle.innerHTML='<OBJECT ID="rotationobj" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:600px;height:600px">'+'<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+'<PARAM NAME="Line0002" VALUE="SetLineColor(255,255,100)">'+'<PARAM NAME="Line0003" VALUE="SetFillColor(255,255,100)">'+'<PARAM NAME="Line0004" VALUE="SetFont(\'Arial\', 10, 100, 0, 0, 0)">'+'<PARAM NAME="Line0005" VALUE="Text(\''+newtext+'\', 0, 0, 0)">'+'</OBJECT>'document.all.rotationstyle.style.posLeft=0document.all.rotationstyle.style.posTop=0startrotation()}}function startrotation() {if (do_rotate=="yes") { rotationobj.Rotate(30,30,10)rotationobj.Scale(1.1,1.1,1.1) timer=setTimeout("startrotation()",20)}else { clearTimeout(timer)document.all.rotationstyle.style.posLeft=-2000}}function stoprotation() {do_rotate="no"}// - End of JavaScript - --></SCRIPT><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<SPAN id=rotationstyle style="LEFT: -2000px; POSITION: absolute"><OBJECT id=rotationobj style="HEIGHT: 600px; POSITION: relative; WIDTH: 600px"><PARAM NAME="Line0001" VALUE="SetLineStyle(0)"><PARAM NAME="Line0002" VALUE="SetLineColor(255,200,200)"><PARAM NAME="Line0003" VALUE="SetFillColor(255,200,200)"><PARAM NAME="Line0004" VALUE="SetFont('Arial', 80, 100, 0, 0, 0)"><PARAM NAME="Line0005" VALUE="Text('', 0, 0, 0)"></OBJECT></SPAN><A href="http://www.echip.com.vn" onmouseout=stoprotation() onmouseover="posobject('JavaScriptBank.com')" target=_blank>Mouse over this to test [JavaScriptBank.com]</A><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->