- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Jquery – Masonry Issue
Hi I’m using the masonry plug-in to layout the information on a website I’m creating for a portfolio style website.
Currently I want it to categorise each box to ‘images’, ‘video’ and ‘home’ (all boxes). The issue I’m having is when the user clicks an item to see the full post then clicks back to ‘video’ is there a way to filter masonry so that only ‘video’ posts are displayed.
I can get it to filter AFTER I’ve been on the home page, but can I land on the page with only ‘video’ posts displayed.
See wireframe:
http://www.absorb.net.au/Wire.jpg
See Demo (work in progress):
http://www.absorb.net.au/masonry/masonry2.html
Any suggestions would be awesome!
Thanks!
Okay so I’ve also seen the Masonry filtering function which is exactly what I’m after, but I can’t get it to work!
Works for him:
http://desandro.com/demo/masonry/docs/filtering-hashes.html#red
Demo:
http://www.absorb.net.au/masonry/video.html
So:
http://www.absorb.net.au/masonry/video.html#video – should show ‘video’ tag posts
http://www.absorb.net.au/masonry/video.html#images – Should show ‘images’ tag posts
But its still displaying everything.
look below