Skip to content

Filter issue #3

@macsupport

Description

@macsupport

I am not able to get the filter to work. I have setup jkit as detailed under the installation "basics" and see it is loaded. I want to filter images in a gallery and have set up my html as follows:

<input type="text"  title="Search Images" class="jkit-filter" placeholder="Search">

<div id="gallery" data-jkit="[filter:by=text;affected=a.loaded]">
 <a  href="test1.jpg" class="loaded" data-name="test1"  ><img src="test1.jpg" title="test1" />Test1</a>
 <a  href="test2.jpg" class="loaded" data-name="test2"  ><img src="test2.jpg" title="test2" />Test2</a>
</div>

I'm sure I'm missing something but can't figure it out!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions