DBY
Who's Online
0 registered (), 12 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Latest Photo Gallery
light pole in the water
Eastern State Penitentiary - Philadelphia
Top Posters (30 Days)
HarryB 13
FinalDJ 11
Anartist 11
Goofy 7
Fitzy 3
m2h 3
Meph 2
Doorslammer 1
Dough 1
Nightowl 1
Topic Options
#178543 - 03/10/11 03:35 PM Github 404 Error message is pretty cool, but how was it made?
ipatch Offline
Mate

Registered: 11/20/01
Posts: 384
Loc: umm
I'm not sure how those savy devs over @ github created their 404 error message but it is pretty cool. I think they have a similar error message setup for 500 responses as well. The 404 error message can be viewed here You have to hover mouse over the Star Wars graphic to get the full effect. There is no flash going on with this so I am assuming their using some sort of JavaScript technique. Any thoughts on how this is done would be cool.
_________________________
cheers
-C

Top
#178545 - 03/10/11 04:28 PM Re: Github 404 Error message is pretty cool, but how was it made? [Re: ipatch]
Mr_Blog Offline
human

Registered: 06/06/01
Posts: 13762
Loc: ${PWD}

Javascript tracking the position of the mouse and positioning the images accordingly. The initial positioning is done with CSS (check out what it looks like with "no style" applied to the page) so it still looks good for browsers with javascript disabled. It's a fairly simple concept, but very cute and clever.

I really like this, but I think it's a little heavy to be used as a 404 (still not as bad as homestarrunner's 404)
_________________________
( o_
/ >) My 84-year-old non-techy mom uses Debian Linux. It ain't that hard.

Top
#178551 - 03/10/11 05:12 PM Re: Github 404 Error message is pretty cool, but how was it made? [Re: Mr_Blog]
ipatch Offline
Mate

Registered: 11/20/01
Posts: 384
Loc: umm
Awesome, thanks for the info on the 404 message. I might get adventurous and try to put something similar together for my blog. And yeah, using Flash for a 404 message seems like a little overkill for me as well, but isn't homestarrunner.com all about the flash anyways. (just saying)


Edited by iPatch (03/10/11 05:13 PM)
_________________________
cheers
-C

Top



Moderator:  Doorslammer, Nightowl, NightShade, Rez 
Shout Box

Today's Birthdays
No Birthdays
May
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31