1jQuery(window).load(function() { 2 if(jQuery('#slider') > 0) { 3 jQuery('.nivoSlider').nivoSlider({ 4 effect:'fade', 5 }); 6 } else { 7 jQuery('#slider').nivoSlider({ 8 effect:'fade', 9 }); 10 } 11}); 12 13 14// NAVIGATION CALLBACK 15var ww = jQuery(window).width(); 16jQuery(document).ready(function() { 17 jQuery(".mycustommenu li a").each(function() { 18 if (jQuery(this).next().length > 0) { 19 jQuery(this).addClass("parent"); 20 }; 21 }) 22 jQuery(".toggleMenu").click(function(e) { 23 e.preventDefault(); 24 jQuery(this).toggleClass("active"); 25 jQuery(".mycustommenu").slideToggle('fast'); 26 }); 27 adjustMenu(); 28}) 29 30// navigation orientation resize callbak 31jQuery(window).bind('resize orientationchange', function() { 32 ww = jQuery(window).width(); 33 adjustMenu(); 34}); 35 36var adjustMenu = function() { 37 if (ww < 981) { 38 jQuery(".toggleMenu").css("display", "block"); 39 if (!jQuery(".toggleMenu").hasClass("active")) { 40 jQuery(".mycustommenu").hide(); 41 } else { 42 jQuery(".mycustommenu").show(); 43 } 44 jQuery(".mycustommenu li").unbind('mouseenter mouseleave'); 45 } else { 46 jQuery(".toggleMenu").css("display", "none"); 47 jQuery(".mycustommenu").show(); 48 jQuery(".mycustommenu li").removeClass("hover"); 49 jQuery(".mycustommenu li a").unbind('click'); 50 jQuery(".mycustommenu li").unbind('mouseenter mouseleave').bind('mouseenter mouseleave', function() { 51 jQuery(this).toggleClass('hover'); 52 }); 53 } 54} 55 56jQuery(document).ready(function() { 57 jQuery('.welcome_contentbox h3').each(function(index, element) { 58 var heading = jQuery(element); 59 var word_array, last_word, first_part; 60 61 word_array = heading.html().split(/\s+/); // split on spaces 62 last_word = word_array.pop(); // pop the last word 63 first_part = word_array.join(' '); // rejoin the first words together 64 65 heading.html([first_part, ' <span>', last_word, '</span>'].join('')); 66 }); 67});
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.