Strategic Supply Chain Management
~
Shoshanah Cohen & Joseph Roussel <script type="text/javascript" language="javascript"> jQuery(".contributorChevron").css("display", "inline"); var onShow = function (i){ var params = {}; params['entityID'] = jQuery('#contributorASIN'+ i).val(); amznJQ.onReady('JQuery', function() { jQuery.ajax({ url: '/gp/product/utility/by-line/book-contributor-details/ajax/author-image.html', data: params, dataType: 'html', timeout: 1000, success: function(html){ jQuery('#contributorImageContainer' + (i)).get(0).innerHTML = html; } }); }); }; amznJQ.available('popover', function(){ jQuery(".contributorNameTrigger > a ").each(function (i){ var contributorNameWidth = jQuery('#contributorNameTrigger' + (Math.floor(i/2) +1) ).text().length * 13 ; var popOverWidth = contributorNameWidth > 425 ? contributorNameWidth + 140 :465; jQuery(this).amazonPopoverTrigger({ showOnHover: true, draggable: false, showCloseButton: false, hoverShowDelay: 400, hoverHideDelay: 0, width: popOverWidth , localContent: '#contributorContainer' + (Math.floor(i/2) +1), locationMargin: 0, skin: "default", location: "bottom", paddingLeft: 20, paddingRight: 0, followLink : true, onShow: function(){ onShow(Math.floor(i/2)+1);} }); });  </script>
<script type="text/javascript"> function reviewHistPingAjax() { jQuery.get("/gp/customer-reviews/common/du/recordHistoPopAjax.html", null); } var reviewHistPopoverConfig = { showOnHover:true, showCloseButton:false, width:null, location:'bottom', locationAlign:'right', clone:false, hoverHideDelay:300 }; </script> <script type="text/javascript"> function constructTriggerPrefix(asin){ return "reviewHistoPop" + '_' + asin; } function getContentDivId(triggerName){ var nameArray = new Array(); nameArray = triggerName.split('__'); return nameArray[1]; } function jQueryInitHistoPopovers(asin, triggerDivPrefix) { if(triggerDivPrefix == null){ triggerDivPrefix = constructTriggerPrefix(asin); } amznJQ.onReady('popover', function(){ jQuery('a[name^=' + triggerDivPrefix + ']').each(function(){ jQuery(this).removeAmazonPopoverTrigger(); var contentDivId = getContentDivId(this.name); var myConfig = jQuery.extend(true, {}, reviewHistPopoverConfig); myConfig.localContent = '#' + contentDivId; myConfig.onShow = reviewHistPingAjax; jQuery(this).amazonPopoverTrigger(myConfig); }); }); }</script>
Nenda google search mkubwa ila bei yake dah, yataka moyo!