[resolved] Random Titles begin and remain Expanded (4 posts)

  1. Christina3467
    Posted 3 years ago #

    Please check out this page:

    Random Tiles Will Be already Expanded on page load. Clear Cache and reload. Same Thing just Different Random Title


  2. Baden
    Plugin Author

    Posted 3 years ago #

    With so many elements, you should assign unique id's to each... the system is assigning random id's but with as many as you have, there is a possibility of having duplicate id's. This means the system is closing the first one on page load... but leaving the second one open.

    Solution - assign an unique ID using the id attribute like so:
    [expand title="ACETOCP" id="acet"]DRUG/INDUSTRIAL CHEMICALS[/expand]

  3. Christina3467
    Posted 3 years ago #

    Thank you Baden, for taking the time for an evaluation :)
    I need to write a unique id for everyone of these instances?
    Would breaking the page up into several pages also possibly Contain the problem?

  4. Baden
    Plugin Author

    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Collapse-O-Matic
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic