i have done some code in jquery but where i commented in this bellow code i need to call image src instead of .text can any one help for my question.
$(".open").live('click', function () {
$("#navMenu").animate({
width: "85px"
}, {
queue: false,
duration: 500,
complete: function () {
//$(".open").text("CLOSE");
var $this = $(".open");
$this.removeClass();
$this.addClass("close");
}
});
});
$(".close ").live('click', function () {
$("#navMenu ").animate({
width: "52px"
}, {
queue: false,
duration: 500,
complete: function () {
//$(".close").text("OPEN");
var $this = $(".close");
$this.removeClass();
$this.addClass("open");
}
});
});
});