
Untitled
By: a guest on
May 1st, 2012 | syntax:
JavaScript | size: 0.23 KB | hits: 13 | expires: Never
$('#buttn').click(function(){
var leftval = $("feature").css("left");
if (leftval==(panelWidth*2)){
$("feature").animate({
"left":0
});
}else{
$("feature").animate({
"left":-(panelWidth)
});
}
});