Felix Culpa Posted June 6, 2009 Report Share Posted June 6, 2009 I'm sure you've all seen the script editing java hack. Here is one that makes all images on the screen orbit around each other. 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)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0); Link to comment Share on other sites More sharing options...
Silent Omega Posted June 6, 2009 Report Share Posted June 6, 2009 Lol, it is fun to use. javascrip hacking is always fun to use. Link to comment Share on other sites More sharing options...
Man0waR Posted June 6, 2009 Report Share Posted June 6, 2009 all i get is an arrow floating around Link to comment Share on other sites More sharing options...
bury the year Posted June 6, 2009 Report Share Posted June 6, 2009 Can you do that with text? :0 Link to comment Share on other sites More sharing options...
Umbra Posted June 6, 2009 Report Share Posted June 6, 2009 Can you do that with text? :0 I'm pretty sure you've heard of the word "coding" or "programming" before? Well, this is it. Link to comment Share on other sites More sharing options...
bury the year Posted June 6, 2009 Report Share Posted June 6, 2009 Can you do that with text? :0 I'm pretty sure you've heard of the word "coding" or "programming" before? Well' date=' this is it.[/quote'] >> I'm not good with that. I'm just asking if it's possible to make that line of code affect text instead of pictures. Link to comment Share on other sites More sharing options...
Haseo Posted June 6, 2009 Report Share Posted June 6, 2009 Awesome! This one looks really cool. Link to comment Share on other sites More sharing options...
Umbra Posted June 6, 2009 Report Share Posted June 6, 2009 @Rinne: Ah, misread your post. No, this can't be done with text. Images are elements, where as letters are the content of other elements. Link to comment Share on other sites More sharing options...
Cowboy Dan Posted June 6, 2009 Report Share Posted June 6, 2009 Sweet, that's awesome! Yay! Pictures go Spinny Spinny! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.