1// 2// 3// 4// Responsive Menu 5// 6// 7// 8 9 // Create the dropdown base 10 jQuery('<select />').appendTo('.primary-menu .nav-holder'); 11 12 // Create default option 'Menu' 13 jQuery('<option />', { 14 'selected': 'selected', 15 'value' : '', 16 'text' : '<span class="glyphicon glyphicon-align-justify"></span>' 17 }).appendTo('.primary-menu .nav-holder select'); 18 19 // Populate dropdown with menu items 20 jQuery('.primary-menu .nav-holder a').each(function() { 21 var el = jQuery(this); 22 23 if(jQuery(el).parents('.sub-menu .sub-menu').length >= 1) { 24 jQuery('<option />', { 25 'value' : el.attr('href'), 26 'text' : '-- ' + el.text() 27 }).appendTo('.primary-menu .nav-holder select'); 28 } 29 else if(jQuery(el).parents('.sub-menu').length >= 1) { 30 jQuery('<option />', { 31 'value' : el.attr('href'), 32 'text' : '- ' + el.text() 33 }).appendTo('.primary-menu .nav-holder select'); 34 } 35 else { 36 jQuery('<option />', { 37 'value' : el.attr('href'), 38 'text' : el.text() 39 }).appendTo('.primary-menu .nav-holder select'); 40 } 41 }); 42 43 jQuery('.primary-menu .nav-holder select').ddslick({ 44 width: '100%', 45 onSelected: function(selectedData){ 46 if(selectedData.selectedData.value != '') { 47 window.location = selectedData.selectedData.value; 48 } 49 } 50 }); 51 52// 53// 54// 55// Responsive Images 56// 57// 58// 59 60var $addmenueffect = jQuery.noConflict(); 61$addmenueffect("#primary img").addClass("img-responsive"); 62 63 64// 65// 66// 67// Carousel Slider Arrows 68// 69// 70// 71 72var $jx = jQuery.noConflict(); 73 $jx(document).ready(function() { 74 $jx('div#slide_holder').hover(function() { 75 $jx(this).find('.arrow span').stop(true, true).fadeIn(200).show(10); 76 }, function () { 77 $jx(this).find('.arrow span').stop(true, true).fadeOut(200).hide(10); 78 }); 79}); 80 81 82// 83// 84// 85// Tipsy 86// 87// 88// 89 90 91var $j = jQuery.noConflict(); 92 $j(document).ready(function(){ 93 $j('.tipsytext').tipsy({gravity:'n',fade:true,offset:0,opacity:1}); 94 });
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.