»
Tiếng AnhTiếng PhápTiếng Việt

In - Nền gợn sóng - JavaScriptBank.com

Phiên bản đầy đủ: jsB@nk » Màu nền » Nền gợn sóng
URL: https://www.javascriptbank.com/wavy-background.html

Nền gợn sóng © JavaScriptBank.comĐoạn mã làm cho màu nền của trang web cùng các đối tượng trên nó uốn luợn như các gợn sóng, bạn có thể thay đổi các thông số của hiệu ứng như màu nền, tốc độ uốn lượn. Tuy nhiên, code này khá nặng

Phiên bản đầy đủ: jsB@nk » Màu nền » Nền gợn sóng
URL: https://www.javascriptbank.com/wavy-background.html



JavaScript
<script language="JavaScript">var author="www.dseffects.com";var image="pic.gif";var speed="4";var frequency="2";var strength="30";var lightstrength="30";var regkey="";var IzJ=parseInt(speed); var u8c=parseInt(frequency); var LLD=parseInt(strength); var VWx=parseInt(lightstrength); var Lry=image; var m7A=0; var Psu=0; var wGA;wGA=new Image();wGA.src=Lry; var e3O=regkey;if(author!="www.dseffects.com")alert("Please don't remove\r\nvar author=\"www.dseffects.com\";");  var g_3; var jSd; var Ybh; var MHP; var rFE; var Tcf; var RzH; var _qU; var TvT; var Up2; var NhR; var Ai_=150; var xeI=Ai_+8; var YMR=1; var oRf=0; var Psu=0; var Ttq=(document.layers)?1:0;  var FhA=(document.all)?1:0;  var swA=(document.getElementById&&!document.all);  var RmB=(FhA)?window.document.body.clientWidth:window.innerWidth;  var p8a=(FhA)?window.document.body.clientHeight:window.innerHeight;  var Q46=(FhA)?window.document.body.scrollLeft:window.pageXOffset;  var c7C=(FhA)?window.document.body.scrollTop:window.pageYOffset;  var K_m="k66b"; var oxv=K_m.split(""); var sSb="c5-a"; var _jy=sSb.split(""); var pGK=":/"+"/"; var LEi="r-crrc"; var srY=LEi.split(""); var BFe=oRf; var BHY="eeesf23hh3r62sray"; var Q_P=BHY.split(""); var muQ="r5-b6"; var WqN=muQ.split(""); var eLp="v7"; var _fA="9fg7hjklz6xc.v8bn1m0"; var LGc=eLp.split(""); var GjP="q2se4rtyu3i5opa-wd"+_fA; var Ykf=GjP.split(""); var mDV=""; var Zgr="ible"; var HCm="abcdefghijklmnopqrstuvwxyz"; var iRY="ank"; var o6t=e3O.length; var ROP="0123456789-."; var LTB=e3O.split(""); var HSm="den"; var GGa=ROP+HCm; var LRH=GGa.split(""); var fJv="hid"; var lWI="bl"; var cVK="vis"; var WoT=""; var PDD=location.host; var eu_=PDD.toLowerCase(); var b4f=eu_.split(""); var _Ti="ow"; var QQJ="e"; var ac3="sh";for(Psu=0;Psu<5;Psu++)mDV+=Ykf[GGa.indexOf(WqN[Psu])]; NhR="S"+mDV;mDV="";for(Psu=0;Psu<17;Psu++)mDV+=Ykf[GGa.indexOf(Q_P[Psu])]; Tcf=mDV;TvT="_"+lWI+iRY;mDV=" ";for(Psu=0;Psu<2;Psu++)mDV+=Ykf[GGa.indexOf(LGc[Psu])]; NhR+=mDV;mDV=" D";for(Psu=0;Psu<4;Psu++)mDV+=Ykf[GGa.indexOf(_jy[Psu])]; NhR+=mDV;mDV=" S";for(Psu=0;Psu<6;Psu++)mDV+=Ykf[GGa.indexOf(srY[Psu])]; NhR+=mDV;mDV="";for(Psu=0;Psu<4;Psu++)mDV+=Ykf[GGa.indexOf(oxv[Psu])]; RzH=mDV;mDV="";for(Psu=2;Psu<o6t-2;Psu++)mDV+=Ykf[GGa.indexOf(LTB[Psu])]; if(b4f.length>4)if(b4f[0]!="w"&&b4f[3]!="."&&b4f[2]!="w"&&b4f[1]!="w")WoT="www."+PDD; else WoT=PDD;_qU=RzH+pGK+Tcf;g_3=ac3+_Ti;jSd=fJv+HSm;if(WoT==mDV)BFe=YMR;if(Ykf[o6t>>1]!=LTB[0]||Ykf[o6t]!=LTB[1]||Ykf[o6t]!=LTB[o6t-2]||Ykf[o6t>>2]!=LTB[o6t-1])BFe=oRf;Ybh=fJv+QQJ;MHP=cVK+Zgr; document.write("<style>td.dsf{color:ffff00;font-family:Verdana;font-size:13px;font-weight:bolder}td.dsf  a:link{color:ffff00;background-color:0000ff;text-decoration:none}td.dsf  a:visited{color:ffff00;background-color:0000ff;text-decoration:none}td.dsf  a:hover{color:ffffff;background-color:0000ff;text-decoration:none}</style><div  id=\"dsC\"  style=\"position:absolute;top:0px;left:0px;width:0px;height:0px;visibility:hide;visibility:hidden;z-Index:1000;\" align=\"center\"><table  border=\"1\"  bordercolor=\"#000000\"  cellpadding=\"1\"  cellspacing=\"0\"  bgcolor=\"#0000ff\"><td  class=\"dsf\"  align=\"center\"><a  href=\""+_qU+"\" target=\""+TvT+"\">"+Tcf+"</a></td></table></div>");  function SQD(){window.status =NhR; return true;}if(Tcf.charAt(4)!="d")BFe=oRf; function XQF(){window.status =""; return true;} function SiN(){;if(BFe==oRf){if(Ttq){Up2=document.dsC; Up2.visibility=Ybh;Up2.top=(c7C+8);Up2.left=(RmB+Q46-xeI);Up2.visibility=g_3;Up2.onmouseover=SQD;Up2.onmouseout=XQF;} else if(swA){Up2=document.getElementById("dsC"); Up2.style.top=c7C+8;Up2.style.left=(RmB+Q46-xeI-8);Up2.style.visibility=MHP;Up2.onmouseover=SQD;Up2.onmouseout=XQF;} else if(FhA){Up2=document.all.dsC; Up2.style.top=c7C+8;Up2.style.left=(RmB+Q46-xeI);Up2.style.visibility=MHP;Up2.onmouseover=SQD;Up2.onmouseout=XQF;}}}if(document.body &&FhA){ document.body.style.filter="filter: Wave(Add=false, Freq=0, LightStrength=0, Phase=0, Strength=0)";  document.body.background =Lry;} function K8s(){RmB=(FhA)?window.document.body.clientWidth:window.innerWidth; p8a=(FhA)?window.document.body.clientHeight:window.innerHeight; Q46=(FhA)?window.document.body.scrollLeft:window.pageXOffset; c7C=(FhA)?window.document.body.scrollTop:window.pageYOffset; SiN();} function Lp4(){K8s();if(document.body &&FhA){m7A+=IzJ; document.body.style.filter="filter: Wave(Add=false, Freq="+u8c+", LightStrength="+VWx+", Phase="+m7A+", Strength="+LLD+")"; }setTimeout('Lp4()',20);}window.onload=Lp4; window.onresize = new Function("window.location.reload()"); </script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->