• Resolved Guenni007

    (@guenni007)


    the inserted classes in the excluding input field do not work anymore. Your trigger-class will be set anyway. (__mPS2id)
    i need to exclude all inline popups that goes to a given #ID
    these inline-popups have all a specific class ( inline-popup )
    _____
    f.e. i put in : .menu-item a , .inline-popup a, …
    the right main menu point in the example page above should open a popup that opens an unvisible #ID
    if your trigger class isn’t set – it will open.
    when i put in the selectors : a[href*=’#’]:not([href^=’#’])
    it will work too – but i need those anchor points on scrolling to a given ID on that page.

    I know that it is in fact the switch to WP 5.6 with its jQuery Version 3.5.1
    i know that jquery migrate could help – but it is time to get rid of this interims solution.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Guenni007

    (@guenni007)

    Edit : i now had to deactivate your plugin to have those popups. But maybe it will be a reproduceable error. So you do not need the testpage.

    Plugin Author malihu

    (@malihu)

    The __mPS2id class is not the plugin’s trigger/event class. It’s just a selector class (it doesn’t mean that the plugin will use the link to scroll the page).

    In plugin settings, at the very end of “selectors are excluded” field, add the following:

    , .inline-popup a

    click save changes, test and let me know so I can check your page.

    Another way would be to change the “Selector(s)” option field to:

    li:not(.inline-popup) a[href*='#']:not([href='#'])

    But the first method (“selectors are excluded” field) should work, so please let me know if you try it so I can check what happens.

    Thread Starter Guenni007

    (@guenni007)

    Thanks for the quick reply:
    yes i did test that on exclusion field
    i thought that the class __mPS2id is the indicator if a link is handled by your plugin or not.
    When i deactivate your plugin – the inline popups do work well – see link above.
    Now – i have activated your plugin – see yourself.

    “Rückruf” button on bottom – or Corona in the menu

    • This reply was modified 4 years, 1 month ago by Guenni007.
    • This reply was modified 4 years, 1 month ago by Guenni007.
    Plugin Author malihu

    (@malihu)

    No problem ??
    Go to plugin settings and disable/uncheck “Prevent other scripts from handling plugin’s links” option. Save changes, test and let me know.

    Thread Starter Guenni007

    (@guenni007)

    I tested both – because Enfold Theme got its own “smooth scroll” function.
    This function i do hamper by that added class no-scroll.

    Unfortunately no success. As soon as the plugin is active, the inline popups no longer open.
    This is a pity, because I use your plugin very frequently, not only because of the “scroll from/to different pages” but also because of the possibility to determine the scroll position very precisely at different screen widths via #ps2id-dummy-offset.

    • This reply was modified 4 years, 1 month ago by Guenni007.
    Thread Starter Guenni007

    (@guenni007)

    ?? very silly error of mine : on exclusion list the last element had a following comma
    thats all – sorry for the storm in a teacup

    Plugin Author malihu

    (@malihu)

    No problem. Does everything work as expected now?

    Thread Starter Guenni007

    (@guenni007)

    Yes – even with all other settings; so can be considered as resolved and closed.
    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Selectors excluded’ is closed to new replies.