Hi Ian,
If you want to bring back the event handler when clicked on "X". Then this is not possible if you remove the event handler using off.
Instead of using off to remove event listener. Check whether "X" is visible and perform the operation
if(sym.$("Text").css("display") == "none")
{
sym.play("play");
sym.$("Text").show();
sym.$("mail_icon").show();
sym.$("Rectangle2").css("cursor","default");
}
Similarly click handler for "X" will be as follows
sym.playReverse("mailout");
sym.$("Text").hide();
sym.$("mail_icon").hide();
sym.$("Rectangle2").css("cursor","pointer");