One Toggle Open on Page Load

5 replies·opened Feb 27, 2023
S
SemiColonWebSTAFFFeb 28, 2023

Hello,

You can simply add the data-state="open" Attribute to the .toggle Element.

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

S
SISCANFeb 28, 2023

Hi

Will you please advise where I place the data-state="open"

in: -

<div class="toggle toggle-border">
<div class="togglet toggleta"><i class="toggle-closed icon-ok-circle"></i><i class="toggle-open icon-remove-circle"></i>Message (Most Recent)</div>
<div class="togglec" style="">

Regards
Barry

S
SISCANMar 1, 2023

Hi

Wondering if you had a chance to look at my last message?

Regards
Barry

S
SemiColonWebSTAFFMar 2, 2023

Hello,

Consider using the following code:

<div class="toggle toggle-border" data-state="open">
	...
</div>

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

S
SISCANMar 2, 2023

Thank you.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard