Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #60262
    Cattext
    Participant

    Hi Sakin,

    Is it possible to influence the speed of the drop down menu?
    Now when we remove our mouse from the menu, it immediately disappears. So if you point your mouse wrong accidentally, then you’ve lost the menu.
    We would like it to be so, that if you remove your mousepointer from the menu, the menu still stays visible for a few seconds.

    And is it also possible to make the drop down menus a little ‘see-through’ (don’t know what the proper term is).

    #60343
    Sakin
    Keymaster

    @Cattext: For that you need to add in Javascript code or maybe search for plugin.

    #64988
    Cattext
    Participant

    Hi Sakin,

    I finally got around to properly search for a solution.
    No plugin found unfortunately.
    I have found a js script, but I don’t know where to implement it and I think there’s names in there that might not be correct (for the theme).
    Could you help me tweak it so it will work on our website?

    var timer;
    
    $(".parent").on("mouseover", function() {
      clearTimeout(timer);
      openSubmenu();
    }).on("mouseleave", function() {
      timer = setTimeout(
        closeSubmenu
      , 1000);
    });
    
    function openSubmenu() {
      $(".submenu").addClass("open");
    }
    function closeSubmenu() {
      $(".submenu").removeClass("open");
    }
    #64993
    Sakin
    Keymaster

    @Cattext: Not so sure about it. You might need to hire developer for this. Try plugin like https://wordpress.org/plugins/superfish/

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘delay drop down menu’ is closed to new replies.