How to disable menu overflow scroll function

Home Forums Older releases 0.9.x How to disable menu overflow scroll function

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1403
    dinesh
    Participant

    i want to disable overflow menus scroll function (like two arrows append top and bottom of menu exceeds) and i tried this solution

    keepInViewport: false

    but, it’s also disable auto align right and left submenus based on screen size functionality. can you help me?

    #1814
    admin
    Keymaster

    Hi, there is no option for this, so if you would like to achieve it, you will need to modify the script “jquery.smartmenus.js”. You will need to find the following line:

    if (horizontalParent && (absY + subH > winY + winH + 0.49 || absY < winY) || !horizontalParent && subH > winH + 0.49) {

    and replace it with something like this:

    if (false) {

    Cheers!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?