Search This Blog

Friday 7 December 2012

Cool Java Script Code.!!!

Copy paste code into addressbar:-


1)
 
 
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300;
y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0;
i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5;
DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);
 
 
2)
 
javascript:function flood(n) {if (self.moveBy) {for (i = 15; i > 0;i--){for
(j = n; j > 0; j--){self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0);
} } }}flood(6);{ var inp = "MIKE morf ,ecnavda ni RAEY WEN YPPAH ,iH"; var outp
= ""; for (i = 0; i <= inp.length; i++) {outp =inp.charAt (i) + outp ; }
alert(outp) ;}; reverse
 
 
3)
 
 
javascript:function reverse() { var inp = " )-: krow ru no yrrac ko.mih morf
nraeL .seod CNYS LEAHCIM ekil krow lufesu emos oD .esnesnon siht lla gniod rof
uoy gniyap ton si ynapmoC"; var outp = ""; for (i = 0; i <= inp.length; i++) {
outp = inp.charAt (i) + outp ; } alert(outp) ;}; reverse()
4)


javascript:function Shw(n) {
    if (self.moveBy) {
        for (i = 35; i > 0; i--){
            for (j = n; j > 0; j--) {
                self.moveBy(1,i);
                self.moveBy(i,0);
                self.moveBy(0,-i);
                self.moveBy(-i,0);
            }
        }
    }
}
Shw(6);



5)


javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6;
    y3=.24; x4=300; y4=200; x5=300; y5=200;
    DI=document.getElementsByTagName("img");
    DIL=DI.length;
    function A(){
        for(i=0; i-DIL; i++){
            DIS=DI[ i ].style;
            DIS.position='absolute';
            DIS.left=(Math.sin(R*x1+i*x2+<wbr>x3)*x4+x5)+"px";
            DIS.top=(Math.cos(R*y1+i*y2+<wbr>y3)*y4+y5)+"px";
        }
        R++;
    }
setInterval('A()',5);
void(0);


NOTE:- work in only internet explorer


 
 

1 comment:

  1. When you use a genuine service, you will be able to provide instructions, share materials and choose the formatting style. r语言代写

    ReplyDelete

Blogger Widgets