Cool Javascript Effects
There comes a point in time where we want to do some amazing and eye catching stuff, javascript is a cool and attractive language.
I am going to share some cool javascript effects with you!!!! I am sure you will never forget it.
- Edit any web page:
Open any website and copy and paste this code on URL bar than click enter, wow you have done edit this web, you can delete any pic or you can delete or ad any word.
javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 0
- Flying Pictures
As the name tell the story! Yes you can make images like a flying object.
Paste this code on URL and click enter
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+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);
0 comments:
Post a Comment