1jQuery(document).ready( function(){ 2 var ww = jQuery(window).width(); 3 jQuery("area[rel^='prettyPhoto']").prettyPhoto(); 4 jQuery(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square',slideshow:3000, autoplay_slideshow: false}); 5 jQuery(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'fast',slideshow:10000, hideflash: true}); 6 jQuery("#custom_content a[rel^='prettyPhoto']:first").prettyPhoto({ 7 custom_markup: '<div id="map_canvas" style="width:260px; height:265px"></div>', 8 changepicturecallback: function(){ initialize(); } 9 }); 10 jQuery("#custom_content a[rel^='prettyPhoto']:last").prettyPhoto({ 11 custom_markup: '<div id="bsap_1259344" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div><div id="bsap_1237859" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6" style="height:260px"></div><div id="bsap_1251710" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div>', 12 changepicturecallback: function(){ _bsap.exec(); } 13 }); 14 15 // accordion 16 jQuery('.accordion-box .acc-content').hide(); 17 jQuery('.accordion-box h2:first').addClass('active').next().show(); 18 jQuery('.accordion-box h2').click(function(){ 19 if( jQuery(this).next().is(':hidden') ) { 20 jQuery('.accordion-box h2').removeClass('active').next().slideUp(); 21 jQuery(this).toggleClass('active').next().slideDown(); 22 } 23 return false; // Prevent the browser jump to the link anchor 24 }); 25 26 // Tabs 27 jQuery('ul.tabs > br').remove(); 28 jQuery('.tabs-wrapper').append(jQuery('.tabs li div')); 29 jQuery('.tabs li:first a').addClass('defaulttab selected'); 30 jQuery('.tabs a').click(function(){ 31 switch_tabs(jQuery(this)); 32 }); 33 switch_tabs(jQuery('.defaulttab')); 34 function switch_tabs(obj) { 35 jQuery('.tab-content').hide(); 36 jQuery('.tabs a').removeClass("selected"); 37 var id = obj.attr("rel"); 38 jQuery('#'+id).show(); 39 obj.addClass("selected"); 40 } 41 42 // Content Toggle 43 jQuery(".slide_toggle_content").hide(); 44 jQuery("h3.slide_toggle").toggle(function(){ 45 jQuery(this).addClass("clicked"); 46 }, function () { 47 jQuery(this).removeClass("clicked"); 48 }); 49 jQuery("h3.slide_toggle").click(function(){ 50 jQuery(this).next(".slide_toggle_content").slideToggle(); 51 }); 52 53}); 54 55jQuery(document).ready(function() { 56 jQuery('#testimonials .quotes').quovolver({ 57 children : 'li', 58 transitionSpeed : 600, 59 autoPlay : true, 60 autoPlaySpeed:6000, 61 equalHeight : false, 62 navPosition : 'above', 63 navPrev : true, 64 navNext : true, 65 navNum : true, 66 navText : false, 67 navTextContent : 'Quote @a of @b' 68 }); 69 70 }); 71 72 73// NAVIGATION CALLBACK 74var ww = jQuery(window).width(); 75jQuery(document).ready(function() { 76 jQuery(".sitenav li a").each(function() { 77 if (jQuery(this).next().length > 0) { 78 jQuery(this).addClass("parent"); 79 }; 80 }) 81 jQuery(".toggleMenu").click(function(e) { 82 e.preventDefault(); 83 jQuery(this).toggleClass("active"); 84 jQuery(".sitenav").slideToggle('fast'); 85 }); 86 adjustMenu(); 87}) 88 89// navigation orientation resize callbak 90jQuery(window).bind('resize orientationchange', function() { 91 ww = jQuery(window).width(); 92 adjustMenu(); 93}); 94 95var adjustMenu = function() { 96 if (ww < 981) { 97 jQuery(".toggleMenu").css("display", "block"); 98 if (!jQuery(".toggleMenu").hasClass("active")) { 99 jQuery(".sitenav").hide(); 100 } else { 101 jQuery(".sitenav").show(); 102 } 103 jQuery(".sitenav li").unbind('mouseenter mouseleave'); 104 } else { 105 jQuery(".toggleMenu").css("display", "none"); 106 jQuery(".sitenav").show(); 107 jQuery(".sitenav li").removeClass("hover"); 108 jQuery(".sitenav li a").unbind('click'); 109 jQuery(".sitenav li").unbind('mouseenter mouseleave').bind('mouseenter mouseleave', function() { 110 jQuery(this).toggleClass('hover'); 111 }); 112 } 113} 114 115 116jQuery(document).ready(function() { 117 jQuery('.srchicon').click(function() { 118 jQuery('.searchtop').toggle(); 119 jQuery('.topsocial').toggle(); 120 }); 121}); 122 123 124jQuery(document).ready(function( jQuery ) { 125 jQuery('.counter').counterUp({ 126 delay: 10, 127 time: 1000 128 }); 129 }); 130 131jQuery(document).ready(function(){ 132 // hide #back-top first 133 jQuery("#back-top").hide(); 134 // fade in #back-top 135 jQuery(function () { 136 jQuery(window).scroll(function () { 137 if (jQuery(this).scrollTop() > 1000) { 138 jQuery('#back-top').fadeIn(); 139 } else { 140 jQuery('#back-top').fadeOut(); 141 } 142 }); 143 // scroll body to 0px on click 144 jQuery('#back-top').click(function () { 145 jQuery('body,html').animate({ 146 scrollTop: 1000 147 }, 800); 148 return false; 149 }); 150 }); 151 152}); 153 154//Client Logo jquery 155jQuery(window).load(function() { 156 jQuery("#flexiselDemo3").flexisel({ 157 visibleItems: 5, 158 animationSpeed: 1000, 159 autoPlay: true, 160 autoPlaySpeed: 3000, 161 pauseOnHover: true, 162 enableResponsiveBreakpoints: true, 163 responsiveBreakpoints: { 164 portrait: { 165 changePoint:480, 166 visibleItems: 1 167 }, 168 landscape: { 169 changePoint:640, 170 visibleItems: 2 171 }, 172 tablet: { 173 changePoint:768, 174 visibleItems: 3 175 } 176 } 177 }); 178}); 179 180jQuery(document).ready(function() { 181 jQuery('.cols-4 h5').each(function(index, element) { 182 var heading = jQuery(element); 183 var word_array, last_word, first_part; 184 185 word_array = heading.html().split(/\s+/); // split on spaces 186 last_word = word_array.pop(); // pop the last word 187 first_part = word_array.join(' '); // rejoin the first words together 188 189 heading.html([first_part, ' <span>
189', last_word, '</span>'].join('')); 190 }); 191});
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.