Wednesday, April 18, 2012
Funny java script tricks flip all of your browser picture
Now, i will show you a java code by which you can have fun by moving all the pictures from your web page. You can do this trick when you will get bored or show some one something new. But remember this code may not work in some browser . Try this code internet explorer or Mozilla Firefox or Google chrome. To do this trick at first open a website where plenty of pictures are available. Or juts a search images in a search engine or in hub page.. When your browser finishes the loading just paste the code to your web address bar and have fun ..the code is :
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);
To stop this effect just refresh the page everything will be fine.
You can experiment with the numbers in this java script to find something new. Learning Java is not so easy but having fun with it is easier. Hope you will like this trick. Thanx for reading
Labels:
Computer Tricks
Subscribe to:
Post Comments (Atom)
3 comments:
Sandhusatinder41@gmail.com
Thanks for sharing this useful Information !!
Here we have provided some good links of useful CUSTOMER CARE NUMBERS
Largest Collection Of Customer Care Numbers, Call Center And Toll Free Numbers Of Banks, Mobile, Electronics, Automobile Etc
Indian GOVT. Toll Free Number List
CUSTOMER CARE NUMBERS of Airlines
CUSTOMER CARE NUMBERS of Banks
TOLL-FREE Number List
Railway Station Codes
AADHAAR Card Customer Care Number
PAN CARD Customer Care Numbers
Read many more at CUSTOMER CARE NUMBERS
Its very interesting post, good job
Videocon Telecom has slashed the National Roaming rates effective 1st May 2015 as per the TRAI’s guidelines.The drop in tariff is to the extent of 75% on Local and National SMS; 40% on Incoming calls; and 23% & 20% on STD & Local calls resp while roaming.
Post a Comment