Tah Posted January 29, 2021 Share Posted January 29, 2021 Hello, I'm having issues with my accordion text default opening when loading the page before closing. Ideally I'd like it to default close on page load. Any ideas? Here's the page header code I used: <script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script><script> $(document).ready(function(){ $('.markdown-block .sqs-block-content h3').addClass('ui-closed').css('cursor','pointer'); $(".markdown-block .sqs-block-content h3").nextUntil("h3").slideToggle(); $(".markdown-block .sqs-block-content h3").click(function() { $(this).nextUntil("h3").slideToggle(); $(this).toggleClass('ui-closed ui-open'); }); }); </script> website: www.tashho.co.uk password: plantsarecool Link to comment
tuanphan Posted February 3, 2021 Share Posted February 3, 2021 Try disable Ajax Loading (Design > Site Styles > Ajax Loading) Or you can use this Accordion Tabs Plugin. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Tah Posted February 3, 2021 Author Share Posted February 3, 2021 4 hours ago, tuanphan said: Try disable Ajax Loading (Design > Site Styles > Ajax Loading) Or you can use this Accordion Tabs Plugin. I'm using 7.1 so don't have Ajax Loading. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment