Gift Wrapping Javascript !!


So celebration time is back at office, and I noticed people exchanging a lot of gifts. I was a little free than usual, and so, quickly thought of coming up with this gift wrapping HTML. Here is a demo page, and you could simple include that javascript source file from the original location. You could also change the look and feel of the gift wrapper, following the details inside the JS file. Here is how a gift wrap looks. Just paste the URL of the image that u wanna gift wrap.

The only trick here that the wrap open image is required to be fetched earlier so that the animation shows up properly. However, if you make the image, a part of some other object (if hidden), IE does not really show the animation. Note that the animation is not in loop, but stops after it is done.

Have fun !!