1jQuery(document).ready(function($){ 2 jQuery('a img').removeAttr('title'); 3 var effect=magniimage_vars.imgeffect; 4 var speed = magniimage_vars.speed; 5 var dots=magniimage_vars.dotvalue; 6 7 if( effect != '') 8 { 9 $('ul.products li.wcmi-has-gallery.sale').hover(function() { 10 $(this).find( '.woocommerce-LoopProduct-link span.onsale' ).hide(); 11 $(this).find( '.woocommerce-LoopProduct-link img:first' ).hide(); 12 }, function() { 13 $(this).find( '.woocommerce-LoopProduct-link span.onsale' ).show(); 14 $(this).find( '.woocommerce-LoopProduct-link img:first' ).show(); 15 }); 16 $('ul.products li.wcmi-has-gallery').hover(function () { 17 $(this).find( 'a>img.wp-post-image:first-child' ).hide(); 18 }, function () { 19 $(this).find( 'a>img.wp-post-image:first-child' ).show(); 20 }); 21 } 22 23 if( effect == 'flip' ){ 24 $( '.productimgflip' ).cycle({ 25 timeout : speed, 26 }); 27 if(dots=='yes'){ 28 $(this).find( '.imgflipdots span' ).hide(); 29 } 30 $( 'ul.products li.wcmi-has-gallery' ).hover(function () { 31 $(this).find( '.productimgflip' ).show(); 32 $(this).find( '.imgflipdots' ).show(); 33 }, function () { 34 $(this).find( '.productimgflip' ).hide(); 35 $(this).find( '.imgflipdots' ).hide(); 36 }); 37 } 38 else if( effect == 'fade' ){ 39 $( '.productimgfade' ).cycle({ 40 timeout : speed, 41 }); 42 if(dots=='yes'){ 43 $(this).find( '.imgfadedots span' ).hide(); 44 } 45 $( 'ul.products li.wcmi-has-gallery' ).hover(function () { 46 $(this).find( '.productimgfade' ).show(); 47 $(this).find( '.imgfadedots' ).show(); 48 }, function () { 49 $(this).find( '.productimgfade' ).hide(); 50 $(this).find( '.imgfadedots' ).hide(); 51 }); 52 } 53 else if( effect == 'slider' ){ 54 $( '.productimgslider' ).cycle({ 55 timeout : speed, 56 }); 57 if(dots=='yes'){ 58 $(this).find( '.imgsliderdots span' ).hide(); 59 } 60 $( 'ul.products li.wcmi-has-gallery' ).hover(function () { 61 $(this).find( '.productimgslider' ).show(); 62 $(this).find( '.imgsliderdots' ).show(); 63 }, function () { 64 $(this).find( '.productimgslider' ).hide(); 65 $(this).find( '.imgsliderdots' ).hide(); 66 }); 67 } 68 69});
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.