Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Baden

    (@baden03)

    Hello.

    Which browser are you experiencing this behaviour in?
    Have you cleared your cache?

    We just checked out your page, and everything seems to work normally in Chrome, FireFox and Safari…

    Thread Starter mekennedy

    (@mekennedy)

    Hi Baden,

    You can find the info about my browser here:
    https://aboutmybrowser.com/JdBxJ8jE

    It happens for me in Chrome, Firefox, and Safari. I am puzzled that it isn’t happening for you — it happened for me on multiple computers and my client also experienced it on hers.

    And I have cleared my cache.

    Thanks!

    Merel

    Plugin Author Baden

    (@baden03)

    I guess we are not fully understanding your problem. After re-reading your issue is seems that the problem has to do with page anchors. For example:
    https://communityeconomics.net/consulting/#rental-housing

    This will scroll-to and expand the rental-housing section on the page when the page loads.
    What do you mean by:

    but the div only expands the first time a menu item for that page is selected

    Are you trying to use multiple triggers to expand a single target?
    Which ‘menu item’ are you referring to?
    You will need to be a bit more descriptive about what your issue is and how to re-create it.

    UPDATE: After trying again to understand the issue it seems it has to do with your sub-menu items under Consulting. Yes, these sub-menu items will only trigger an expand if you are not already on the page. What you will need to do is also set the sub-menu link as a secondary trigger. More on that in this post:
    https://spacedonkey.de/531/collapse-o-matic-multiple-triggers/

    To do this you will need to be able to a) assign a specific ID to your menu item and b) assign a specific class.

    Give that a try and if you get stuck hit us back and we’ll try to provide additional assistance.

    Thread Starter mekennedy

    (@mekennedy)

    Hi Baden,

    This is very helpful — thanks!

    The part I can’t figure out is how to add a specific ID to my sub-menu item. There doesn’t seem to be a simple way to do it. Any ideas?

    Thanks,

    Merel

    Plugin Author Baden

    (@baden03)

    Hmmm… seems this would require you to create a custom nav_walker and that is overly complex. We’ll try and get this to work via class name which can be added to a menu item.

    Plugin Author Baden

    (@baden03)

    OK, a bit longer then expected, but we have a solution!
    We figured this was an advanced feature, so we added it only to our Collapse-Pro-Matic plugin. You can see a working demo back on the multiple trigger example page. Just click the menu item at the top entitled: Collapse External Trigger

    it works by simply assigning the following classes to your external trigger:
    collapseomatic – to tell the system this is a collapse-o-matic element
    colomatclasstrigger – to tell the system to use the class, not the id as the trigger
    colomatid-[the_target_id] – to define which target this trigger controls

    Let us know if you would like a prototype to test, since it was built to resolve your specific issue.

    Thread Starter mekennedy

    (@mekennedy)

    This is great Baden! Thank you!! I got the Pro version, but I can only download 1.3.1, and I think I need 1.3.2 to make it work — true?

    Plugin Author Baden

    (@baden03)

    Yup, we will email you a pre-release immediately.

    Thread Starter mekennedy

    (@mekennedy)

    Hi Baden,
    Did you send the pre-release version? I haven’t seen it yet.

    Thanks!

    Plugin Author Baden

    (@baden03)

    Yes, on May 14th, directly after we posted. We re-sent a copy to you just now. Please check your spam folder, as it might have landed there.

    Please contact us at the support email address listed in the purchase receipt if you have not received it. (or you can wait until we release it tomorrow)

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘ID attribute anchor only works once per page load’ is closed to new replies.