<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Improving navigation on large accordion content panels	</title>
	<atom:link href="https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/feed/" rel="self" type="application/rss+xml" />
	<link>https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/</link>
	<description>We are creating better worlds though thoughtful design and technology. Connect with us!</description>
	<lastBuildDate>Tue, 07 Apr 2026 09:05:41 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>
	<item>
		<title>
		By: Shaiful Borhan		</title>
		<link>https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-102474</link>

		<dc:creator><![CDATA[Shaiful Borhan]]></dc:creator>
		<pubDate>Thu, 23 Jun 2016 03:58:15 +0000</pubDate>
		<guid isPermaLink="false">https://stampede-design.com/blog/?p=3602#comment-102474</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-102473&quot;&gt;Zenodotus&lt;/a&gt;.

Hi there,

The code can be placed in any .liquid template files for the pages where you need to have this functionality or simply add them in the global theme javascript file. However, the example above is using jQueryUI accordion. So you&#039;d also need to determine what accordion library your Shopify theme is using.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-102473">Zenodotus</a>.</p>
<p>Hi there,</p>
<p>The code can be placed in any .liquid template files for the pages where you need to have this functionality or simply add them in the global theme javascript file. However, the example above is using jQueryUI accordion. So you&#8217;d also need to determine what accordion library your Shopify theme is using.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Zenodotus		</title>
		<link>https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-102473</link>

		<dc:creator><![CDATA[Zenodotus]]></dc:creator>
		<pubDate>Thu, 23 Jun 2016 03:56:11 +0000</pubDate>
		<guid isPermaLink="false">https://stampede-design.com/blog/?p=3602#comment-102473</guid>

					<description><![CDATA[Can you please explain how to implement this feature into Shopify? I&#039;m new to this and I don&#039;t know exactly where to put the code.]]></description>
			<content:encoded><![CDATA[<p>Can you please explain how to implement this feature into Shopify? I&#8217;m new to this and I don&#8217;t know exactly where to put the code.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Shaiful Borhan		</title>
		<link>https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-102472</link>

		<dc:creator><![CDATA[Shaiful Borhan]]></dc:creator>
		<pubDate>Wed, 22 Jun 2016 03:53:56 +0000</pubDate>
		<guid isPermaLink="false">https://stampede-design.com/blog/?p=3602#comment-102472</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-102471&quot;&gt;Dirk&lt;/a&gt;.

Hi Dirk,

In your website I noticed you are using Bootstrap to produce the accordion. That is fine because they support events too as shown here http://getbootstrap.com/javascript/#collapse-events

So you probably can write something like:

[js]
$(&#039;#accordion03&#039;).on(&#039;shown.bs.collapse&#039;, function (ev) {
	// do something…
	$toggler = $(ev.target).prev();
	if(!$.isEmptyObject($toggler.offset())) {
		$(&#039;html:not(:animated), body:not(:animated)&#039;).animate({ scrollTop: $toggler.offset().top }, &#039;slow&#039;);
	}
})
[/js]]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-102471">Dirk</a>.</p>
<p>Hi Dirk,</p>
<p>In your website I noticed you are using Bootstrap to produce the accordion. That is fine because they support events too as shown here <a href="http://getbootstrap.com/javascript/#collapse-events" rel="nofollow ugc">http://getbootstrap.com/javascript/#collapse-events</a></p>
<p>So you probably can write something like:</p>
<pre class="brush: jscript; title: ; notranslate">
$('#accordion03').on('shown.bs.collapse', function (ev) {
	// do something…
	$toggler = $(ev.target).prev();
	if(!$.isEmptyObject($toggler.offset())) {
		$('html:not(:animated), body:not(:animated)').animate({ scrollTop: $toggler.offset().top }, 'slow');
	}
})
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dirk		</title>
		<link>https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-102471</link>

		<dc:creator><![CDATA[Dirk]]></dc:creator>
		<pubDate>Wed, 15 Jun 2016 03:43:53 +0000</pubDate>
		<guid isPermaLink="false">https://stampede-design.com/blog/?p=3602#comment-102471</guid>

					<description><![CDATA[Hi Shaiful,

very interesting article. I&#039;m not using  the JQuery UI library, but would you mind looking at this site. It&#039;s the same problem... www.incozina.be/index.php/nl/je-droomt-van-je-eigen-zaak-2

Kind regards,
D]]></description>
			<content:encoded><![CDATA[<p>Hi Shaiful,</p>
<p>very interesting article. I&#8217;m not using  the JQuery UI library, but would you mind looking at this site. It&#8217;s the same problem&#8230; <a href="http://www.incozina.be/index.php/nl/je-droomt-van-je-eigen-zaak-2" rel="nofollow ugc">http://www.incozina.be/index.php/nl/je-droomt-van-je-eigen-zaak-2</a></p>
<p>Kind regards,<br />
D</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Bart		</title>
		<link>https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-96846</link>

		<dc:creator><![CDATA[Bart]]></dc:creator>
		<pubDate>Mon, 18 Jan 2016 15:21:40 +0000</pubDate>
		<guid isPermaLink="false">https://stampede-design.com/blog/?p=3602#comment-96846</guid>

					<description><![CDATA[Good Job Dude !]]></description>
			<content:encoded><![CDATA[<p>Good Job Dude !</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Soumitra Pal		</title>
		<link>https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-80836</link>

		<dc:creator><![CDATA[Soumitra Pal]]></dc:creator>
		<pubDate>Thu, 23 Jul 2015 14:39:50 +0000</pubDate>
		<guid isPermaLink="false">https://stampede-design.com/blog/?p=3602#comment-80836</guid>

					<description><![CDATA[I tried your code for this site. But it does not solve the problem. Could you please help?
http://www.iccabs.org/]]></description>
			<content:encoded><![CDATA[<p>I tried your code for this site. But it does not solve the problem. Could you please help?<br />
<a href="http://www.iccabs.org/" rel="nofollow ugc">http://www.iccabs.org/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: retej5		</title>
		<link>https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-48436</link>

		<dc:creator><![CDATA[retej5]]></dc:creator>
		<pubDate>Fri, 16 Jan 2015 16:08:10 +0000</pubDate>
		<guid isPermaLink="false">https://stampede-design.com/blog/?p=3602#comment-48436</guid>

					<description><![CDATA[Using your code which works great, how can I now point to a particular section in the accordion from a link on another page using your code.  I had code written that would open the particular section, but screen would not scroll down to that section.  So I found your code, which brings the section to the top of the page, but I can no longer initiate a section from a link.]]></description>
			<content:encoded><![CDATA[<p>Using your code which works great, how can I now point to a particular section in the accordion from a link on another page using your code.  I had code written that would open the particular section, but screen would not scroll down to that section.  So I found your code, which brings the section to the top of the page, but I can no longer initiate a section from a link.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Muyassir		</title>
		<link>https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-39805</link>

		<dc:creator><![CDATA[Muyassir]]></dc:creator>
		<pubDate>Thu, 06 Nov 2014 05:32:41 +0000</pubDate>
		<guid isPermaLink="false">https://stampede-design.com/blog/?p=3602#comment-39805</guid>

					<description><![CDATA[Thank you so much.
It really helped and worked.]]></description>
			<content:encoded><![CDATA[<p>Thank you so much.<br />
It really helped and worked.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Shaiful Borhan		</title>
		<link>https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-36819</link>

		<dc:creator><![CDATA[Shaiful Borhan]]></dc:creator>
		<pubDate>Sat, 11 Oct 2014 20:43:55 +0000</pubDate>
		<guid isPermaLink="false">https://stampede-design.com/blog/?p=3602#comment-36819</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-36136&quot;&gt;Chris&lt;/a&gt;.

Hi Chris,
What JS library are you using for the accordion? Roughly, the CSS would be something like:
[css]
.your-element {
   width:300px;
   height: 400px;
   overflow:scroll;
}
[/css]]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-36136">Chris</a>.</p>
<p>Hi Chris,<br />
What JS library are you using for the accordion? Roughly, the CSS would be something like:</p>
<pre class="brush: css; title: ; notranslate">
.your-element {
   width:300px;
   height: 400px;
   overflow:scroll;
}
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Chris		</title>
		<link>https://stampede-design.com/blog/improving-navigation-on-large-accordion-content-panels/#comment-36136</link>

		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Mon, 06 Oct 2014 15:57:18 +0000</pubDate>
		<guid isPermaLink="false">https://stampede-design.com/blog/?p=3602#comment-36136</guid>

					<description><![CDATA[Hi Shaiful,
Assuming that I take your entire code but wish to display all your info in a div with fixed width: 300px and fixed height: 400px and at the same time display an attached scroll bar to the div if the contents overflow using the overflow property, how do I go about doing it?  By the way, I would still want to retain the feature of scrolling the selected section to the top of the div if that section and its info cannot be contained in my div.  Thank you]]></description>
			<content:encoded><![CDATA[<p>Hi Shaiful,<br />
Assuming that I take your entire code but wish to display all your info in a div with fixed width: 300px and fixed height: 400px and at the same time display an attached scroll bar to the div if the contents overflow using the overflow property, how do I go about doing it?  By the way, I would still want to retain the feature of scrolling the selected section to the top of the div if that section and its info cannot be contained in my div.  Thank you</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
