This header gets me (and I suspect a lot of other javascript fans) very, very excited. Online its pretty cool to stumble on things that stretch the browser, in this case there’s no stretching - it PANS dude! PANS, that make you stop and say “woah, that was nice and didn’t require Flash” (Flash is the work of the devil). Its not just for the wow factor, because online you can view the source, the language that created that effect and store it away for a redesign rainy day.
I always wanted my headery-thing to be animated, to pan around to reveal Tokyo, or slide into another country or another view… I did some funky Panoramas for my Art Portfolio a few years back, and wanted to do something with those images… because they’re kind of wasting away on a Zip Disk in my archvie drawer.
So Dunstans’ 1976design.com got this pretty cool header going on- go see, its an animated view from his parent’s house in Dorset- it runs off real-time weather information which chooses which animation to show; sunny, day, night, snow etc. its really simple but right on the 2 dot 0 for good thinking.
I want it. I can’t get it. I know it must be based on this nice javascripty panorama… thing. But its not as chunky as the moo.fx script. I’ve extracted the javascript i need but can’t find the bit to say “start the panorama” etc.
// set ids
var headerDiv = document.getElementById('header');
var buttonLeft = document.getElementById('buttonLeft');
var buttonRight = document.getElementById('buttonRight');
hmm, I just wanted to post something to stop this blog stagnating- I think I may have just cracked it. Anyway, I’ve got a day off work (snow, thunder, lightning, hail) to hack something together, and then knighter, bill and I are off to tha movies. Which reminds me- I saw “Walk The Line”, I suppose its a great feat that someone can learn to sing, walk, talk and play guitar (along with the CrAzY EyEbrow) like Johnny Cash, but it was pretty weak - not the story of his life, more the story of a relationship- which is nice, but I would have far rather seen the whole of the Folsom Prison gig. Oh, and flashbacks are so lame - why does anyone ever bother writing good introductions when you can flashback. pff.