if you need help, best include a link to the page so we can see exactly what the issue is.
collapse’s content automatically opens for a second
I guess you mean as the page is loading the collapse content shows for a second, then collapses once the page finishes loading.
This is because there is a) lots of content on your page b) the page has a slow load time c) the server is slow. The plugin waits until the page finishes loading before the initial collapse. This is so that the indexing robots from search engines can properly crawl and index the hidden content. You can try adding the maptastic class to the targets using the targclass attribute like so:
[expand title="trigger text" targclass="maptastic"]hidden content[/expand]
And when the content is open it stay during page reload
Not sure what this means. When the page reloads, the page will reload.
Thanks a lot for your answer.
Indeed the addition of the attribute (targclass = “maptastic”) avoids that the zone unfolds with each loading of page.
Now I still have the problem that once the zone is deployed, I would like it to remain open even if the page is reloaded (currently if I reload the page the area closes).
Thank you for your help 🙂
Ah. Ok. We added the ability to store the current state of an expand element to a cookie in Collapse-Pro-Matic.
ok i’ll see that side then 😉