Post: A few Java codes ;)
02-27-2012, 01:46 PM #1
Red
Life In Technicolor
(adsbygoogle = window.adsbygoogle || []).push({}); Copy and paste these into the address bar of a web page. I always use Edit Page. Winky Winky

HORIZONTAL IMAGE:
    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);




VERTICAL IMAGE:
    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*y2+i*y1+y1)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);




HORIZONTAL TEXT:
    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("p"); 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);




VERTICAL TEXT:
    javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200Awesome faceI=document.getElementsByTagName("p"); 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*y2+i*y1+y1)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);




HORIZONTAL LINKS:
    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("a"); 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);




VERTICAL LINKS:
    javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200Awesome faceI=document.getElementsByTagName("a"); 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*y2+i*y1+y1)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);




SPACE HOPPER IMAGE:
    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*x1+x3)*x3+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y1+y1)*y5+y2)+"px"}R++}setInterval('A()',5); void(0);




SPACE HOPPER TEXT:
    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("p"); 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*x1+x3)*x3+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y1+y1)*y5+y2)+"px"}R++}setInterval('A()',5); void(0);





SPACE HOPPER LINKS:
    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("a"); 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*x1+x3)*x3+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y1+y1)*y5+y2)+"px"}R++}setInterval('A()',5); void(0);





SPACE HOPPER SPECIAL:
    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("div"); 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*x1+x3)*x3+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y1+y1)*y5+y2)+"px"}R++}setInterval('A()',5); void(0);





EDIT PAGE
    javascript:document.body.contentEditable='true'; document.designMode='on'; void 0


Works with Internet Explorer.
(adsbygoogle = window.adsbygoogle || []).push({});
02-27-2012, 06:11 PM #2
Epic?
Awe-Inspiring
Originally posted by AnyOneDay View Post
Copy and paste these into the address bar of a web page. I always use Edit Page. Winky Winky

HORIZONTAL IMAGE:
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.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);



VERTICAL IMAGE:
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.style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y2+i*y1+y1)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);



HORIZONTAL TEXT:
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("p"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI.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);



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



HORIZONTAL LINKS:
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("a"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI.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);



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



SPACE HOPPER IMAGE:
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.style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x1+x3)*x3+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y1+y1)*y5+y2)+"px"}R++}setInterval('A()',5); void(0);



SPACE HOPPER TEXT:
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("p"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI.style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x1+x3)*x3+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y1+y1)*y5+y2)+"px"}R++}setInterval('A()',5); void(0);




SPACE HOPPER LINKS:
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("a"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI.style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x1+x3)*x3+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y1+y1)*y5+y2)+"px"}R++}setInterval('A()',5); void(0);




SPACE HOPPER SPECIAL:
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("div"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI.style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x1+x3)*x3+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y1+y1)*y5+y2)+"px"}R++}setInterval('A()',5); void(0);




EDIT PAGE
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

Works with Internet Explorer, the smiley faces are ; D


Please post your code in CODE tags: [CODE]the code goes here[/CODE].

Also, this is actually JavaScript, not Java - despite the similar name, they're actually two completely different languages.

The following user thanked Epic? for this useful post:

tylerallmighty
03-08-2012, 07:01 PM #3
JSWS
Grunt
Need to learn java tbh, might start here thanks man
03-08-2012, 07:02 PM #4
Default Avatar
Cammy
Guest
Java and Javascript are two different things man :p and that's Javascript in the thread.
03-16-2012, 01:29 AM #5
tylerallmighty
Human After All
Got me so pissed when I saw it was JavaScript. :despise:
03-16-2012, 02:10 AM #6
FYI, if anyone here is using chrome, you have to manually add "javascript:" to the beginning as Chrome deletes it in the URL bar. Awesome face

Thanks for the codes :p
03-25-2012, 05:43 AM #7
Pichu
RIP PICHU.
Originally posted by Ninja View Post
FYI, if anyone here is using chrome, you have to manually add "javascript:" to the beginning as Chrome deletes it in the URL bar. Awesome face

Thanks for the codes :p


Chrome pisses me off at times. But, if you just go into developer mode, you can also enter the code that way. Smile
03-25-2012, 06:20 AM #8
Default Avatar
Cade
Guest
NO This isn't Java.

JavaScript and Java two completely different things.
03-26-2012, 12:33 PM #9
Red
Life In Technicolor
Originally posted by Team
NO This isn't Java.

JavaScript and Java two completely different things.


I know, just I couldn't be bothered to type the full name "Javascript" when at the time of posting I was using a notebook that is very slow.
04-13-2012, 06:47 AM #10
Originally posted by AnyOneDay View Post
I know, just I couldn't be bothered to type the full name "Javascript" when at the time of posting I was using a notebook that is very slow.


what is the difference in java and javascript? and what does this do?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo