Hi all,
I'm a beginner - I adapted a portfolio website for my film-making stuff, so I only half know what I'm doing.
I have a datafilter so you can sort my projects by various titles, like 'corporate' or 'music video' for example and see only those projects.
Is there a way to send someone a link so that when the page loads it has a certain filter applied? Like if I'm going for a corporate job, can I send them a link that will open to the page with the filter set to showcase my corporate work? Currently it defaults to 'all'. I've tried anchor links, obviously that doesn't work.
It's complicated by the fact that I simply added to existing code and it worked, but I don't really understand the underlying mechanism.
This is the code that makes it run;
Many Thanks for any help.
<div class="col-lg-12">
<ul class="portfolio__filter">
<li class="active" data-filter="*">All</li>
<li data-filter=".corporate">Corporate</li>
<li data-filter=".mvid">Music Video</li>
<li data-filter=".director">Director</li>
<li data-filter=".editor">Editor</li>
<li data-filter=".actor">Actor/Presenter/VO</li>
<li data-filter=".writer">Writer</li>
<li data-filter=".composer">Composer</li>
<li data-filter=".vfx">VFX</li>
</ul>
</div>