Help with corvid list please!!!


Can someone please help me, I want to be able click on the bottom two bullet points and them to show a collapsible list.

Example when clicking Bathroom fixtures it will show:
Hooks
Shelves
Soap Dishes
Towel rings
etc

1 Like

Amy,

  1. You will need to make all these bullet points separate text elements if you haven’t already done so. For information about how to create a manual bullet point, click here .

  2. Add the collapsible list items as separate text elements.

  3. Group those list items and then on the property sheet, uncheck “Collapsed on Load” in the property sheet while that grouping is selected.

  4. With the Bathroom Fixtures element selected, add an onClick event on the property sheet.

  5. The code block would look like this:

export function textBathroomFixtures_click(event) {
 if ($w('#groupBathroomFixtures').collapsed) {
        $w('#groupBathroomFixtures').expand();
    } else {
        $w('#groupBathroomFixtures').collapse();
    }
}

This is how it looks in the Wix editor:

Hello @hello2043 ,

I have a video tutorial that shows how to create a collapsed items. You can view the forum post here:

https://www.wix.com/corvid/forum/community-discussion/double-collapsing-effect

Funny that, I already posted your tutorial link for this on my original reply a few days ago!
https://www.wix.com/corvid/forum/community-discussion/how-do-i-create-a-list-from-certain-items-on-a-list