NameSilo

Ha! You've gotta try this.

Spaceship Spaceship
Watch

Gene

Gene PimentelTop Member
Impact
485
Useless, but pretty cool. Just go to any website containing photos or graphics of any kind (even this very page). Then paste this into your browser address bar:

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=50;y4=100; 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
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
Haha yeah, posted a while back i believe. It's great on ages with a bunch of images.

Who says maths is useless :hehe: (just had fun catching the edit button to add that :p)

Matt
 
Last edited:
0
•••
Loved it, had to stop it made me dizzy.
 
0
•••
That is nutty - thanks for sharing, now I will share with others - lol
 
0
•••
Yep, think the originator of that was using his head for sure. Every time see it, like John, go dizzy :yell:

I have a few more (albiet none as complex as the image one :imho: ), that I will share when I find what I did with them :] In the meantime, here is another one (I didn't create it..lol) that highlights all the pages DIV's and parts of TABLES:

javascript:var f=function(tt,col){var a=document.getElementsByTagName(tt);for(var b=0;b<a.length;b++){a.style.border='1px solid #'+col;}};f('table','00F');f('td','0F0');f('th','0FF');void(0);var a=document.getElementsByTagName('div');for(var b=0;b<a.length;b++){a.style.border='1px solid #F00';}void(0);
 
0
•••
If you use both of the above codes at the same time, it makes the website pretty trippy... ;)
 
0
•••
The best is that the image still work for clicking.
 
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back