1jQuery( document ).ready( function() { 2 3/*-----------------------------------------------------------------------------------*/ 4/* Add alt-row styling to tables */ 5/*-----------------------------------------------------------------------------------*/ 6 7 jQuery('.entry table tr:odd').addClass('alt-table-row'); 8 9 10/*-----------------------------------------------------------------------------------*/ 11/* Superfish navigation dropdown */ 12/*-----------------------------------------------------------------------------------*/ 13 14 if( jQuery().superfish ) { 15 16 jQuery('ul.nav').superfish({ 17 delay: 200, 18 animation: {opacity:'show', height:'show'}, 19 speed: 'fast', 20 dropShadows: false 21 }); 22 23 } 24 25/*-----------------------------------------------------------------------------------*/ 26/* Innerfade Setup */ 27/*-----------------------------------------------------------------------------------*/ 28 29 if ( jQuery('.quotes').length ) { 30 31 fadeArgs = new Object(); 32 33 fadeArgs.animationtype = 'fade'; 34 fadeArgs.speed = 'normal'; 35 36 if ( woo_innerfade_settings.can_fade == 'true' ) { 37 fadeArgs.timeout = woo_innerfade_settings.timeout; 38 } else { 39 fadeArgs.timeout = 10000000; 40 } 41 42 fadeArgs.type = 'random_start'; 43 fadeArgs.containerheight = '120px'; 44 45 jQuery('.quotes').innerfade( fadeArgs ); 46 } 47 48}); 49 50/*-----------------------------------------------------------------------------------*/ 51/* Center Nav Sub Menus */ 52/*-----------------------------------------------------------------------------------*/ 53 54jQuery(document).ready(function(){ 55 56 jQuery('.nav li ul').each(function(){ 57 58 li_width = jQuery(this).parent('li').width(); 59 li_width = li_width / 2; 60 li_width = 100 - li_width - 10; 61 62 jQuery(this).css('margin-left', - li_width); 63 64 }); 65 66 67/*-----------------------------------------------------------------------------------*/ 68/* Single Portfolio Gallery */ 69/*-----------------------------------------------------------------------------------*/ 70 71jQuery(document).ready(function() { 72 73 var show_thumbs = 3; 74 75 jQuery('#loopedSlider.gallery ul.pagination').jcarousel({ 76 visible: show_thumbs, 77 wrap: 'both' 78 }); 79}); 80 81 82});
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.