1$(document).ready(function() 2{ 3 var url = document.location.toString(); 4 5 var urlbits = url.split('#'); 6 7 $('#header').bind 8 ( 9 'click', 10 function(e) 11 { 12 location.href = "http://www.amazon.com/gp/product/1439116830?ie=UTF8&tag=wefeelfine-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1439116830"; 13 } 14 ); 15 16 $('#more-info ul').hide(); 17 18 $('#more-info').siblings('ul').hide(); 19 20 $('#more-info').mouseenter 21 ( 22 function(e) 23 { 24 $('ul',this).fadeIn(); 25 } 26 ); 27 28 $('#more-info').mouseleave 29 ( 30 function(e) 31 { 32 $('ul',this).fadeOut(); 33 } 34 ); 35 36 $('#back-cover-link').mouseenter 37 ( 38 function(e) 39 { 40 $('#back-cover-reveal').width(820).animate 41 ( 42 { 43 opacity: 1 44 } 45 ); 46 $('#back-cover-backing').width(940).animate 47 ( 48 { 49 opacity: .9 50 } 51 ); 52 } 53 ); 54 55 $('#back-cover-link').click 56 ( 57 function(e) 58 { 59 e.preventDefault(); 60 } 61 ); 62 63 $('body').bind 64 ( 65 'click', 66 function(e) 67 { 68 if ($('#back-cover-reveal').css('opacity') == 1) 69 { 70 $('#back-cover-backing').animate 71 ( 72 { 73 opacity: 0 74 }, 75 'normal', 76 'linear', 77 function() 78 { 79 $('#back-cover-backing').width(0); 80 } 81 ); 82 83 $('#back-cover-reveal').animate 84 ( 85 { 86 opacity: 0 87 }, 88 'normal', 89 'linear', 90 function() 91 { 92 $('#back-cover-reveal').width(0); 93 } 94 ); 95 } 96 } 97 ); 98 99 $('*:not(#page *, #back-cover-reveal, #back-cover-backing, .container_12, #page-menu)').bind 100 ( 101 'mouseenter', 102 function(e) 103 { 104 if ($('#back-cover-reveal').css('opacity') == 1) 105 { 106 $('#back-cover-backing').animate 107 ( 108 { 109 opacity: 0 110 }, 111 'normal', 112 'linear', 113 function() 114 { 115 $('#back-cover-backing').width(0); 116 } 117 ); 118 119 $('#back-cover-reveal').animate 120 ( 121 { 122 opacity: 0 123 }, 124 'normal', 125 'linear', 126 function() 127 { 128 $('#back-cover-reveal').width(0); 129 } 130 ); 131 } 132 } 133 ); 134 135 if ( ! $.iPhone.present && urlbits.length == 1) 136 { 137 $("img").lazyload 138 ( 139 { 140 placeholder : "assets/images/blank.gif", 141 effect : "fadeIn" 142 } 143 ); 144 } 145 146 $('#page-menu a').lightBox({fixedNavigation:false}); 147 148 $('#page-menu a').bind 149 ( 150 'mouseup', 151 function(e) 152 { 153 href = $(this).attr('href'); 154 155 hrefbits = href.split('.'); 156 157 fragment = '#'; 158 159 if (hrefbits.length > 1) 160 { 161 fragment += hrefbits[0]; 162 163 window.location.replace(urlbits[0]+fragment); 164 } 165 } 166 ); 167 168 if (urlbits.length > 1) 169 { 170 171 $('#page-menu a[href="'+urlbits[1]+'.jpg"]').click(); 172 } 173 174 $.getScript 175 ( 176 "http://www.wefeelfine.org/book/assets/js/jquery.ga.js", 177 function() 178 { 179 $.ga.load('UA-286275-4'); 180 181 $('.amazon-link, .indiebound-link, .barnesnoble-link').live 182 ( 183 'click', 184 function(e) 185 { 186 $.ga.trackEvent('book', 'more info', 'buy from '+$(this).attr('class')+' clicked'); 187 } 188 ); 189 190 } 191 ); 192 193});
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.