WordPress.org

Ready to get started?Download WordPress

Forums

Collapse-O-Matic
[resolved] Random Titles begin and remain Expanded (4 posts)

  1. Christina3467
    Member
    Posted 1 year ago #

    Please check out this page:
    http://capitalistwizard.com/?page_id=9

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

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

  2. Baden
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic