1jQuery(document).ready(function($){ 2 3 // Show Cart 4 $('.wpsc_buy_button').click(function(){ 5 $('.widget_wpsc_shopping_cart').slideDown(); 6 }); 7 $('.emptycart').click(function(){ 8 $('.widget_wpsc_shopping_cart').slideUp(); 9 }); 10 11 // Colorbox for Inline Video with automatic stop on close 12 $(".colorbox-link").colorbox({ 13 inline:true, 14 onClosed:function(){ 15 $('video').each(function(){this.player.pause()}) 16 } 17 }); 18 19 // Open External Links in New Window 20 $('.social a').each(function() { 21 var a = new RegExp('/' + window.location.host + '/'); 22 if(!a.test(this.href)) { 23 $(this).click(function(event) { 24 event.preventDefault(); 25 event.stopPropagation(); 26 window.open(this.href, '_blank'); 27 }); 28 } 29 }); 30 31 // Arrows 32 $('aside h2, .yarpp-related h2').append('<i class="ss-icon">▾</i>'); 33 34 //Remove Empty Paragraphs 35 $( 'p:empty' ).remove(); 36 $('p').each(function() { 37 var $this = $(this); 38 if($this.html().replace(/\s| /g, '').length == 0) 39 $this.remove(); 40 }); 41 42 43 var url = location.pathname; // Only load on Writer Igniter 44 if (url.indexOf("writer-igniter") >= 0 && url.indexOf("product") < 0){ 45 // Writer Igniter 46 $('.slot').jSlots({ 47 spinner : '#playBtn', 48 number : 1, 49 easing: 'easeOutSine', 50 time:4000, 51 loops:4 52 }); 53 } 54 55 // Slots 56 var i = 1; 57 $('div.jSlots-wrapper').each(function(i){ 58 var num = i + 1; 59 $(this).addClass('slot-' + num ) 60 }); 61 62 63 //Testimonials 64 $('#fade').cycle({ 65 slideResize: true, 66 containerResize: true, 67 cleartypeNoBg: true, 68 }); 69 70 71 72});
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.