You can either animate the iframe using jQuery, or you can animate the contents of the iframe.
The disadvantage of doing anything with an iframe is that they do not allow the script to parently interact with the script running inside the iframe. It is called Cross Domain Restriction to protect against malicious scripts from different domains.
Therefore, if you intend to animate the contents of your iframe, you need to implement the animation as part of the page loaded inside the iframe. Otherwise, to animate the iframe itself, jQuery already has some basic animation features that are described here .
Roman source share