1$(document).ready(function(){ 2 3 if ($('body').width() < 783) { 4 $('header .open_menu2').click(function(){ 5 $('header nav, #menu_fpg').slideToggle(); 6 return false; 7 }); 8 }else{ 9 $('header .open_menu2').click(function(){ 10 $('#menu_fpg').slideToggle(); 11 return false; 12 }); 13 } 14 15 $('#wrap_banner ul').bxSlider({ 16 pager: true, 17 controls: true, 18 auto: true, 19 pause: 6000 20 }); 21 22 $(".youtube").click(function() { 23 $.fancybox({ 24 'padding' : 0, 25 'autoScale' : false, 26 'transitionIn' : 'none', 27 'transitionOut' : 'none', 28 'title' : this.title, 29 'href' : this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'), 30 'type' : 'swf', 31 'swf' : { 32 'wmode' : 'transparent', 33 'allowfullscreen' : 'true' 34 } 35 }); 36 37 return false; 38 }); 39 40 $('a[rel=galeria]').fancybox(); 41 42 // PLACEHOLDER 43 $('.placeholder input, .placeholder textarea').each(function () { 44 var valor = $(this).val(); 45 if (valor != '') { 46 $(this).parent().children('label').hide(); 47 } 48 }); 49 50 $('.placeholder input, .placeholder textarea').focusin( 51 function () { 52 $(this).parent().addClass('focus'); 53 } 54 ).keypress( 55 function () { 56 $(this).parent().children('label').slideUp(100); 57 } 58 ).focusout( 59 function () { 60 var valor = $(this).val(); 61 $(this).parent().removeClass('focus'); 62 63 if (valor == '') { 64 $(this).parent().children('label').slideDown(100); 65 } 66 } 67 ); 68 69 // $('.banner_fundo ul').caroufredsel({ 70 // auto: true, 71 // circular: true, 72 // scroll: 1, 73 // items: 1, 74 // scroll:{ 75 // duration: 1500 76 // } 77 // }); 78 79 80 $('#wrap_ranking ul').bxSlider({ 81 controls: true, 82 pager:false 83 }); 84 85 $('#wrap_calendario ul').bxSlider({ 86 controls: true, 87 pager:false 88 }); 89 90 $('#wrap_ranking_lateral ul').caroufredsel({ 91 auto: false, 92 next: '#wrap_ranking_lateral .next', 93 prev: '#wrap_ranking_lateral .prev' 94 }); 95 96 97 $('#wrap_tv ul').caroufredsel({ 98 auto: false, 99 circular: false, 100 scroll: 1, 101 items: 3, 102 next: '#wrap_tv .next', 103 prev: '#wrap_tv .prev' 104 }); 105 106 107 $('#wrap_galeria2 ul').caroufredsel({ 108 auto: false, 109 scroll:{ 110 duration: 1500 111 }, 112 items: 4, 113 next: '#wrap_galeria2 .next', 114 prev: '#wrap_galeria2 .prev' 115 }); 116 117 118 setTimeout(function() { 119 $('#dhtml, .mascara_dhtml').fadeOut('fast'); 120 }, 10000); 121 122});
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.