• Resolved BAC606

    (@barryc07024)


    Large, three-level menu (roughly 2,000 menu items, in total), where one/more third-level menus are already expanded when the second-level menu is opened (all submenus should be collapsed at page load!).

    Have read the support issues possibly related, have cleared cache, have toggled/tested the ‘Shortcode Loads CSS:’ option, but third-level menus are randomly open.

    Seems to be a consistent problem across browsers.

    Can be demonstrated at: https://theosoft.info/all/eng01-toctable0/ NOTE: Expand the PARTs and scroll thru the open menu. You will (probably) find that some of the next level menus are already OPEN. They should all be closed!

    Please advise.

    -B

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

    (@twinpictures)

    Since you did not provide a link to your page or an example of the code you are using, we can only assume it’s related to the randomly generated id’s.

    You see, if you do not define an id, a random id is generated. While this is normally not an issue, duplicate id’s can be generated when large amounts of expand elements are on the same page.

    Try assigning unique id’s to each expand element, using the id attribute like so:

    [expand title="trigger text" id="my_first_id"]hidden content[/expand]

    Thread Starter BAC606

    (@barryc07024)

    Good guess!:) Inserting specific ID’s resolved the issue.

    You can view a beautiful, large, complex implementation of your great plugin at the LINK PROVIDED IN MY INITIAL POST.

    Thank you for your prompt and effective assistance.

    Great product and great support! Now I can confidently use collapse-o-matic across my twenty-two (planned) multi-lingual implementations.

    -Barry

    Plugin Author twinpictures

    (@twinpictures)

    ah… seems we missed the link, sorry about that. but happy that it all worked out! issue marked as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Randomly expanded submenus on page load’ is closed to new replies.