Hey,
Just wondering if anyone has managed to get a working Ajax (or just jQuery) filterable portfolio to work and how one would go about implementing this with navigation like the following:
I'm a real novice at this and quite literally stumped.
You can see the site I'm trying to implement it on here: http://hennhoneyball.com/mha/ (under "Projects").
Any help would be appreciated.
Just wondering if anyone has managed to get a working Ajax (or just jQuery) filterable portfolio to work and how one would go about implementing this with navigation like the following:
- Code: Select all
<div class="bit-1">
<ul>
<cms:set my_portfolio_template_link="<cms:link 'portfolio.php' />" />
<li><a href="index.php#projects" <cms:if k_template_name=='portfolio.php'>class="current"</cms:if> >All</a></li>
<cms:set my_current_category="<cms:gpc 'categories' method='get' />" />
<cms:set my_current_template=k_template_name />
<cms:pages masterpage='categories.php'>
<cms:if my_current_template='portfolio.php' && my_current_category=k_page_name>
<cms:set my_class='class="current"' />
<cms:else />
<cms:set my_class='' />
</cms:if>
<li><a href="<cms:add_querystring my_portfolio_template_link "categories=<cms:show k_page_name />" />" <cms:show my_class /> ><cms:show k_page_title /></a></li>
</cms:pages>
</ul>
</div>
I'm a real novice at this and quite literally stumped.
You can see the site I'm trying to implement it on here: http://hennhoneyball.com/mha/ (under "Projects").
Any help would be appreciated.