Got an iPhone or iPad? We have a brand new Pastebin App for both devices, and it's totally free! Click here to download the new Pastebin App for iOS.
Guest

ricardoe

By: a guest on Mar 19th, 2009  |  syntax: HTML  |  size: 0.82 KB  |  hits: 90  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  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>