• Resolved xlpxlp00

    (@xlpxlp00)


    Hello, I create a Interaction Layer with Custom Trigger selector (#gspb_col-id-gsbp-31d8e0f>ul>li) on the #gspb_col-id-gsbp-31d8e0f element, When the mouse passes over each li tag, the class “current” will be added to the current li tag. However, the class “current” is added to #gspb_col-id-gsbp-31d8e0f element, it seems that custom trigger selector is not working.

    I think it was an update that caused this problem, because when I created this module, everything was working perfectly fine.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wpsoul

    (@wpsoul)

    custom trigger is for triggering. So, mouse over any of “#gspb_col-id-gsbp-31d8e0f>ul>li” will trigger action.

    However, action will be added to item where you enabled Interaction Layer. So, if you need to add to another, then you need to use also custom selector for action. You will need to use {TRIGGERINDEX} option. Previously, it was a bug and all actions were added to trigger element. But this is wrong because trigger selector and element where you need to add action can be different.

    Thread Starter xlpxlp00

    (@xlpxlp00)

    Hello, thanks for your reply.

    I already use custom selector for action. The problem is {TRIGGERINDEX} doesn’t seem to work. No matter which element the mouse passes over, the class “active” is always added to the first li element

    Plugin Author wpsoul

    (@wpsoul)

    update to actual plugin version. You can remove custom selector on Action

    Thread Starter xlpxlp00

    (@xlpxlp00)

    ok, thanks

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