Limited availability during the holidays

Another busy year is coming to its end, and an exciting year lies ahead. In order to get ready for a fresh new start, our team will spend a few days' rest during the winter holidays. Over the holiday break, we will have reduced staffing from December 20th, 2024, to January 5th, 2025, so please be patient if you do not receive a response as quickly as you normally would.

We send our warmest wishes for happiness, health, and success throughout the coming year. Thank you for your continued support, and may you have a peaceful and blessed Happy Holidays!

Okay
  Public Ticket #3182058
Mouse Triggers & Layer Links
Closed

Comments

  • Phillip started the conversation

    NOTE - Neither issue is critical because there are workarounds, but I wanted to make sure you were aware of the issues.

    Mouse triggers appear to be connected

    For "layer actions",  the "Mouse Enter" and "Mouse Leave" appear to be connected.   If a javascript function is linked to the "Mouse Enter" trigger, and a different function to the "Mouse Leave" trigger, whichever function was defined last will be called for both triggers.

    for example, 

        "#button" has 
            button_enter linked to "mouse enter", and then
            button_leave linked to "mouse leave", then
            button_leave gets called for both.

        "#button" has 
            button_leave linked to "mouse leave", and then
            button_enter linked to "mouse enter", then
            button_enter gets called for both.

        I get around this by linking a single function to both events, 
            and testing for $('#button:hover').length != 0

    Linking to a layer messes up the Mouse triggers

    If I set a URL link for a layer that has a function linked to the mouse triggers, the function doesn't get triggered.

    The workaround is easy - just don't link any URLs to layers with mouse triggers, and implement the links via javascript events.

        $('#button').on('click', function(event) {

                   // do stuff

        });

  •  138
    George replied

    Hello Philip,

    We've already fixed this issue and we will release the new version in a couple of days. Thank you for the feedback.

    Best Regards,
    George | Kreatura Dev Team

  • Phillip replied

    Thank you!