see soooooo many media logs with these cool filters for types of media.....how do you do it? I want to implement it on mine so bad but idk where to start!!
I am so shit at javascript and iirc i took this from a gallery page and frankensteined it into something functional for my purposes. This is the script I use: https://milkteamoon.neocities.org/js/media.js. It works by setting each media div with a data-category "tag" and then setting the buttons with the tag class at the top with the same data-filter "tag" to filter for each. Hope that makes sense??
see soooooo many media logs with these cool filters for types of media.....how do you do it? I want to implement it on mine so bad but idk where to start!!
I am so shit at javascript and iirc i took this from a gallery page and frankensteined it into something functional for my purposes. This is the script I use: https://milkteamoon.neocities.org/js/media.js. It works by setting each media div with a data-category "tag" and then setting the buttons with the tag class at the top with the same data-filter "tag" to filter for each. Hope that makes sense??
I think you also need to have a hidden class also with "display:none" to remove the items when they are not clicked!
ohhh yes I see!! thank you sooo much, gonna play around with this on the weekend :D