1jQuery(document).ready(function ($) { 2 3// Equal width checkout columns 4 $(".woocommerce-checkout > .row > .col").removeClass("large-5 large-7"); 5 $(".woocommerce-checkout > .row > .col").addClass("large-6"); 6 7 8 9 10// Equal heights 11 12 $('.row.equal-height').each(function(){ 13 14 //H4 15 var highest_h4 = 0; 16 $(this).find('h4').each(function(){ 17 if($(this).height() > highest_h4) { 18 highest_h4 = $(this).height(); 19 } 20 }); 21 $(this).find('h4').css('min-height',highest_h4); 22 23 //H5 24 var highest_h5 = 0; 25 $(this).find('h5').each(function(){ 26 if($(this).height() > highest_h5) { 27 highest_h5 = $(this).height(); 28 } 29 }); 30 $(this).find('h5').css('min-height',highest_h5); 31 32 //p.from_the_blog_excerpt 33 var highest_p = 0; 34 $(this).find('p.from_the_blog_excerpt').each(function(){ 35 if($(this).height() > highest_p) { 36 highest_p = $(this).height(); 37 } 38 }); 39 $(this).find('p.from_the_blog_excerpt').css('min-height',highest_p); 40 }); 41 42 43 $('.row.equalize-box').each(function(){ 44 //equal-height class 45 var highest_div = 0; 46 $(this).find('.equal-height-helper').each(function(){ 47 if($(this).height() > highest_div) { 48 highest_div = $(this).height(); 49 } 50 }); 51 $(this).find('.equal-height-helper').css('min-height',highest_div); 52 }); 53 54 55 //equal-height p short description 56 /*var highest_p_short = 0; 57 $(this).find('p.from_the_blog_excerpt').each(function(){ 58 if($(this).height() > highest_p_short) { 59 highest_p_short = $(this).height(); 60 } 61 }); 62 $(this).find('p.from_the_blog_excerpt').css('min-height',highest_p_short);*/ 63 64 65// Submit artefact monitoring 66 67 $('#artefact_monitoring').on('submit', function( event ) { 68 event.preventDefault(); 69 70 thisElement = $(this); 71 thisElement.addClass("frontend-spinner"); 72 thisResponse = $(this).find('.response'); 73 74 var data = { 75 action: 'set_artefact_monitoring', 76 keyword: $(this).find('input[name="keyword"]').val(), 77 nonce: ajax_object_frontend.nonce, 78 }; 79 80 $.ajax({ 81 url: ajax_object_frontend.ajax_url, // /wp-admin/admin-ajax.php 82 type: 'post', 83 data: $.param(data), 84 }) 85 86 .done( function( response ) { 87 88 thisElement.removeClass("frontend-spinner"); 89 90 //Display response 91 thisResponse.html(response); 92 }); 93 }); 94 95 96// Delete artefact monitoring 97 98 $('.delete-keyword').on('click', function() { 99 thisRow = $(this).parent().parent(); 100 thisElement = $(this); 101 thisElement.addClass("frontend-spinner"); 102 103 var data = { 104 action: 'delete_artefact_monitoring', 105 keyword: $(this).attr('data-keyword'), 106 nonce: ajax_object_frontend.nonce, 107 }; 108 109 $.ajax({ 110 url: ajax_object_frontend.ajax_url, // /wp-admin/admin-ajax.php 111 type: 'post', 112 data: $.param(data), 113 }) 114 115 .done( function( response ) { 116 117 thisElement.removeClass("frontend-spinner"); 118 $('.response').html(response); 119 120 //Delete Row 121 // if( response.success == true ) { 122 thisRow.fadeOut(); 123 // } 124 125 }); 126 }); 127 128 129// Set Auction monitoring 130 131 $('#auction_monitoring').change( function() { 132 133 var data = { 134 action: 'set_auction_monitoring', 135 set_monitoring: this.checked, 136 user_id: $('#user_id').val(), 137 nonce: ajax_object_frontend.nonce, 138 }; 139 140 $.ajax({ 141 url: ajax_object_frontend.ajax_url, // /wp-admin/admin-ajax.php 142 type: 'post', 143 data: $.param(data), 144 }) 145 146 .done( function( response ) { 147 $('.response').html(response); 148 }); 149 }); 150 151 152// Set Auction end monitoring 153 154 $('#auction_end_monitoring').change( function() { 155 156 var data = { 157 action: 'set_auction_end_monitoring', 158 set_monitoring_end: this.checked, 159 user_id: $('#user_id').val(), 160 nonce: ajax_object_frontend.nonce, 161 }; 162 163 $.ajax({ 164 url: ajax_object_frontend.ajax_url, // /wp-admin/admin-ajax.php 165 type: 'post', 166 data: $.param(data), 167 }) 168 169 .done( function( response ) { 170 $('.response').html(response); 171 }); 172 }); 173 174// Artefact monitoring search box 175 176 $('.artefact-monitoring-main').on('click', function(){ 177 if ( $('.artefact-monitoring-search').is( ":hidden" ) ) { 178 $('.artefact-monitoring-search').slideDown(); 179 } else {
180 $('.artefact-monitoring-search').slideUp(); 181 } 182 }); 183 184 185// Gallery contact email address 186 187 $('.popmake-1804964').on('click', function(){ 188 $('#pum-1804964 input.author-email').attr( 'value', $('#pum-1804964 .real-author-email').text() ); 189 $('#pum-1804964 input.product-name').attr( 'value', $('#pum-1804964 .real-product-name').text() ); 190 $('#pum-1804964 input.product-link').attr( 'value', $('#pum-1804964 .real-product-link').text() ); 191 $('#pum-1804964 input.gallery-name').attr( 'value', $('#pum-1804964 .real-gallery-name').text() ); 192 }); 193 194// Art advisory contact email address 195 196 var artAdvisoryMessageSet = false; 197 $('.popmake-2619064').on('click', function(){ 198 var productName = $('#pum-2619064 .real-product-name').text(); 199 $('#pum-2619064 input.product-name').attr( 'value', productName ); 200 $('#pum-2619064 input.product-link').attr( 'value', $('#pum-2619064 .real-product-link').text() ); 201 if ( ! artAdvisoryMessageSet ) { 202 $('#pum-2619064 textarea[name="your-message"]').val( 'Tisztelt Műtárgy.com!\n\nÃrdeklÅdöm a(z) "' + productName + '" nevű műtárggyal kapcsolatban.\nÃdvözlettel:' ); 203 artAdvisoryMessageSet = true; 204 } 205 }); 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223});
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.