Advertisement
Guest User

ricardoe

a guest
Mar 19th, 2009
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.82 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.     <head>
  4.         <base href="http://localhost/" />
  5.         <!--<base href="http://localhost/"></base>-->
  6.         <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
  7.         <script type="text/javascript">
  8.             jQuery(function(){
  9.                 jQuery.ajax({
  10.                     'url': 'http://dev.jquery.com/view/trunk/plugins/color/jquery.color.js',
  11.                     'cache': false,
  12.                     'dataType': 'script',
  13.                     'success': function(){
  14.                         $("#go").animate({backgroundColor:'pink'}, 1000).animate({backgroundColor:'blue'}, 1000);
  15.                     }
  16.                 });
  17.             });
  18.         </script>
  19.     </head>
  20.     <body>
  21.         <div id="go" style="width:200px; height:200px;" />
  22.     </body>
  23. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement