最近搜索


没有最近搜索

Alexandra Culler's Avatar

Alexandra Culler

已加入2023年11月29日

·

最后活动2023年12月11日

关注

0

关注者

0

活动总数

3

投票

0

订阅

1

活动概览

的最新活动 Alexandra Culler

Alexandra Culler 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Jane M Langschied - it works for me (see here). Could it be that the code conflicts with something in your CSS or JS files? If you already have something defined as "accordion" or "panel" in your CSS file, that could cause an error if you try to re-define it later, or try to reference it in the JS file

查看评论 · 已于 2023年12月11日 发布 · Alexandra Culler

0

关注者

0

投票

0

评论


Alexandra Culler 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Hi Ifra Saqlain - thank you so much for the great code! I've implemented it on my site.

I am wondering if it's possible to set it up so that the first accordion in a series is open? I tried to update my HTML so the first item was of the class "accordion active" but all that did was highlight the header without showing the content within the panel.

This is the first time we're using this feature on our site, so I am trying to guide users by having the first accordion open so they know to open the other ones.

Thanks for any guidance you can provide!

查看评论 · 已于 2023年11月29日 发布 · Alexandra Culler

0

关注者

0

投票

0

评论