1$(document).ready(function(){ 2 $("#myController").jFlow({ 3 controller: ".jFlowControl", // must be class, use . sign 4 slideWrapper : "#jFlowSlider", // must be id, use # sign 5 slides: "#mySlides", // the div where all your sliding divs are nested in 6 selectedWrapper: "jFlowSelected", // just pure text, no sign 7 width: "950px", // this is the width for the content-slider 8 height: "350px", // this is the height for the content-slider 9 duration: 600, // time in miliseconds to transition one slide 10 prev: ".jFlowPrev", // must be class, use . sign 11 next: ".jFlowNext", // must be class, use . sign 12 auto: true 13 }); 14 15 16}); 17 18function mycarousel_initCallback(carousel) { 19 jQuery('.jcarousel-control a').bind('click', function() { 20 carousel.scroll(jQuery.jcarousel.intval(jQuery(this).text())); 21 return false; 22 }); 23 24 jQuery('.jcarousel-scroll select').bind('change', function() { 25 carousel.options.scroll = jQuery.jcarousel.intval(this.options[this.selectedIndex].value); 26 return false; 27 }); 28 29 jQuery('#mycarousel-next').bind('click', function() { 30 carousel.next(); 31 return false; 32 }); 33 34 jQuery('#mycarousel-prev').bind('click', function() { 35 carousel.prev(); 36 return false; 37 }); 38}; 39 40jQuery(function($) { 41 42 var menu = $('#menumm'); 43 var menuTwo = $('#menum'); 44 45 if(window.matchMedia('(max-width: 992px)').matches) { 46 let header_h = 167; 47 48 $(window).scroll(function() { 49 var top = $(window).scrollTop(); 50 if(top < header_h){ 51 menuTwo.css({ 'position' : '', 'top': ''}); 52 // menu.css({ 'position' : 'fixed' , 'top': header_h - top +'px'}); 53 } else { 54 menu.css({ 'position' : 'fixed','top': '0'}); 55 } 56 }); 57 58 } 59 60 61 if(window.matchMedia('(min-width: 992px)').matches) { 62 let header_h = 124; 63 64 $(window).scroll(function() { 65 var top = $(window).scrollTop(); 66 if(top < header_h){ 67 menuTwo.css({ 'position' : '', 'top': ''}); 68 // menu.css({'top': header_h - top +'px'}); 69 } else { 70 menuTwo.css({ 'position' : 'fixed','top': '0'}); 71 } 72 }); 73 74 } 75 76 77 78 79 80}); 81jQuery(function($) { 82 var parentLi = $('.left_menu > li'), insertUl = $('.left_menu > li > ul'); 83 parentLi.click(function(e) { 84 var is_clicked_first_level_link = $(e.target).closest('li').is($(this)); 85 var has_sub_menu = $(this).has('ul').length; 86 if (has_sub_menu && is_clicked_first_level_link) { 87 e.preventDefault(); 88 $(this).find(insertUl).slideToggle(); 89 } 90 }); 91});
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.