Professional Documents
Culture Documents
Youll learn ;
How to make jQuery filterable portfolio How to integrate prettyPhoto (HTML5 valid) How to make a mouse hover with CSS3
<ul>
1 of 12
http://www.webdesigntunes.com/coding/jquery-lterable-portf...
</ul>
</nav>
<div class="portfolio">
<span class="video-hover"></span>
</a>
</article>
<span class="magnifier"></span>
</a>
</article>
2 of 12
http://www.webdesigntunes.com/coding/jquery-lterable-portf...
<span class="magnifier"></span>
</a>
</article>
<span class="magnifier"></span>
</a>
</article>
<span class="video-hover"></span>
</a>
</article>
<span class="magnifier"></span>
</a>
3 of 12
http://www.webdesigntunes.com/coding/jquery-lterable-portf...
</article>
<span class="video-hover"></span>
</a>
</article>
<span class="magnifier"></span>
</a>
</article>
<span class="magnifier"></span>
</a>
</article>
<span class="magnifier"></span>
4 of 12
http://www.webdesigntunes.com/coding/jquery-lterable-portf...
</a>
</article>
<span class="video-hover"></span>
</a>
</article>
<span class="magnifier"></span>
</a>
</article>
</div>
</section>
width:auto;
margin:30px auto;
display:table;
5 of 12
http://www.webdesigntunes.com/coding/jquery-lterable-portf...
nav.primary ul li
float:left;
list-style:none;
nav.primary ul li a {
height:39px;
display:block;
font-size:15px;
color:#000;
padding:0 10px;
text-decoration:none;
line-height:39px;
nav.primary li a.selected {
.main {
padding:0;
margin:0;
display:block;
.entry {
position:relative;
6 of 12
http://www.webdesigntunes.com/coding/jquery-lterable-portf...
float:left;
margin:10px;
cursor:pointer;
width:225px;
height:225px;
padding:0;
.portfolio { margin:0; }
.magnifier {
position:absolute;
top:10px;
left:10px;
bottom:10px;
right:10px;
opacity:0;
.video-hover {
7 of 12
http://www.webdesigntunes.com/coding/jquery-lterable-portf...
position:absolute;
top:10px;
left:10px;
bottom:10px;
right:10px;
opacity:0;
.entry:hover .video-hover,
img {
max-width:100%;
.isotope-item {
z-index: 2;
.isotope-hidden.isotope-item {
pointer-events: none;
z-index: 1;
8 of 12
http://www.webdesigntunes.com/coding/jquery-lterable-portf...
.isotope,
.isotope .isotope-item {
-webkit-transition-duration: 0.8s;
-moz-transition-duration: 0.8s;
transition-duration: 0.8s;
.isotope {
.isotope .isotope-item {
-moz-transition-property:
-moz-transform, opacity;
transition-property:
transform, opacity;
9 of 12
http://www.webdesigntunes.com/coding/jquery-lterable-portf...
jQuery(document).ready(function(){
jQuery('a[data-gal]').each(function() {
jQuery(this).attr('rel', jQuery(this).data('gal'));
});
jQuery("a[datarel^='prettyPhoto']").prettyPhoto({animationSpeed:'slow',theme:'light_square',slideshow:false,overlay_gallery: false,social_tools:false,deeplinking:false});
});
$container.isotope({
filter: '*',
animationOptions: {
duration: 750,
easing: 'linear',
queue: false,
10 of 12
http://www.webdesigntunes.com/coding/jquery-lterable-portf...
});
$('nav.primary ul a').click(function(){
$container.isotope({
filter: selector,
animationOptions: {
duration: 750,
easing: 'linear',
queue: false,
});
return false;
});
$optionLinks = $optionSets.find('a');
$optionLinks.click(function(){
if ( $this.hasClass('selected') ) {
return false;
$optionSet.find('.selected').removeClass('selected');
$this.addClass('selected');
11 of 12
http://www.webdesigntunes.com/coding/jquery-lterable-portf...
});
If you done steps properly, filterable portfolio will appear same as demo page. All codes are available at download link. You can download and use free from there. We hope this educative article will be useful for you. Thanks a lot or spare time to read it. Please help us by sharing this article in your social media profiles and also bookmark us.
1. http://metafizzy.co/ 2. http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/ 3. http://webdesigntunes.com/tutorial/filterable/ 4. http://webdesigntunes.com/download/filterable.zip 5. http://vimeo.com/34266952 6. http://vimeo.com/34266952 7. http://vimeo.com/34266952 8. http://vimeo.com/34266952 9. http://dailydesignnotes.com/tutorials/how-to-make-html5-valid-prettyphoto/ 10. http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.js
12 of 12