1$(document).ready(function() { 2 $('#slider').slides({ 3 preload: false, 4 container: 'slides', 5 play: 8000, 6 pause: 2500, 7 hoverPause: true, 8 crossfade: false, 9 pagination: true, 10 generatePagination: true, 11 fadeSpeed: 500, 12 slideSpeed: 500, 13 effect: 'fade' 14 }); 15 16var params = { 17 changedEl: ".lineForm select", 18 visRows: 5, 19 scrollArrows: true 20 } 21 cuSel(params); 22 23 $('#tab_menu').delegate('.point:not(.current)', 'click', function() { 24 $(this).addClass('current').siblings().removeClass('current') 25 .parents('#page').find('.prices').fadeOut(1).eq($(this).index()).fadeIn(0); 26 }); 27 28 $('.info_block .send').click(function(){ 29 $('.bg_form').show(); 30 $('.form').show(); 31 }); 32 33 $('.form .close').click(function(){ 34 $('.bg_form').hide(); 35 $('.form').hide(); 36 }); 37 38 function filter() { 39 40 var state = 0, 41 $selected = null, 42 close = function () { 43 if ($selected !== null) { 44 $selected.parent().find(".hide").animate({ 45 height:0, 46 opacity:0.0 47 }, 0); 48 state = 0; 49 $selected = null; 50 } 51 }, 52 show = function ($sel) { 53 var $h = $sel.parent().find(".hide_in").height() + 17; 54 close(); 55 $sel.parent().find(".hide").animate({ 56 height:$h, 57 opacity:1.0 58 }, { 59 duration:0, 60 queue:true 61 }); 62 state = 1; 63 $selected = $sel; 64 }; 65 $(".el1").click(function () { 66 if (state === 0) { 67 show($(this)); 68 } 69 else { 70 if ($(this).parent().find(".hide").height() === 0) { 71 72 show($(this)); 73 } 74 else { 75 76 close(); 77 } 78 } 79 return false; 80 }); 81 } 82 filter(); 83});
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.