// Checking Availability...').fadeIn(1000);
$.post('/e107_themes/PaintedMeadows_v0.5/e107themes_net.php',{ user_name:$(this).val() } ,function(data)
{
if(data=='no') //if username not avaiable
{
$('#msgbox').fadeTo(200,0.1,function() //start fading the messagebox
{
$(this).html('Username Already Taken').addClass('messageboxerror').fadeTo(900,1);
});
}
else if(data=='empty') //if username left empty
{
$('#msgbox').fadeTo(200,0.1,function() //start fading the messagebox
{
$(this).html('
Please Enter a Username!').addClass('messageboxerror').fadeTo(900,1);
});
}
else if (data=='yes')
{
$('#msgbox').fadeTo(200,0.1,function() //start fading the messagebox
{
$(this).html('
Username Available').addClass('messageboxok').fadeTo(900,1);
});
}
});
});
//Xup
$('#loginnamexup').blur(function()
{
$('#msgbox2').removeClass().addClass('messagebox').html('
Checking Availability...').fadeIn(1000);
$.post('/e107_themes/PaintedMeadows_v0.5/e107themes_net.php',{ user_name:$(this).val() } ,function(data)
{
if(data=='no') //if username not avaiable
{
$('#msgbox2').fadeTo(200,0.1,function() //start fading the messagebox
{
$(this).html('Username Already Taken').addClass('messageboxerror').fadeTo(900,1);
});
}
else if(data=='empty') //if username left empty
{
$('#msgbox2').fadeTo(200,0.1,function() //start fading the messagebox
{
$(this).html('Please Enter a Username!').addClass('messageboxerror').fadeTo(900,1);
});
}
else if (data=='yes')
{
$('#msgbox2').fadeTo(200,0.1,function() //start fading the messagebox
{
$(this).html('OK, Username Available').addClass('messageboxok').fadeTo(900,1);
});
}
});
});
});
//]]>