No wait you were almost right, I did this :
$(function() {
$(“.calendar-event”).children().not(“.event-title”).hide();
$(“.calendar-event .event-title”).on(“click”,
function(e) {
e.preventDefault(); // remove line if you are using a link in the event title
$(“.calendar-event”).children().not(“.event-title”).hide();
$(this).parent().children().not(“.event-title”).toggle();
});
$(“.calendar-event .close”).on(“click”,
function(e) {
e.preventDefault();
$(this).parent().toggle();
});
});
IT WOKRSSS !