1var contheight; 2function cs_amimate(id){ 3 $("#"+id).animate({ 4 height: 'toggle' 5 }, 1000, function() { 6 // Animation complete. 7 }); 8} 9 function hide_all(id){ 10 contheight = $('.page-opts').height(); 11 //var widthvr = $('.page-opts').outerWidth(true); 12 var popd = $("#"+id).height(); 13 $("#"+id).css("top", popd); 14 $("#"+id).css("display", "block"); 15 $.scrollTo( '#normal-sortables', 800, {easing:'swing'} ); 16 $(".poped-up").css("height", popd); 17 $(".page-opts").css("height", popd); 18 $("#"+id).animate({ 19 top: 0, 20 }, 500, function() { 21 // Animation complete. 22 }); 23 24 }; 25 function show_all(id){ 26 27 $(".page-opts").css("height", "auto"); 28 //var widthvr = $('.page-opts').outerHeight(); 29 $("#"+id).animate({ 30 top: contheight, 31 }, 500, function() { 32 // Animation complete. 33 }); 34 $.scrollTo( '#normal-sortables', 800, {easing:'swing'} ); 35 $("#"+id).hide(500).delay(500); 36 contheight = 0; 37 }; 38 function addtrack(id){ 39 contheight = $('.page-opts').height(); 40 //var widthvr = $('.page-opts').outerWidth(true); 41 var popd = $("#"+id).height(); 42 $("#"+id).css("top", popd); 43 $("#"+id).css("display", "block"); 44 $(".poped-up").css("height", popd); 45 $(".page-opts").css("height", popd); 46 $("#"+id).animate({ 47 top: 0, 48 }, 500, function() { 49 // Animation complete. 50 }); 51 $.scrollTo( '#normal-sortables', 800, {easing:'swing'} ); 52 }; 53 function closetrack(id){ 54 $(".page-opts").css("height", "auto"); 55 //var widthvr = $('.page-opts').outerHeight(); 56 $("#"+id).animate({ 57 top: contheight + 100, 58 }, 500, function() { 59 // Animation complete. 60 }); 61 $("#"+id).hide(500).delay(500); 62 $.scrollTo( '#normal-sortables', 800, {easing:'swing'} ); 63 }; 64 65 66 function update_title(id){ 67 var val; 68 val = jQuery('#subject_title'+id).val(); 69 jQuery('#album-title'+id).html(val); 70 } 71 function gll_search_map(){ 72 var vals; 73 vals = jQuery('#loc_address').val(); 74 vals = vals + ", " + jQuery('#loc_city').val(); 75 vals = vals + ", " + jQuery('#loc_postcode').val(); 76 vals = vals + ", " + jQuery('#loc_region').val(); 77 vals = vals + ", " + jQuery('#loc_country').val(); 78 jQuery('.gllpSearchField').val(vals); 79 } 80 function hide_custom_color_scheme(id){ 81 if (id == "custom") { 82 jQuery("#cs_color_scheme").show("slow"); 83 } 84 else jQuery("#cs_color_scheme").hide("slow"); 85 } 86 function update_logo(){ 87 var src; 88 src = $('#cs_logo').val(); 89 $('#cs_logo_img').attr('src', src); 90 } 91 function remove_logo(){ 92 $('#cs_logo_img').attr('src', ''); 93 $('#cs_logo').val(''); 94 } 95 function track_toggle(id){ 96 title = jQuery('#album_track_title'+id).val(); 97 jQuery('#album-title'+id).html(title); 98 jQuery('#edit_track_form'+id).toggle("slow"); 99 } 100 function tab_close(){ 101 jQuery(".form-msgs").slideUp("slow"); 102 } 103 function slideout(){ 104 setTimeout(function(){ 105 jQuery(".form-msgs").slideUp("slow", function () { 106 }); 107 }, 5000); 108 } 109 function slideout_msgs(){ 110 setTimeout(function(){ 111 jQuery("#newsletter_mess").slideUp("slow", function () { 112 }); 113 }, 5000); 114 } 115 function cs_div_remove(id){ 116 jQuery("#"+id).remove(); 117 } 118 function cs_toggle(id){ 119 jQuery("#"+id).toggle("slow"); 120 } 121 function toggle_with_value(id, value){ 122 if ( value == 0 ) jQuery("#"+id).hide("slow"); 123 else jQuery("#"+id).show("slow"); 124 } 125 function cs_toggle_tog(id){ 126 jQuery("#"+id).toggleClass("no-display"); 127 var newheight = $('.poped-up').height(); 128 $(".poped-up").css("height", newheight); 129 $(".page-opts").css("height", newheight); 130 } 131 function cs_toggle_height(value,id){ 132 if (value == "Nivo Slider"){ 133 jQuery("#"+id).addClass("no-display"); 134 } 135 else { 136 jQuery("#"+id).removeClass("no-display"); 137 } 138 var newheight = $('.poped-up').height(); 139 $(".poped-up").css("height", newheight); 140 $(".page-opts").css("height", newheight); 141 } 142 function show_sidebar(id){ 143 jQuery('input[name="cs_layout"]').change(function(){ 144 jQuery(this).parent().parent().find(".check-list").removeClass("check-list"); 145 jQuery(this).siblings("label").children("#check-list").addClass("check-list"); 146 }); 147 if ( id == 'left'){ 148 jQuery("#sidebar_right").hide(); 149 jQuery("#sidebar_left").show(); 150 } 151 else if ( id == 'right'){ 152 jQuery("#sidebar_left").hide(); 153 jQuery("#sidebar_right").show(); 154 } 155 else if ( id == 'both'){ 156 jQuery("#sidebar_left").show(); 157 jQuery("#sidebar_right").show(); 158 } 159 else if ( id == 'none'){ 160 jQuery("#sidebar_left").hide(); 161 jQuery("#sidebar_right").hide(); 162 } 163 }
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.