1jQuery(document).ready(function($){ 2 3/*-----------------------------------------------------------------------------------*/ 4/* Feedback slide/fade setup. */ 5/*-----------------------------------------------------------------------------------*/ 6 if ( jQuery( '.feedback' ).length ) { 7 jQuery( '.feedback' ).each( function () { 8 var effect = 'none'; 9 10 if ( jQuery( this ).hasClass( 'fade' ) ) { effect = 'fade'; } 11 12 if ( effect != 'none' ) { 13 jQuery( this ).slides({ 14 container: 'feedback-list', 15 next: 'btn-next', 16 prev: 'btn-prev', 17 effect: effect, 18 play: 5000, 19 fadeSpeed: 350, 20 autoHeight: true, 21 generatePagination: false, 22 hoverPause: true, 23 animationComplete: function () { jQuery( this ).stop(); }, 24 slidesLoaded: function () { jQuery( '.feedback-list .slides_control' ).css( 'height', jQuery( '.feedback-list .quote:first' ).height() ); } 25 }); 26 } 27 }); 28 } 29 30/*-----------------------------------------------------------------------------------*/ 31/* Make sure feedback widgets have the correct width on each feedback item. */ 32/*-----------------------------------------------------------------------------------*/ 33 34 if ( jQuery( '.widget_woo_feedback .feedback-list' ).length ) { 35 jQuery('.widget_woo_feedback .feedback-list' ).each( function () { 36 var width = jQuery( this ).parent().width(); 37 if ( width ) { 38 jQuery( this ).find( '.quote' ).css( 'width', width + 'px' ); 39 } 40 }); 41 } 42 43}); // End jQuery()
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.