1$(document).ready(function(){ 2 if ($("#vote_form").length>0) { 3 $('#vote_form').ajaxForm(function(data) { 4 $('#vote_content').html(data + '<br />'); 5 }); 6 } 7 $(".fancybox").fancybox({ 8 openEffect : 'none', 9 closeEffect : 'none', 10 closeClick: false, 11 }); 12 $('.fancybox-media').fancybox({ 13 openEffect : 'none', 14 closeEffect : 'none', 15 'title' : this.title, 16 helpers : { 17 media : {} 18 } 19 }); 20 $('.sidebar-site-crisana div').bind({ 21 mouseenter:function() { 22 $(this).animate({ 23 paddingLeft: 10 24 }, 600).css('opacity', '1'); 25 }, 26 mouseleave:function() { 27 jQuery(this).animate({ 28 paddingLeft: 0 29 }, 600).css('opacity', '0.7'); 30 } 31 }); 32 if($(".various").length>0) 33 { 34 $(".various").fancybox({ 35 padding : 3 , 36 maxWidth : 800, 37 maxHeight : 600, 38 autoResize : true, 39 closeClick : false, 40 fitToView : true, 41 openEffect : 'none', 42 closeEffect : 'none', 43 afterShow: function(){ 44 if($(".fancybox_galerie").length>0) 45 { 46 $(".fancybox_galerie").fancybox({ 47 padding : 3, 48 loop : false, 49 closeClick : false, 50 fitToView : true, 51 openEffect : 'none', 52 closeEffect : 'none', 53 'helpers': { 54 'title' : { 55 'type' : 'over' 56 } 57 } 58 }); 59 } 60 }, 61 62 }); 63 } 64 $('.mesaj-close').on("click", function(){ 65 $.post('/crisana/set_cookie'); 66 $(".mesaj-popup").remove(); 67 }); 68}); 69 70 71function afiseza_rezultate_vot(){ 72 $.post('/crisana/voteaza',function(data){ 73 $('#vote_content').html(data + '<br />'); 74 }) 75} 76function afiseza_formular_vot(){ 77 $.post('/crisana/formular_voteaza',function(data){ 78 $('#vote_content').html(data + '<br />'); 79 }) 80} 81function convert(){ 82 if (isNaN(parseFloat($("#suma").val()))) 83 { 84 $("#suma2").val(''); 85 } 86 else 87 { 88 var suma = $("#suma").val(); 89 var from = $("#from").val(); 90 var to = $("#to").val(); 91 92 faqsorg=rateArr[from]/rateArr[to]; 93 resfaqs=suma*faqsorg; 94 $("#suma2").val(resfaqs); 95 } 96} 97 98function abonare_newsletter(){ 99 $.post('/crisana/abonare_newsletter', $("#abonare_newsletter input").serializeArray(), function(data){ 100 if(data.type == 'error'){ 101 alert(data.msg); 102 } else { 103 $("#abonare_newsletter").html(data.msg); 104 } 105 }, 'json'); 106} 107 108function verificare_drepturi(id){ 109 $.post('/arhiva_tiparita/drepturi', {'id': id}, function(data){ 110 if(data.tip == 'ok'){ 111 // window.open(data.mesaj, '_blank'); 112 window.location.href = data.mesaj; 113 } else { 114 $("#myModal .modal-content").html(data.mesaj); 115 $("#myModal").modal(); 116 } 117 }, 'json'); 118}
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.