All pastes #516785 Raw Edit

Lou

public javascript v1 · immutable
#516785 ·published 2007-05-28 21:04 UTC
rendered paste body
function extinde(ce){   switch(ce)   {      case 'php':         var url = "show_php.php";         break;      case 'mysql':         var url = "show_mysql.php";         break;      default:         var url = "show_general.php";   }   var cerere = new Ajax.Updater(                                 'main',                                 url,                                    {                                       onComplete: function(request, json)                                               {                                                   new Effect.Fade('indicator', {});                                                   new Effect.BlindDown('main', {});                                                   new Effect.Highlight('main', {})                                               },                                       onLoading: function(request, json)                                               {                                                   new Effect.Appear('indicator', {});                                                   //new Effect.BlindUp('main', {})                                               },                                       method: 'get',                                    }                                 )}