Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function CallThis(){
- var div = $("div");
- div.animate({left: '100px'}, "slow");
- div.animate({fontSize: '3em'}, "slow");
- }
- $(document).ready(function(){
- CallThis();
- })
- $(document).ready(function(){
- // this block will be executed when the DOM is fully loaded
- var div = $("div");
- div.animate({left: '100px'}, "slow");
- div.animate({fontSize: '3em'}, "slow");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement