Quantcast
Channel: help – WordPress.org Forums
Viewing all articles
Browse latest Browse all 13924

th3rion on "[Plugin: My Calendar] Events on top of each other ? (Link)"

$
0
0

This works for mini calendar too. Code below:

$(function() {
$(".mini .has-events").children().not(".trigger").hide();
$(".mini .has-events .trigger").on("click",
function(e) {
e.preventDefault();
$(".mini .has-events").children().not(".trigger").hide();
$(this).parent().children().not(".trigger").toggle();
});
$(".mini-event .close").on("click",
function(e) {
e.preventDefault();
$(this).parent().parent().parent().toggle();
});
});


Viewing all articles
Browse latest Browse all 13924

Trending Articles