Can anyone help me to rewrite the below code which use a fade effect , to use a sliding effect.I want Slide up and Slide Down
function ShowCostMetrics()
{
$("#pnlGraph").fadeOut("slow",function()
{
$("#pnlCostMetrics").fadeIn("slow");
});
}
function ShowGraph()
{
$("#pnlCostMetrics").fadeOut("slow",function()
{
$("#pnlGraph").fadeIn("slow");
});
}
Thanks in advance