What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Cool Javascript :P (tested on IE and FireFox)

Pages: (3): « First [ 1 ] 2 3 » Last »
Cool Javascript :P (tested on IE and FireFox)
Author: Message:
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
O.P. Cool Javascript :P (tested on IE and FireFox)
go to a website.....then paste this in the address bar

code:
javascript:x=0;e=document.body;e.style.position="absolute";function rt(){e.style.top=100-(50*Math.cos(x*Math.PI/180))+"px";e.style.left=100+(50*Math.sin(x*Math.PI/180))+"px";x+=5};setInterval("rt()",50);void(0);

rox :P

PS: there is a space between the 'function' and 'rt' in the javascript code thing :P

07-09-2006 10:00 PM
Profile PM Find Quote Report
Nathan
Veteran Member
*****

Avatar
Yeah, "large dimensions" ;)

Posts: 2984
Reputation: 76
– / Male / Flag
Joined: Apr 2005
RE: Cool Javascript :P (tested on IE and FireFox)
lol, This is soo cool. Its driving me mental :P
Touch Innovation - touch friendly programs/applications for the windows mobile!


07-09-2006 10:01 PM
Profile E-Mail PM Web Find Quote Report
lordy
Senior Member
****


Posts: 853
Reputation: 24
35 / Male / Flag
Joined: Jul 2004
Status: Away
RE: Cool Javascript :P (tested on IE and FireFox)
rofl wtf? that's crazy man
07-09-2006 10:03 PM
Profile E-Mail PM Find Quote Report
ddunk
Veteran Member
*****

Avatar

Posts: 1228
Reputation: 51
35 / Male / Flag
Joined: Mar 2004
RE: Cool Javascript :P (tested on IE and FireFox)
Other trig functions give different effects.
javascript:x=0;e=document.body;e.style.position="absolute";function rt(){e.style.top=100-(50*Math.cos(x*Math.PI/180))+"px";e.style.left=100+(50*Math.sin(x*Math.PI/180))+"px";x+=5};setInterval("rt()",50);void(0);

Change the bolded parts to a combination of sin, cos, tan, asin, acos, or atan

This post was edited on 07-09-2006 at 10:08 PM by ddunk.
07-09-2006 10:07 PM
Profile E-Mail PM Web Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
O.P. RE: Cool Javascript :P (tested on IE and FireFox)
nice ddunk :P

This post was edited on 07-09-2006 at 10:09 PM by prashker.
07-09-2006 10:08 PM
Profile PM Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
RE: Cool Javascript :P (tested on IE and FireFox)
how annoying:P theres got to be some more useful things this can be used for!

[Image: lost7ru.gif]
07-09-2006 10:25 PM
Profile E-Mail PM Find Quote Report
wooki
New Member
*

Avatar
MessengerFREAK

Posts: 5
36 / Male / –
Joined: Jul 2006
RE: Cool Javascript :P (tested on IE and FireFox)
yeah that's cool^^ thanks
07-09-2006 10:43 PM
Profile PM Find Quote Report
Jimcando
Full Member
***

Avatar

Posts: 420
Reputation: 16
34 / Male / Flag
Joined: Dec 2003
RE: Cool Javascript :P (tested on IE and FireFox)
wow, that is awesome!
07-09-2006 10:53 PM
Profile E-Mail PM Find Quote Report
Chrono
forum admin
*******

Avatar
;o

Posts: 6023
Reputation: 116
39 / Male / Flag
Joined: Apr 2002
Status: Away
RE: Cool Javascript :P (tested on IE and FireFox)
It does nothing here O.o unless im doing something wrong :P
[Image: wdz_discrate.png]
07-10-2006 03:32 AM
Profile PM Web Find Quote Report
L. Coyote
Senior Member
****

Avatar
Captain Obvious

Posts: 981
Reputation: 49
39 / Male / Flag
Joined: Aug 2004
Status: Away
RE: Cool Javascript :P (tested on IE and FireFox)
:rofl:

I feel like I'm in a boat.... +o(

Hack, hack, hack!
Finally became a Systems Analyst! :spam:

07-10-2006 03:35 AM
Profile PM Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On