Hello,here is my code :
function toggle()
{
$("#Layer4").animate( { width:"20%"}, 1000 );
$("#Layer6").animate( { width:"20%"}, 1000 );
}
Now what happens is,that Layer4 and Layer6 witness some animation,but the interestingly the height changes and not the width.Also,after a second,the original dimensions are restored
Why is this happening ?
Thanks