1$(document).ready(function(){ 2 3 // Instantiate MixItUp: 4 $('#otherwork').mixItUp({ 5 selectors: { 6 target:'.thumb-article' 7 }, 8 animation: { 9 effects: 'fade' 10 } 11 }); 12 13 14 15$('a.showall').click(function() { 16 $("a.showall").addClass("active"); 17 $("a.advertising, a.books, a.identity, a.editorial, a.miscellany, a.products, a.sideprojects, a.archive, a.cards-invitations, a.typefaces").removeClass("active"); 18 $(".Identity.thumb-article").removeClass("logo"); 19 $(".typefaces.thumb-article").removeClass("logo"); 20 $(".small-logo").show(); 21 $(".big-logo").hide(); 22 checkID(false); 23}); 24 25 26$('a.books').click(function() { 27 $("a.books").addClass("active"); 28 $("a.advertising, a.identity, a.editorial, a.miscellany, a.products, a.sideprojects, a.showall, a.archive, a.cards-invitations, a.typefaces").removeClass("active"); 29 $(".Identity.thumb-article").removeClass("logo"); 30 $(".typefaces.thumb-article").removeClass("logo"); 31 $(".small-logo").show(); 32 $(".big-logo").hide(); 33 checkID(false); 34}); 35 36$('a.advertising').click(function() { 37 $("a.advertising").addClass("active"); 38 $("a.books, a.identity, a.editorial, a.miscellany, a.products, a.sideprojects, a.showall, a.archive, a.cards-invitations, a.typefaces").removeClass("active"); 39 $(".Identity.thumb-article").removeClass("logo"); 40 $(".typefaces.thumb-article").removeClass("logo"); 41 $(".small-logo").show(); 42 $(".big-logo").hide(); 43 checkID(false); 44}); 45 46$('a.editorial').click(function() { 47 $("a.editorial").addClass("active"); 48 $("a.advertising, a.identity, a.books, a.miscellany, a.products, a.sideprojects, a.showall, a.archive, a.cards-invitations, a.typefaces").removeClass("active"); 49 $(".Identity.thumb-article").removeClass("logo"); 50 $(".typefaces.thumb-article").removeClass("logo"); 51 $(".small-logo").show(); 52 $(".big-logo").hide(); 53 checkID(false); 54}); 55 56$('a.miscellany').click(function() { 57 $("a.miscellany").addClass("active"); 58 $("a.advertising, a.identity, a.editorial, a.books, a.products, a.sideprojects, a.showall, a.archive, a.cards-invitations, a.typefaces").removeClass("active"); 59 $(".Identity.thumb-article").removeClass("logo"); 60 $(".typefaces.thumb-article").removeClass("logo"); 61 $(".small-logo").show(); 62 $(".big-logo").hide(); 63 checkID(false); 64}); 65 66$('a.identity').click(function() { 67 $("a.identity").addClass("active"); 68 $("a.advertising, a.books, a.editorial, a.miscellany, a.products, a.sideprojects, a.showall, a.archive, a.cards-invitations, a.typefaces").removeClass("active"); 69 $(".Identity.thumb-article").addClass("logo"); 70 $(".typefaces.thumb-article").removeClass("logo"); 71 $(".small-logo").hide(); 72 $(".big-logo").show(); 73 checkID(true); 74}); 75 76$('a.cards-invitations').click(function() { 77 $("a.cards-invitations").addClass("active"); 78 $("a.advertising, a.books, a.identity, a.editorial, a.miscellany, a.products, a.sideprojects, a.archive, a.showall, a.typefaces").removeClass("active"); 79 $(".Identity.thumb-article").removeClass("logo"); 80 $(".typefaces.thumb-article").removeClass("logo"); 81 $(".small-logo").show(); 82 $(".big-logo").hide(); 83 checkID(false); 84}); 85 86$('a.typefaces').click(function() { 87 $("a.typefaces").addClass("active"); 88 $("a.advertising, a.books, a.identity, a.editorial, a.miscellany, a.products, a.sideprojects, a.archive, a.showall, a.cards-invitations").removeClass("active"); 89 $(".Identity.thumb-article").removeClass("logo"); 90 $(".typefaces.thumb-article").addClass("logo"); 91 $(".small-logo").hide(); 92 $(".big-logo").show(); 93 checkID(true); 94}); 95 96 97$('a.products').click(function() { 98 $("a.products").addClass("active"); 99 $("a.advertising, a.books, a.identity, a.editorial, a.miscellany, a.sideprojects, a.showall, a.archive, a.cards-invitations, a.typefaces").removeClass("active"); 100 $(".Identity.thumb-article").removeClass("logo"); 101 $(".typefaces.thumb-article").removeClass("logo"); 102 $(".small-logo").show(); 103 $(".big-logo").hide(); 104 checkID(false); 105}); 106 107$('a.archive').click(function() { 108 $("a.archive").addClass("active"); 109 $("a.advertising, a.books, a.identity, a.editorial, a.miscellany, a.products, a.sideprojects, a.cards-invitations, a.showall, a.typefaces").removeClass("active"); 110 $(".Identity.thumb-article").removeClass("logo"); 111 $(".typefaces.thumb-article").removeClass("logo"); 112 $(".small-logo").show(); 113 $(".big-logo").hide(); 114 checkID(false); 115}); 116 117 118 119 120 121}); 122 123$(function checkID(match) { 124 if (match == true) { 125 $(".small-logo").hide(); 126 $(".big-logo").show(); 127 $(".Identity.thumb-article").addClass("logo"); 128 $(".typefaces.thumb-article").addClass("logo"); 129 } else { 130 $(".small-logo").show(); 131 $(".big-logo").hide(); 132 $(".Identity.thumb-article").removeClass("logo"); 133 $(".typefaces.thumb-article").removeClass("logo"); 134 } 135 return; 136});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.