693 Posts
rpoy
5 years ago
1
Topic

Hi!

I have 2 questions about using the Accordion Template (https://www.seblod.com/store/extensions/48).

1. When a heading is clicked, the article opens, but does not always close the other open article as shown in this demo.  It appears to be inconsistent when the articles go below the bottom of the page.

2. Is there a way to set an auto scroll so the open article moves to the top of the page?  If this is something that javascript needs to be added, where is it best to add it?  Should it be code pack field added to the heading list?

thanks,

Randy

Get a Book for SEBLOD
4229 Posts
Kadministrator
5 years ago
0
Level 1

Hi, I made something similar at http://silkem.si/en/specifications-msds - if you look at the source code there is function that starts with 

jQuery(document).ready(function() {
scrollMe(); .... 

You need this function and ScrollMe function..but I forgot a little about details..hope yu can manage.

Get a VIP membership