Facebook circles

H

Hank Mishkoff

If you go to the Facebook home page and press a certain key sequence
(below), Facebook displays a string of circles that respond
differently to various keystrokes and mouse movements. (Yes, I know,
it's silly, but I like it. What can I say, I'm easily amused.) I
assume that the code for this effect is buried in the Javascript that
downloads with the page, but I can't find it. Can one of you experts
figure it out? I know, to figure it out you'd not only have to be a
Javascript expert, you'd have to be a Javascript expert with way too
much time on your hands... :)

BTW, the sequence is Up (arrow), Up, Down, Down, Left, Right, Left,
Right, B, A, Enter, right click. After that, you'll see the infamous
circles when you hit Up or Down or scroll the mouse wheel or do
various other things.
 
S

Stevo

Hank said:
If you go to the Facebook home page and press a certain key sequence
(below), Facebook displays a string of circles that respond
differently to various keystrokes and mouse movements. (Yes, I know,
it's silly, but I like it. What can I say, I'm easily amused.) I
assume that the code for this effect is buried in the Javascript that
downloads with the page, but I can't find it. Can one of you experts
figure it out? I know, to figure it out you'd not only have to be a
Javascript expert, you'd have to be a Javascript expert with way too
much time on your hands... :)

BTW, the sequence is Up (arrow), Up, Down, Down, Left, Right, Left,
Right, B, A, Enter, right click. After that, you'll see the infamous
circles when you hit Up or Down or scroll the mouse wheel or do
various other things.

It uses this image and this JS file (JS errors included):

http://static.ak.fbcdn.net/rsrc.php/zC3MZ/hash/4kxgjjvx.png

http://static.ak.fbcdn.net/rsrc.php/z2H6R/hash/2x44ltf4.js

They really don't want to be doing this in their code:

this.window={cx:vp.x/2,cy:vp.y/2};
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,743
Latest member
WoodrowMea

Latest Threads

Top