Skip to content

24 ways to impress your friends

Vote up?

Lewis

For the “it’s all about timing” section, I find it much easier to simply place the Javascript under the objects you wish to affect. This way, there’s no interference with other scripts, and there’s no waiting for big images to load before executing it. Because the browser loads it in logical order, it won’t ever execute it until everything above it has loaded.