Thursday, 15 August 2013

JQuery - Animate using Canvas in Div tag to Draw a Flag

Output :






Happy Independence Day
















      In this article we are going to see how to animate with canvas in Div tag, It is used to draw graphics on the fly. Animate method is used to animate the given element and slide Down is used to slide down the element with timing.Here we are going to do a sample program with the following two elements to animate and draw a flag Canvas, Div and following three methods to do the actions animate, slideDown, SlideUp.