Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta charset="UTF-8">
- <title>Interactive Photo Gallery</title>
- <style>img {width: 250px;} input{margin: 10px 0; width: 300px}p{display:none;}</style>
- </head>
- <body>
- <div id="content">
- <input type="type" placeholder="search..." name="text-search" data-search>
- <div class="filtr-container">
- <div class="filtr-item" data-category="1" data-sort="unu">
- <a href="img/01.jpg" title="Hay Bales" data-filter="all" data-lightbox="portfolio" data-type="vegan pizza" data-title="I love hay bales. Took this snap on a drive through the countryside past some straw fields.">
- <img src="img/01.jpg" class="name" alt="I love hay bales. Took this snap on a drive through the countryside past some straw fields.">
- <p>I love hay bales. Took this snap on a drive through the countryside past some straw fields.</p>
- </a>
- </div>
- <div class="filtr-item" data-category="1, 2" data-sort="doi">
- <a href="img/02.jpg" title="Lake" data-lightbox="portfolio" data-title="The lake was so calm today. We had a great view of the snow on the mountains from here.">
- <img src="img/02.jpg" alt="The lake was so calm today. We had a great view of the snow on the mountains from here.">
- <p>The lake was so calm today. We had a great view of the snow on the mountains from here.</p>
- </a>
- </div>
- <div class="filtr-item" data-category="1, 3" data-sort="trei">
- <a href="img/03.jpg" title="Canyon" data-lightbox="portfolio" data-title="I hiked to the top of the mountain and got this picture of the canyon and trees below.">
- <img src="img/03.jpg" alt="I hiked to the top of the mountain and got this picture of the canyon and trees below.">
- <p>I hiked to the top of the mountain and got this picture of the canyon and trees below.</p>
- </a>
- </div>
- <div class="filtr-item" data-category="1" data-sort="patru">
- <a href="img/04.jpg" title="Iceberg" data-lightbox="portfolio" data-title="It was amazing to see an iceberg up close, it was so cold but didn’t snow today.">
- <img src="img/04.jpg" alt="It was amazing to see an iceberg up close, it was so cold but didn’t snow today.">
- <p>It was amazing to see an iceberg up close, it was so cold but didn’t snow today.</p>
- </a>
- </div>
- <div class="filtr-item" data-category="1" data-sort="cinci">
- <a href="img/05.jpg" title="Desert" data-lightbox="portfolio" data-title="The red cliffs were beautiful. It was really hot in the desert but we did a lot of walking through the canyons.">
- <img src="img/05.jpg" alt="The red cliffs were beautiful. It was really hot in the desert but we did a lot of walking through the canyons.">
- <p>The red cliffs were beautiful. It was really hot in the desert but we did a lot of walking through the canyons.</p>
- </a>
- </div>
- <div class="filtr-item" data-category="1" data-sort="sase">
- <a href="img/06.jpg" title="Fall" data-lightbox="portfolio" data-title="Fall is coming, I love when the leaves on the trees start to change color.">
- <img src="img/06.jpg" alt="Fall is coming, I love when the leaves on the trees start to change color.">
- <p>Fall is coming, I love when the leaves on the trees start to change color.</p>
- </a>
- </div>
- <div class="filtr-item" data-category="1" data-sort="sapte">
- <a href="img/07.jpg" title="Plantation" data-lightbox="portfolio" data-title="I drove past this plantation yesterday, everything is so green!">
- <img src="img/07.jpg" alt="I drove past this plantation yesterday, everything is so green!">
- <p>I drove past this plantation yesterday, everything is so green!</p>
- </a>
- </div>
- <div class="filtr-item" data-category="1" data-sort="opt">
- <a href="img/08.jpg" title="Dunes" data-lightbox="portfolio" data-title="My summer vacation to the Oregon Coast. I love the sandy dunes!">
- <img src="img/08.jpg" alt="My summer vacation to the Oregon Coast. I love the sandy dunes!">
- <p>My summer vacation to the Oregon Coast. I love the sandy dunes!</p>
- </a>
- </div>
- <div class="filtr-item" data-category="1" data-sort="noua">
- <a href="img/09.jpg" title="Countryside Lane" data-lightbox="portfolio" data-title="We enjoyed a quiet stroll down this countryside lane.">
- <img src="img/09.jpg" alt="We enjoyed a quiet stroll down this countryside lane.">
- <p>We enjoyed a quiet stroll down this countryside lane.</p>
- </a>
- </div>
- <div class="filtr-item" data-category="1" data-sort="zece">
- <a href="img/10.jpg" title="Sunset" data-lightbox="portfolio" data-title="Sunset at the coast! The sky turned a lovely shade of orange.">
- <img src="img/10.jpg" alt="Sunset at the coast! The sky turned a lovely shade of orange.">
- <p>Sunset at the coast! The sky turned a lovely shade of orange.</p>
- </a>
- </div>
- <div class="filtr-item" data-category="1" data-sort="unspe">
- <a href="img/11.jpg" title="Cave" data-lightbox="portfolio" data-title="I did a tour of a cave today adn the view of the landscape below was breathtaking.">
- <img src="img/11.jpg" alt="I did a tour of a cave today adn the view of the landscape below was breathtaking.">
- <p>I did a tour of a cave today adn the view of the landscape below was breathtaking.</p>
- </a>
- </div>
- <div class="filtr-item" data-category="1" data-sort="doispe">
- <a href="img/12.jpg" title="Bluebells" data-lightbox="portfolio" data-title="I walked through this meadow of bluebells and got a good view of the snow on the mountain before the fog came in.">
- <img src="img/12.jpg" alt="I walked through this meadow of bluebells and got a good view of the snow on the mountain before the fog came in.">
- <p>I walked through this meadow of bluebells and got a good view of the snow on the mountain before the fog came in.</p>
- </a>
- </div>
- </div>
- </div>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
- <script type="text/javascript" src="jquery.filterizr.min.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- var filterizd = $('.filtr-container').filterizr({});
- });
- })(jQuery);
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment