<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>Support Forum - Topic: closing portfolio item when clicking on sortable filters</title>
		<link>http://www.kriesi.at/support/topic/closing-portfolio-item-when-clicking-on-sortable-filters</link>
		<description>Support Forum - Topic: closing portfolio item when clicking on sortable filters</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 19:37:27 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/closing-portfolio-item-when-clicking-on-sortable-filters" rel="self" type="application/rss+xml" />

		<item>
			<title>jessipoo on "closing portfolio item when clicking on sortable filters"</title>
			<link>http://www.kriesi.at/support/topic/closing-portfolio-item-when-clicking-on-sortable-filters#post-44281</link>
			<pubDate>Thu, 01 Mar 2012 19:47:52 +0000</pubDate>
			<dc:creator>jessipoo</dc:creator>
			<guid isPermaLink="false">44281@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey Dude,&#60;/p&#62;
&#60;p&#62;Thanks. This works!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "closing portfolio item when clicking on sortable filters"</title>
			<link>http://www.kriesi.at/support/topic/closing-portfolio-item-when-clicking-on-sortable-filters#post-44174</link>
			<pubDate>Thu, 01 Mar 2012 07:56:25 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">44174@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Personally I'd modify $.fn.avia_iso_sort and I'm not sure what the user modified. I'd replace:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;links.bind(&#38;#39;click&#38;#39;,function()
			{
				var current = $(this);

				links.removeClass(&#38;#39;active_sort&#38;#39;);
				current.addClass(&#38;#39;active_sort&#38;#39;);
				selector = current.data(&#38;#39;filter&#38;#39;);
				container.css({overflow:&#38;quot;hidden&#38;quot;}).isotope({ layoutMode : &#38;#39;customMode&#38;#39;, itemSelector : &#38;#39;.flex_column&#38;#39; , filter: &#38;#39;.&#38;#39;+selector}, set_container );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;links.bind(&#38;#39;click&#38;#39;,function()
			{
				var current = $(this);

				links.removeClass(&#38;#39;active_sort&#38;#39;);
				current.addClass(&#38;#39;active_sort&#38;#39;);
				selector = current.data(&#38;#39;filter&#38;#39;);
				container.css({overflow:&#38;quot;hidden&#38;quot;}).isotope({ layoutMode : &#38;#39;customMode&#38;#39;, itemSelector : &#38;#39;.flex_column&#38;#39; , filter: &#38;#39;.&#38;#39;+selector}, set_container );

				$(&#38;#39;.ajax_slide&#38;#39;).css({display:&#38;quot;none&#38;quot;}).removeClass(&#38;#39;active_ajax_slide&#38;#39;);
				$(&#38;#39;.active_portfolio_item&#38;#39;).removeClass(&#38;#39;active_portfolio_item&#38;#39;);
				$(&#38;#39;.ajax-control&#38;#39;).removeClass(&#38;#39;visible_controls&#38;#39;).css({display:&#38;quot;none&#38;quot;});
				$(&#38;#39;.ajax-portfolio-response&#38;#39;).css({height:&#38;#39;auto&#38;#39;});&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>jessipoo on "closing portfolio item when clicking on sortable filters"</title>
			<link>http://www.kriesi.at/support/topic/closing-portfolio-item-when-clicking-on-sortable-filters#post-44120</link>
			<pubDate>Thu, 01 Mar 2012 00:03:07 +0000</pubDate>
			<dc:creator>jessipoo</dc:creator>
			<guid isPermaLink="false">44120@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;bump
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jessipoo on "closing portfolio item when clicking on sortable filters"</title>
			<link>http://www.kriesi.at/support/topic/closing-portfolio-item-when-clicking-on-sortable-filters#post-43865</link>
			<pubDate>Tue, 28 Feb 2012 15:57:13 +0000</pubDate>
			<dc:creator>jessipoo</dc:creator>
			<guid isPermaLink="false">43865@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;the question has been asked before (&#60;a href=&#34;http://www.kriesi.at/support/topic/portfolio-single-entry&#34; rel=&#34;nofollow&#34;&#62;http://www.kriesi.at/support/topic/portfolio-single-entry&#60;/a&#62;) but the solution wasn't very clear for me. I need a clear step by step of which code goes where.&#60;/p&#62;
&#60;p&#62;Someone provided this solution:&#60;br /&#62;
Well, it required some editing in avia.js. The function you need to adjust is $.fn.avia_ajax_portfolio. Here you have a controls.bind function. Basically this binds some behavior to the 3 control buttons.&#60;br /&#62;
When you take a close look at this function, you will notice that the latest else if binds a function to the close button. Its this function you also need to bind to the sort buttons. And the sort buttons can be found with a selector: sortButtons = $('#js_sort_items a', container);.&#60;/p&#62;
&#60;p&#62;I could not find the sortButtons, I didn't find the exact same '#js_sort_items a', container code, and I tried doing some different copy pasting of the 2 mentioned codes but I wasn't sure which one and where they went.&#60;/p&#62;
&#60;p&#62;Could you please clarify?&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
