Amazing snippet, I just have one simple question. How can I put the default gallery to be one of the filters , for example when I open this page and I do not want all the images to be shown, just HDE pipes and from there to go around through filters?
Rosen Ivanov () - 7 years ago - Reply 0
did you ever get a response on that somewhere else? I am having the same issue
Dan Gauthier () - 7 years ago - Reply 0
Active class not add remove. click on filter buttons. please help me
Krish () - 7 years ago - Reply -1
Hello, I use this code this morning but for some reason i can't oepn the image in different tabs? any solutions for this?
mika07 () - 2 years ago - Reply 0
javascript not working ..
i create folders like this: css
bootstrap.min.css
style.css
js
jquery.min.js
custom.js
bootstrap.min.js
index.html
js not working please help...
Waris Khan () - 7 years ago - Reply 0
The same problem happen with me
add below script too
<script src="js/bootstrap.min.js" type="text/javascript" rel="script"></script>
<script src="https://ajax.googleapis.com..."></script>
<script src="js/jquery-1.11.3.min.js" type="text/javascript" rel="script"></script>
after apply this it works well !!!
deepika () - 7 years ago - Reply 0
Thank you for it is really helpful but once i clicked to other filter other than "all", it will not work.... CSS works fine but i think there is some problem in button click.
Please help me for solving this issue
kanu () - 7 years ago - Reply 0
Dear shah,
Thanks for the fantastic filter. it was such a magic wand.
one request.
Is it possible to get the links for the filters. So that we can put those links in other pages. when clicked this gallery page is loaded and filtered with the selected option.
i.e. In home page we put a link named "Irrigation Pipes" directing to this Gallery page. When clicked this gallery page gets loaded by displaying filtered pictures of Irrigation pipes and not ALL pictures. Please help.
Thank you.
pdpicasso () - 7 years ago - Reply 0
this snipp is example....i had also created same for my client's site u can check this refrence : http://gamabetaalpha.com/cl...
Meet Shah () - 7 years ago - Reply 0
okay firstly thank you for lovely apprisation... see here as of my need i had given names of category names like irrigation pipe..hdpe pipes etc. but here if u click all button (ofcourse it is already active clicked which is bug you can say) then all images (12) presents.. if you click on hdpe pipe than image with hdpe is categorize from all and u can see... so this is jst what i can explain you..
Meet Shah () - 7 years ago - Reply 0
Hey, thanks for the code... Do you know how can I give the 'active color' to the clicked button? The category and filter are working but "All" remains as the active category in the buttons.
Thanks!
Mishës () - 7 years ago - Reply 0
The same problem happen with me
add below script too
<script src="js/bootstrap.min.js" type="text/javascript" rel="script"></script>
<script src="https://ajax.googleapis.com..."></script>
<script src="js/jquery-1.11.3.min.js" type="text/javascript" rel="script"></script>
after apply this it works well !!!
deepika () - 7 years ago - Reply 0
Add this to JS:
if ($(".filter-button").removeClass("active")) {
$(this).removeClass("active");
}
$(this).addClass("active");
mcgsoft () - 7 years ago - Reply 0