How to add an Item (panel) to an accordion widget?

Christopher Winter shared this question 6 years ago
Answered

I am exploring the accordion widget, and I think I understand the setup and rules. But when I try to add another item (so I have 5 Items) the panel is offset by 10 on the X/Y axis, and shifting its position is greyed out. I am copying one of the existing panels (Item 4) and pasting it in. I have tried this six ways from Sunday without any luck.


How can I add more items (panels) into an accordion?


thanks - chris

Comments (4)

photo
1

Use the accordion described in this example instead of the one in the library http://d2ld3he4yll0xl.cloudfront.net/... . It's much simpler. We are in our way to change the one in the library.

photo
1

Thanks, Victor - that widget looks promising but I have the same problem: how do I add a new item? When I try it with the new accordion widget you gave, I have the same problem: adding a panel is offset by 10 on the X/Y axis, and shifting its position is greyed out.


thanks - chris

photo
1

It's better if you duplicate one of the panels instead. This tutorial can be of some help here as well http://www.justinmind.com/prototyper/...

photo
1

Victor,


The tutorial you sent uses duplicate to copy panels from one layer to another - I'm not sure how that applies to adding another sub-panel to an existing sub-panel. Am I missing something?


But besides copying, I did try to use duplicate and the results are very strange. Specifically:


1-Duplicating Dynamic_Panel_31 creates a copy of Expanded_8 (a sub-panel of Dynamic_Panel_31) at the same level as Collapsed_8 and Expanded_8. In other words, it does not create a true duplicate of Dynamic_Panel_31 (ie, a new DP with new sub-panels for Collapsed and Expanded).


2-Duplicating Panel_14 creates a complete copy of Panel_14 (with ALL the sub-panels, ie Items 1 to 4) but with the same X/Y position, and the position of the sub-panels beneath are not adjustable.


Neither of these lets me show 5 items instead of 4.


I've tried to attach a screenshot.


thanks - chris


77ed22e71fa43475f9f847fd85b28b00