Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Little help #38

Closed
cedriccharles4 opened this issue Aug 22, 2013 · 0 comments
Closed

Little help #38

cedriccharles4 opened this issue Aug 22, 2013 · 0 comments

Comments

@cedriccharles4
Copy link

Hi and thanks for your great plugin !

I'm trying to make your plugin work, but I can't make it work :s !

So I have a few articles like that :

<div id="grid">
    <article class="mix mix_all web-agency small-agency" data-name="Agency1">
        <h2>Agency1</h2>
    </article>
    <article class="mix mix_all mobile-agency small-agency" data-name="Agency2">
        <h2>Agency2</h2>
    </article>
    <article class="mix mix_all web-agency big-agency" data-name="Agency3">
        <h2>Agency3</h2>
    </article>
</div>

And 2 filters like that :

<ul class="secondFilters">
    <li class="active" data-filter="all" data-dimension="sizes">All</li>
    <li data-filter="small-agency" data-dimension="sizes">Small agency</li>
    <li data-filter="medium-agency" data-dimension="sizes">Medium agency</li>
    <li data-filter="big-agency" data-dimension="sizes">Big agency</li>
</ul>

<ul class="firstFilters">
    <li class="active" data-filter="all" data-dimension="types">All</li>
    <li data-filter="web-agency" data-dimension="types">Web agency</li>
    <li data-filter="freelance-activity" data-dimension="types">Freelance activity</li>
    <li data-filter="startup" data-dimension="types">Startup</li>
    <li data-filter="other" data-dimension="types">Other</li>
    <li data-filter="non-profit" data-dimension="types">Non-profit</li>
    <li data-filter="mobile-agency" data-dimension="types">Mobile agency</li>
    <li data-filter="marketing-agency" data-dimension="types">Marketing agency</li>
</ul>

Now I can't make it right... If I put this $('#grid').mixitup(); doesn't seems to do the trick... What do I have to do in order to make my two filters work ?

Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants