1( function( $ ) { 2 3 function setupShortcodes() { 4 5 /* jQuery UI Tabs ---------------------*/ 6 $(function() { 7 $( ".organic-tabs" ).tabs(); 8 }); 9 10 /* jQuery UI Accordion ---------------------*/ 11 $(function() { 12 $( ".organic-accordion" ).accordion({ 13 collapsible: true, 14 heightStyle: "content" 15 }); 16 }); 17 18 /* Close Message Box ---------------------*/ 19 $('.organic-box a.close').click(function() { 20 $(this).parent().stop().fadeOut('slow', function() { 21 }); 22 }); 23 24 /* Toggle Box ---------------------*/ 25 $('.toggle-trigger').click(function() { 26 $(this).toggleClass("active").next().fadeToggle("slow"); 27 }); 28 29 } 30 31 /* Modal Button --------------------*/ 32 33 function setupModal() { 34 $('.modal-btn a[rel~="modal:open"]').click(function(event) { 35 $(this).modal(); 36 return false; 37 }); 38 } 39 40 $( document ) 41 .ready( setupShortcodes ) 42 .on( 'post-load', setupShortcodes ); 43 44 $( window ) 45 .load( setupModal ); 46 47})( 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.