blamethemusic — 2010-12-16T12:27:44-05:00 — #1
I'm going to be working on a new site and I wanted to make an image of a gem rotating on the home page. I would normally try to do this with flash, but for unknown reasons I was told not to use Flash. Any suggestions on what would be the best way to go about this?
dvduval — 2010-12-16T13:20:46-05:00 — #2
Sure, two words: Animated Gif
If you search for this there are sites that help you make them too.
blamethemusic — 2010-12-16T13:49:14-05:00 — #3
I forgot to mention I'd rather not use an animated GIF because the quality decreases.
system — 2010-12-16T23:44:06-05:00 — #4
Hmm, fat, bloated, requires a plugin, plugin not available to all devices... plenty of legitimate reasons not to flush a perfectly good website down the crapper with "flash for nothing"... there's a reason the term "flashtard" exists; using flash for ANYTHING other than FMV or games on a website == pointless bloat.
But I'm one of the people who HATES flash on websites for anything other than a game or videos like youtube; to me using it for anything else is just turning the website into useless garbage... and don't even get me STARTED about all the total trash completely useless websites that are built in nothing BUT flash -- see the official websites for most computer games.
1) is the user going to interact with the animation, or is it just a fixed rotation?
2) is this going to be a vector drawing or multiple static frames (like jpegs)?
Those answers can change how you handle it a good deal.
If it's just a non-interaction bunch of static frames, that's easy enough to do using settimeout and by loading the individual images from the scripting -- you could even 'filmstrip' them to a single image one over the other and slide them around as a background to show the one you want...
If you have the frames/images I could toss together a quick code example on how it's done.
In other words, just say no to jquery, mootools, yui, etc, etc...
materialdesigner — 2010-12-17T10:15:12-05:00 — #5
I would second this recommendation.
blamethemusic — 2010-12-19T14:18:29-05:00 — #6
stevie_d — 2010-12-19T14:38:22-05:00 — #7
Wow ... I've travelled back in time and it's 1997 again
Come on, that kind of animation is soooo last millennium ... or are you really going for this kind of site?
victorinox — 2010-12-19T17:04:33-05:00 — #8
My stock advice is that looping animations tend to hold a visitor's interest for juuust long enough for them realise how annoying it is and move off. How many popular sites employ animations (other than for presenting content)? If the feature is a must have, ensure a means to pause the animation is provided.
materialdesigner — 2010-12-20T13:38:56-05:00 — #9
I agree that a rotating image can be cheesy if done improperly.
One option you may want to consider is doing the rotation only on hover?
http://goodchee.com/ has a rotating animation of their logo on hover (they use CSS3 animations, so you can only see the rotation on webkit browsers like Chrome or Safari)
eastcoast — 2010-12-20T14:46:52-05:00 — #10
All those site featured are terrible, just terrible :rolleyes: