1//<![CDATA[ 2$(window).load(function () { 3 ocquickview.initQuickViewContainer(); 4}); 5 6var ocquickview = { 7 'initQuickViewContainer' : function () { 8 $('body').append('<div class="quickview-container"></div>'); 9 $('div.quickview-container').load('index.php?route=product/ocquickview/appendcontainer'); 10 }, 11 12 'appendCloseFrameLink' : function () { 13 $('div#quickview-content').prepend("<a href='javascript:void(0);' class='a-qv-close' onclick='ocquickview.closeQVFrame()'>Close</a>"); 14 }, 15 16 'closeQVFrame' : function () { 17 $('#quickview-bg-block').hide(); 18 $('.quickview-load-img').hide(); 19 $('div#quickview-content').hide(600).html(''); 20 $(".zoomContainer").show(); //Binny QV 21 }, 22 23 'ajaxView' : function (url) { 24 if(url.search('route=product/product') != -1) { 25 url = url.replace('route=product/product', 'route=product/ocquickview'); 26 } else { 27 url = 'index.php?route=product/ocquickview/seoview&ourl=' + url; 28 } 29 30 $.ajax({ 31 url : url, 32 type : 'get', 33 beforeSend : function() { 34 $('#quickview-bg-block').show(); 35 $('.quickview-load-img').show(); 36 }, 37 success : function(json) { 38 if(json['success'] == true) { 39 $('.quickview-load-img').hide(); 40 $('#quickview-content').html(json['html']); 41 ocquickview.appendCloseFrameLink(); 42 $('#quickview-content').show(600); 43 } 44 } 45 }); 46 } 47}; 48//]]>
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.