Viewing 5 replies - 1 through 5 (of 5 total)
  • I also miss this behaviour or at least I would expect this to be a default one.

    Plugin Author Joe Dolson

    (@joedolson)

    You have a couple of options; one is to enable the ‘draggable’ options on the script editor page, which will enable you to move the details windows when multiples are open.

    The second option is to customize your scripting so that other windows are closed automatically.

    It’s a fairly simple change from the current default script:

    https://www.joedolson.com/sample.txt

    Thread Starter Mode808

    (@mode808)

    Thank you so much for the help, it didn’t word though ?? Do you guys have any idea how to do this ?

    Thread Starter Mode808

    (@mode808)

    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 !

    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 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Events on top of each other ? (Link)’ is closed to new replies.