• Resolved msbt

    (@msbt)


    Hi there!
    I have a single page website with static menu on top and changes to the menu-items when scrolling down to the area of that item. Basically it works as intended (meaning the menu item gets the highlighted class when I’m scrolling to that part of the page), but as soon as I manually click on a menu-item, it gets the mPS2id-clicked class and the mPS2id-highlight isn’t set anymore when I scroll back and forth. It could work either by not setting the clicked class (because it would scroll to that area and get the highlight one) or by removing the clicked class when highlight is set again.

    Any idea how to fix that?

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author malihu

    (@malihu)

    Hello,

    The mPS2id-highlight and mPS2id-clicked classes work independently (they do not affect each other), so I’m not sure what’s happening in your implementation.

    Can you post your page/site url so I can check it and see what exactly happens?

    Thread Starter msbt

    (@msbt)

    Thanks for getting back to me, I’ve sent you an email!

    Thread Starter msbt

    (@msbt)

    Fixed, thanks for the input! Was my own fault ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No more highlight after menu item got clicked’ is closed to new replies.