1jQuery(window).bind('scroll', function() { 2 var wwd = jQuery(window).width(); 3 if( wwd > 939 ){ 4 var navHeight = jQuery( window ).height() - 0; 5 if (jQuery(window).scrollTop() > navHeight) { 6 jQuery('.header').addClass('fixed'); 7 }else { 8 jQuery('.header').removeClass('fixed'); 9 } 10 } 11}); 12 13jQuery(document).ready( function(){ 14 var ww = jQuery(window).width(); 15 16 // skill bar script 17 jQuery('.skillbar').each(function(){ 18 jQuery(this).find('.skillbar-bar').animate({ 19 width:jQuery(this).attr('data-percent') 20 },6000); 21 }); 22 23 // team info display script 24 if(ww > 939){ 25 jQuery('.team-info .info').hide(); 26 jQuery('.team-info').mouseenter( function() { 27 jQuery(this).find('.info').slideDown(); 28 }).mouseleave( function(){ 29 jQuery(this).find('.info').slideUp(); 30 }); 31 }else{ 32 jQuery('.team-info .info').show(); 33 } 34 35 36 // accordion 37 jQuery('.accordion-box .acc-content').hide(); 38 jQuery('.accordion-box h2:first').addClass('active').next().show(); 39 jQuery('.accordion-box h2').click(function(){ 40 if( jQuery(this).next().is(':hidden') ) { 41 jQuery('.accordion-box h2').removeClass('active').next().slideUp(); 42 jQuery(this).toggleClass('active').next().slideDown(); 43 } 44 return false; // Prevent the browser jump to the link anchor 45 }); 46 47 // Tabs 48 jQuery('ul.tabs > br').remove(); 49 jQuery('.tabs-wrapper').append(jQuery('.tabs li div')); 50 jQuery('.tabs li:first a').addClass('defaulttab selected'); 51 jQuery('.tabs a').click(function(){ 52 switch_tabs(jQuery(this)); 53 }); 54 switch_tabs(jQuery('.defaulttab')); 55 function switch_tabs(obj) { 56 jQuery('.tab-content').hide(); 57 jQuery('.tabs a').removeClass("selected"); 58 var id = obj.attr("rel"); 59 jQuery('#'+id).show(); 60 obj.addClass("selected"); 61 } 62 63 // Content Toggle 64 jQuery(".slide_toggle_content").hide(); 65 jQuery("h3.slide_toggle").toggle(function(){ 66 jQuery(this).addClass("clicked"); 67 }, function () { 68 jQuery(this).removeClass("clicked"); 69 }); 70 jQuery("h3.slide_toggle").click(function(){ 71 jQuery(this).next(".slide_toggle_content").slideToggle(); 72 }); 73 74}); 75 76 77// NAVIGATION CALLBACK 78var ww = jQuery(window).width(); 79jQuery(document).ready(function() { 80 jQuery(".nav li a").each(function() { 81 if (jQuery(this).next().length > 0) { 82 jQuery(this).addClass("parent"); 83 }; 84 }) 85 jQuery(".toggleMenu").click(function(e) { 86 e.preventDefault(); 87 jQuery(this).toggleClass("active"); 88 jQuery(".nav").slideToggle('fast'); 89 }); 90 adjustMenu(); 91}) 92 93// navigation orientation resize callbak 94jQuery(window).bind('resize orientationchange', function() { 95 ww = jQuery(window).width(); 96 adjustMenu(); 97}); 98 99var adjustMenu = function() { 100 if (ww < 940) { 101 jQuery(".toggleMenu").css("display", "block"); 102 if (!jQuery(".toggleMenu").hasClass("active")) { 103 jQuery(".nav").hide(); 104 } else { 105 jQuery(".nav").show(); 106 } 107 jQuery(".nav li").unbind('mouseenter mouseleave'); 108 } else { 109 jQuery(".toggleMenu").css("display", "none"); 110 jQuery(".nav").show(); 111 jQuery(".nav li").removeClass("hover"); 112 jQuery(".nav li a").unbind('click'); 113 jQuery(".nav li").unbind('mouseenter mouseleave').bind('mouseenter mouseleave', function() { 114 jQuery(this).toggleClass('hover'); 115 }); 116 } 117} 118 119jQuery(window).scroll(function() { 120 jQuery('.services').each(function(){ 121 var imagePos = jQuery(this).offset().top; 122 123 var topOfWindow = jQuery(window).scrollTop(); 124 if (imagePos < topOfWindow+400) { 125 jQuery(this).addClass("bounceIn"); 126 } 127 }); 128 129 jQuery('.contact-button').each(function(){ 130 var imagePos = jQuery(this).offset().top; 131 132 var topOfWindow = jQuery(window).scrollTop(); 133 if (imagePos < topOfWindow+400) { 134 jQuery(this).addClass("bounceIn"); 135 } 136 }); 137 138 jQuery('.message-thumb').each(function(){ 139 var imagePos = jQuery(this).offset().top; 140 141 var topOfWindow = jQuery(window).scrollTop(); 142 if (imagePos < topOfWindow+400) { 143 jQuery(this).addClass("fadeInLeftBig"); 144 } 145 }); 146 147 jQuery('.message-desc').each(function(){ 148 var imagePos = jQuery(this).offset().top; 149 150 var topOfWindow = jQuery(window).scrollTop(); 151 if (imagePos < topOfWindow+400) { 152 jQuery(this).addClass("fadeInRightBig"); 153 } 154 }); 155 156 jQuery('.news-box').each(function(){ 157 var imagePos = jQuery(this).offset().top; 158 159 var topOfWindow = jQuery(window).scrollTop(); 160 if (imagePos < topOfWindow+400) { 161 jQuery(this).addClass("fadeInDown"); 162 } 163 }); 164 165 jQuery('.testimonial-box').each(function(){ 166 var imagePos = jQuery(this).offset().top; 167 168 var topOfWindow = jQuery(window).scrollTop(); 169 if (imagePos < topOfWindow+400) { 170 jQuery(this).addClass("fadeInUp"); 171 } 172 }); 173 174 jQuery('.stat').each(function(){ 175 var imagePos = jQuery(this).offset().top; 176 177 var topOfWindow = jQuery(window).scrollTop(); 178 if (imagePos < topOfWindow+400) { 179 jQuery(this).addClass("zoomInLeft"); 180 } 181 }); 182 183 jQuery('.team-desc').each(function(){ 184 var imagePos = jQuery(this).offset().top; 185 186 var topOfWindow = jQuery(window).scrollTop(); 187 if (imagePos < topOfWindow+400) { 188 jQuery(this).addClass("fadeInLeft"); 189 } 190 }); 191 192 jQuery('.team-div').each(function(){ 193 var imagePos = jQuery(this).offset().top; 194 195 var topOfWindow = jQuery(window).scrollTop(); 196 if (imagePos < topOfWindow+400) { 197 jQuery(this).addClass("fadeInRight"); 198 } 199 }); 200 201 jQuery('.signup-newsletter').each(function(){ 202 var imagePos = jQuery(this).offset().top; 203 204 var topOfWindow = jQuery(window).scrollTop(); 205 if (imagePos < topOfWindow+400) { 206 jQuery(this).addClass("zoomIn"); 207 } 208 }); 209 210 }); 211 212jQuery(document).ready(function() { 213 if( jQuery( '#slider' ).length > 0 ){ 214 jQuery('.nivoSlider').nivoSlider({ 215 effect:'fade', 216 animSpeed: 500, 217 pauseTime: 3000, 218 startSlide: 0, 219 }); 220 } 221}); 222
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.