Tuesday, March 20

Find out if animation is complete in webkit animation CSS3

I had to find out if animation is complete so as to perform some other event.
You can do this in jquery

    $("#animationdiv").bind("webkitAnimationEnd", function(){
animationdiv is the div which has some webkit animation being performed on.

afteranimation is the div id which needs to be displayed once the animation is complete.

This javascript will work only for webkit based browsers.

Friday, March 2

Give it a thought

The awesome article by guys from 37signals

Give it five minutes

This article makes me think. quoting some lines from there

There are two things in this world that take no skill: 1. Spending other people's money and 2. Dismissing an idea.

Dismissing an idea is so easy because it doesn't involve any work. You can scoff at it. You can ignore it. You can puff some smoke at it. That's easy. The hard thing to do is protect it, think about it, let it marinate, explore it, riff on it, and try it. The right idea could start out life as the wrong idea.

source : http://37signals.com/svn/posts/3124-give-it-five-minutes