Accessories and Devices (2023)

New York State DTF Form<\/a> before we remove sales tax from their invoices.\n

Successful High Bidder: <\/strong>\u00a0 Please note that when you receive an invoice for payment, there are two different payment amounts.
1) Undiscounted prices for payments made by credit/debit card and, \u00a0
2) Discount rate for payment in certified funds; cash, wire transfer, guaranteed funds or money order.

\n

Make sure your payment amount matches the payment method you selected.

\n

使用现金或担保资金支付非折扣价的个人将获得一次性的、针对多付的礼节性退款。随后的多付款项将从开具发票的买方的汇款金额中扣除(或收取)35 美元的管理费。请确保根据您的付款方式支付正确的金额。<\/p>","convenience_fee":"0","affiliate_id":"0","archived":"0","preview_period" :"0","state_abbreviation":"NY","re​​gistration_time":"","location_override":"","start_end_override":"","time_interval":"1","extended_bidding":"1", “描述”:“”,“allow_custom_bids”:“”,“enable_charitable_organizations”:“0”,“increment”:“1”,“starting_bid”:“10.00”,“flat_increment”:“0.00”,“payment_gateway”: "AuthDotNet","gateway_account":"","close_groups":"1","extended_bidding_threshold":"1","county":"Onondaga","extended_bidding_interval":"-1","consignor_id":"413 ","transcript":"","audio_feed":null,"send_closing_alert":"0","send_admin_closing_alert":"0","feed_type":"","completed":"0","flat_rate_shipping": "0.00","custom_url":"","paused_time":null,"paused_duration":null,"paused_status":null,"maximum_highbidder_bids":null,"hide_bidhistory_after_sale":"0","currency":"$" "clerking_type":"cataloged","aff_logo":null,"blind_bidding":"0","shipping_methods":"","documents":[],"time_offset":3600};返回数据;});bidItem.controller('ItemDetailCtrl', ['$scope', '$filter', '$timeout', '$interval', 'bidItemData', function($scope, $filter, $timeout, $interval, bidItemData){ $scope.auction = bidItemData.auction; $scope.item = bidItemData.item; $scope.current_time = current_time; $scope.enable_buy_item_now = enable_buy_item_now; $scope.enable_blind_bidding = enable_blind_bidding; $scope.user_item_distance = '正在计算...'; $scope.is_admin = false; $.ajax({ type: 'GET', dataType: 'json', url: '/auctionhome/timestamp', async: false, success: function (returndata) { $scope.current_time = parseInt(returndata.current_time, 10); } }); $scope.time_difference = ($scope.current_time - Math.floor(Date.now() / 1000)); if($scope.time_difference > -2 && $scope.time_difference < 2){ $scope.time_difference = 0; } $scope.current_time = (Math.floor(Date.now() / 1000) + $scope.time_difference + $scope.auction.time_offset ); $scope.current_user = parseInt(current_user, 10); $scope.seconds = parseInt($scope.item.end_time, 10) - $scope.current_time; $scope.lang = 语言; $scope.show_customer_info = show_customer_info; $scope.realtime = 实时; $scope.crowd_bidder = crowd_bidder; $scope.crowd_bidder_username = crowd_bidder_username; $scope.user_deposited_amount = parseInt('0', 10); $scope.disable_bid_history = disable_bidhistory_after_sale; $scope.show_bid_history = true; $scope.item.end_time = parseInt($scope.item.end_time, 10); $scope.item.start_time = parseInt($scope.item.start_time, 10); $scope.item.quantity = parseInt($scope.item.quantity, 10); $scope.item.high_bidder = parseInt($scope.item.high_bidder, 10); $scope.item.buy_now = parseFloat($scope.item.buy_now); $scope.item.current_bid = parseFloat($scope.item.current_bid); $scope.item.minimum_bid = parseFloat($scope.item.minimum_bid); $scope.auction.starts = parseInt($scope.auction.starts, 10); $scope.auction.ends = parseInt($scope.auction.ends, 10); $scope.live_not_started = false;如果(is_auction_liveonline){ $scope.live_not_started = $scope.current_time < $scope.auction.ends; } if($scope.disable_bid_history && $scope.item.start_time > 0 && $scope.item.start_time <= $scope.current_time && $scope.item.end_time <= $scope.current_time && (angular.isDefined($scope .auction.hide_bidhistory_after_sale) && parseInt($scope.auction.hide_bidhistory_after_sale))){ $scope.show_bid_history = false; } if($scope.auction.starts > $scope.current_time){ var timeout = parseInt($scope.auction.starts - $scope.current_time + 1)*1000;如果(超时 >= 2147483647)超时 = 2147483647; $timeout(function (){ $scope.initData(); }, 超时); } if(is_auction_liveonline && $scope.auction.ends > $scope.current_time){ var timeout = parseInt($scope.auction.ends - $scope.current_time) * 1000;如果(超时 >= 2147483647)超时 = 2147483647; setTimeout(function (){ smodal('', '现场拍卖开始!点击“确定”进入现场拍卖。', true, '', function (){ location.href = '/auction/liveonline /' + $scope.auction.id; }, true, function (){ location.href = '/auction/liveonline/' + $scope.auction.id; }, 0, ''); }, 超时); } if(realtime && !angular.isDefined($scope.current_interval)){ // Interval 正在更新作用域的当前时间 $scope.current_interval = $interval(function (){ $scope.current_time = (Math.floor(Date .now() / 1000) + $scope.time_difference + $scope.auction.time_offset); $scope.seconds = $scope.item.end_time - $scope.current_time; if($scope.disable_bid_history && (angular.isDefined( $scope.auction.hide_bidhistory_after_sale) && parseInt($scope.auction.hide_bidhistory_after_sale)) && $scope.seconds <= 0){ $scope.show_bid_history = false; } }, 1000); } $scope.scrollToGallery = function(){ $('#imgtab,#detailstab').click(); $('html, body').animate({ scrollTop: $('#itemtabs div.tab_content:visible').offset().top }, 800); }; // 范围项的初始化函数 $scope.initData = function(){ // 如果拍卖正在进行并且启用了实时则初始化推送器 API if(realtime && !angular.isDefined($scope.pusher) && parseInt($scope .auction.starts, 10) <= $scope.current_time && parseInt($scope.item.end_time, 10) > $scope.current_time){ $scope.pusher = new Pusher(pusher_api_key, {cluster: pusher_cluster, disableStats: true , pong_timeout: 20000, activity_timeout: 10000});// 启用在开发环境中记录推送事件,不适用于生产环境// Pusher.log = function(message) {// if (window.console && window.console.log) {// window.console.log(message);// }// }; var first_pusher_connection = true; $scope.pusher.connection.bind('state_change', function(states){ if(states.previous === 'initialized' && states.current === 'connecting'){ return; } if(states.current ! == 'connected'){ $timeout(function(){ $scope.show_pusher_warning_alert = true; if(angular.isDefined($scope.current_interval)){ $interval.cancel($scope.current_interval); $scope.current_interval =未定义; } }, 3000); } if((!first_pusher_connection) && states.current == 'connected'){ $scope.show_pusher_warning_alert = false; window.location.reload(); } if(states.current == = '已连接'){ first_pusher_connection = false; } }); if(!angular.isDefined($scope.channel)){ $scope.channel = $scope.pusher.subscribe(domain_name + '-auction-' + $scope.auction.id); } if(angular.isDefined($scope.channel)){ $scope.channel.bind('pause', function(){ window.location.reload(); return; }); } } $scope.update_item($scope.item); $scope.softCloseGroupPusherUpdates();如果(实时&&启用_ajax_pusher_updates &&(!is_auction_liveonline)&&(!is_liveonline_online)&& parseInt($scope.auction.starts,10)<=$scope.current_time && parseInt($scope.item.end_time,10)> $scope.current_time ){ $scope.watchItemsClosing(); } //订阅重新开启现场拍卖推送器事件集群:pusher_cluster,disableStats:true,pong_timeout:20000,activity_timeout:10000}); $scope.auction_reopen_channel = $scope.pusher.subscribe(domain_name + '-reopen_auction-' + $scope.auction.id); $scope.auction_reopen_channel.bind('reopen_auction', function(){ $scope.$apply(function(){ smodal('', '本次拍卖已重新开始。', true, '', function (){ window. location.reload(); }, true, function (){ window.location.reload(); }, 0, ''); }); }); } }; // 软关闭组触发器 $scope.softCloseGroupPusherUpdates = function(){ if(realtime && parseInt($scope.auction.starts, 10) <= $scope.current_time && parseInt($scope.item.end_time, 10) > $ scope.current_time && !angular.isDefined($scope.softCloseChannel)){ // 订阅软关闭推送器 API 通道 $scope.softCloseChannel = $scope.pusher.subscribe(domain_name + '-softclosegroup-' + $scope.item.组标识); } if(realtime && parseInt($scope.auction.starts, 10) <= $scope.current_time && parseInt($scope.item.end_time, 10) > $scope.current_time && angular.isDefined($scope.softCloseChannel)) { $scope.softCloseChannel.bind('softclose', function(data){ $scope.$apply(function(){ var item = jQuery.extend(true, $scope.item, data.items); for(var indx2 = 0; indx2 < data.items.length; indx2++){ if($scope.item.groupid === item[indx2].groupid){ $scope.item.end_time = item[indx2].end_time; $scope. item.bidding_extended = item[indx2].bidding_extended; $scope.update_item($scope.item); 中断; } } }); }); } }; $scope.redirectToLogin = function(){ window.location.href = '/login'; }; // Item 剩余时间清除间隔 function $scope.removeInterval = function(item){ if(angular.isDefined(item.timeout)){ $timeout.cancel(item.timeout); item.timeout = undefined; } }; // 销毁作用域成员和 API 连接 $scope.destroy = function(){ if(angular.isDefined($scope.current_interval)){ $interval.cancel($scope.current_interval); $scope.current_interval = undefined; } if(angular.isDefined($scope.item.channel)){ $scope.pusher.unsubscribe(domain_name + '-item-' + $scope.item.id); $scope.item.channel = undefined; } if(angular.isDefined($scope.watch_interval)){ $interval.cancel($scope.watch_interval); $scope.watch_interval = undefined; } }; // Angular JS 触发的 Scope 事件 $scope.$on('$destroy', function (){ $scope.destroy(); }); // 当 item 将要关闭时销毁所有内容 if($scope.item.end_time > $scope.current_time){ var timeout = parseInt($scope.item.end_time - $scope.current_time + 15*60)*1000;如果(超时 >= 2147483647)超时 = 2147483647; $timeout(function (){ $scope.destroy(); if($scope.pusher){ $scope.pusher.disconnect(); $scope.show_pusher_warning_alert = false; } }, 超时); } // 如果拍卖结束则销毁一切 if($scope.item.end_time <= $scope.current_time){ $scope.destroy();如果($scope.pusher){ $scope.pusher.disconnect(); $scope.show_pusher_warning_alert = false; } } $scope.refreshPage = function (){ location.reload(); }; // Item 初始化和更新函数 $scope.update_item = function(item, ignorePusher){ if(typeof(ignorePusher) === 'undefined'){ ignorePusher = false; } item.end_time = parseInt(item.end_time, 10); item.start_time = parseInt(item.start_time, 10); item.quantity = parseInt(item.quantity, 10); item.high_bidder = parseInt(item.high_bidder, 10); item.buy_now = parseFloat(item.buy_now); item.current_bid = parseFloat(item.current_bid); item.minimum_bid = parseFloat(item.minimum_bid); // 物品框高亮代码 if(!angular.isDefined(item.highlight)){ item.highlight = ''; } item.url = $filter('slugify')(item.title, item.auction_id, item.id);如果($scope.disable_bid_history && $scope.item.start_time > 0 && $scope.item.start_time <= $scope.current_time && $scope.item.end_time <= $scope.current_time && (angular.isDefined($scope. auction.hide_bidhistory_after_sale) && parseInt($scope.auction.hide_bidhistory_after_sale))){ $scope.show_bid_history = false; } item.time_not_set = false; if(item.end_time <= 0 || item.start_time <= 0){ item.time_not_set = true; $scope.item.buy_now_display = 'Buy Now' + ' ' + $filter('currency')(item.buy_now, '$', decimals) + (item.quantity > 1 ? 'x ' + item.quantity : ''); minbid_quantity = toCurrency(item.minimum_bid, decimals, '$') + (item.quantity > 1 ? (' x ' + item.quantity) : ''); proxy_quantity = toCurrency(item.proxy_bid ? item.proxy_bid : '0', decimals, '$') + (item.quantity > 1 ? (' x ' + item.quantity) : ''); current_bid_quantity = toCurrency(item.current_bid ? item.current_bid : '0', decimals, '$') + (item.quantity > 1 ? (' x ' + item.quantity) : ''); item.proxy_title = " 您可以随时通过输入高于当前最高出价的出价来输入新的最高出价。
A maximum bid will make it harder for others to outbid you.

The maximum bid is the highest amount you are willing to pay for an auction item.

In response to other bids, the auction system will automatically increase your bid by the smallest possible increment (maximum bid amount) to maintain your lead.

To get the highest bid, simply enter the maximum amount you are willing to pay in the bid form as you would any other bid. If your bid is more than one bid increment above the current maximum bid, you will receive a maximum bid, unless another bidder's maximum bid is higher than the amount you entered.

At the end of the auction, the winner pays only the lowest possible bid. This means you can win the auction item for less than the highest bid.

The amount of your highest bid will remain a secret from other bidders.

You can lower or remove your maximum bid by entering a lower amount.

". lang.adjust_proxy_btn; item.bid_button_title = lang.can_adjust_proxy; item.proxy_title = "

You now have a maximum bid.

You can increase or decrease your maximum bid at any time by entering a new amount.

If you wish to remove your maximum bid, you can do so by entering an amount equal to your current bid in the bid form.

"; } else{ item.bid_button_value = lang.add_proxy_btn; item.bid_button_title = lang.can_add_proxy; } } else{ item.bid_button_value = lang.place_bid_btn; item.bid_button_butn = lang. %s' , 'g'), ''+minbid_quantity); } item.reserve_price_display = ((item.reserve_option != 'none') ? ((!item.reserve_met) ? ((item.reserve_option == 'standard') ? '有一个底价nohe was satisfied. : 'Pending approval' ): ((item.reserve_option == 'standard') ? 'Reserve priceI have被满足了。 : '卖给高出价者' ) ): ''); item.status = ''; item.status_text = ''; item.bid_status_text = '';如果(has_bids_in_item > 0 && item.high_bidder === $scope.current_user){ item.status = 'κερδίζει'; item.bid_status_text = lang.winning_status; } else if(has_bids_in_item > 0){ item.status = 'χάνοντας'; item.bid_status_text = lang.losing_status; } if((item.start_time > 0 && item.start_time <= $scope.current_time && item.end_time <= $scope.current_time && $scope.show_bid_history) || (item.first_to_reserve == 1 && item.has_reser .reserve_met)){ item.status_text = 'he is tenderclosure.'; if($scope.show_bid_history && ($scope.is_admin || ! ($scope.enable_blind_bidding && $scope.auction.blind_bidding == 1))){ item.status_text += 'High bid:" + current_offer_amount + "'; } } else if(item.start_time > 0 && item.start_time > $scope.current_time){ item.status_text = 'Bidding for this project will open on Thursday, May 25, 2023 at 09:48:00 AM. ET.'; if(item.quantity > 1){ item.status_text += 'This is a per unit bid, so the total amount charged will be the maximum bid x 1.'; } } else if(item.start_time === 0 || item.end_time === 0){ item.status_text = 'Date of announcement'; } if(typeof(origin) !== 'undefined' && typeof(destination) !== 'undefined'){ $('.dvprogress').show(); setTimeout(function(){ if(typeof(google) !='undefined'){ var service = new google.maps.DistanceMatrixService; service.getDistanceMatrix({ origins: [origin], προορισμοί: [destination], travelMode: google . maps.TravelMode.DRIVING, unitSystem: google.maps.UnitSystem.IMPERIAL, avoidHighways: false, avoid Tolls: false }, function(response, status){ $scope.user_item_distance = '不可用。'; if(= .maps.DistanceMatrixStatus.OK){ var originList = answer.originAddresses; for(var i = 0; i < originList.length; i++){ var results = answer.rows[i].elements; if(results[0] . status !== 'NOT_FOUND' && results[0].status !== 'ZERO_RESULTS'){ for(var j = 0; j < results.length; j++){ if(item.end_time > $scope.current_time) { $scope.user_item_distance = '距您的注册地址大约 {distance} 英里'.replace('{distance}', results[j].distance.text.replace(' mi', '')); } other{ $ scope.$apply(function (){ $scope.user_item_distance = '距您的注册地址大约 {distance} 英里'.replace('{distance}', results[j].distance.text',replace(' '')); }); } } } } }); } }, 500); } // 项目更多信息工具提示逻辑 item.auction_item_location = '';地址匹配=假; if($scope.auction.auction_group_type !$1=auction! 2 && $scope.auction .auction_group_type !== 13){ if(item.mapping_city === $scope.auction.city && item.mapping_address === $scope.auction.address && item.mapping_zip === $scope.auction.zip){ address_match = true; } if(!address_match && item.mapping_city && item.state_abbreviation){ διεύθυνση = ''; var display_address = ''; if(item.mapping_address){ 地址 += item.mapping_address + ', '; } διεύθυνση += item.mapping_city + ', ' + item.state_abbreviation; if(item.mapping_zip){ 地址 += ' ' + item.mapping_zip; } if(show_county_info){ if(item.mapping_address){ display_address += item.mapping_address + ', '; } if(typeof(item.mapping_county) !== 'undefined' && item.mapping_county !== ''){ display_address += item.mapping_city + ', ' + item.mapping_county + '县' +', ' + item .state_abbreviation; } else{ display_address += item.mapping_city + ', ' + item.state_abbreviation; } if(item.mapping_zip){ display_address += ' ' + item.mapping_zip; } } var allowAddressCoordinates = false; item.auction_item_location = ''+ ((show_county_info) ? display_address : 地址) +''; } } // 订阅 item 到 κανάλι στοιχείου API pusher = $scope.pusher.subscribe(domain_name + '-item-' + item.id); } // 绑定 item 到 κανάλι στοιχείου API pusher 回调函数channel.bind('bid', function (data){ $scope.$apply(function (){ if(! angular.isDefined(data.item.result)) {data.item.result = {}; } 数据。 item.result.current_user_winner = parseInt(data.item.high_bidder, 10) === $scope.current_user; if(data.item.result.current_user_winner){ item. highlight = 'highlightg'; $timeout(function (){ item.highlight = ''; }, 3000); } else{ item.highlight = 'highlightr'; $timeout(function (){ item.highlight = ''; }, 3000); } item = jQuery.extend(true , item, data.item); if(!data.item.result.current_user_winner){ item.proxy_bid = 0; } $('#bid-history a.refresh ').show(); $('#item- info .flash_error, #item-info .flash_msg').remove(); $scope.update_item(item, true); }); var newText = $('# tbl-details label.tipped').attr('标题'); if(typeof (newText) !== 'undefined'){ var trigger = $('#tbl-details label.tipped'); trigger.removeData( 'tooltip').unbind();trigger.attr("标题", newText);trigger.tooltip(tip_conf).dynamic(); } }); item.channel.bind('pusher:subscription_succeeded', function(data){ $scope.getPusherAJAX(); }); } }; $scope.watchItemsClosing = συνάρτηση (){ if(!angular.isDefined($scope.watch_interval)){ $scope.watch_interval = $interval(συνάρτηση (){ if(!angular.isDefined($scope.item.closed)) { $scope.item.rtime = $scope.item.end_time - $scope.current_time; if($scope.item.rtime <= 10){ $scope.getPusherAJAX(); } } }, 5000); } }; $scope.getPusherAJAX = function(){ var path = '/aucbeat/pusher/' + $scope.auction.id + '-' + $scope.item.id + '.json'; $.get(διαδρομή, συνάρτηση (δεδομένα){ if(angular.isDefined(data.item)){ data.item.current_bid = parseFloat(data.item.current_bid); $scope.item.current_bid = parseFloat($scope. item.current_bid); if(data.item.current_bid > $scope.item.current_bid){ $scope.$apply(function (){ if(! angular.isDefined(data.item.result)){ data.item.结果 = {}; } data.item.result.current_user_winner = parseInt(data.item.high_bidder, 10) === $scope.current_user; if(data.item.result.current_user_winner){ $scope.item.highlight = 'highlightg'; $timeout(function (){ $scope.item.highlight = ''; }, 3000); } else{ $scope.item.highlight = 'highlightr'; $timeout(function (){ $scope. item.highlight = ''; }, 3000); } $scope.item = jQuery.extend(true, $scope.item, data.item); $('#bid-history a.refresh').show() ; $('#item-info .flash_error, #item-info .flash_msg').remove(); $scope.update_item($scope.item, true); }); var newText = $('#tbl-details label.tipped').attr('title'); if(typeof (newText) !== 'undefined'){ var trigger = $('#tbl-details label.tipped'); trigger.removeData('tooltip').unbind(); trigger.attr("标题", newText); trigger.tooltip(tip_conf).dynamic(); } }else if($scope.item.rtime <-5){ $scope.item.closed = true;如果($scope.disable_bid_history && (angular.isDefined($scope.auction.hide_bidhistory_after_sale) && parseInt($scope. auction.hide_bidhistory_after_sale))){ $scope.show_bid_history = ψευδής; } } } else if($scope.item.rtime < -5){ $scope.item.closed = true;如果($scope.disable_bid_history && (angular.isDefined($scope.auction.hide_bidhistory_after_sale) && parseInt($scope .auction.hide_bidhistory_after_sale))){ $scope.show_bid_history = false; } }); }; // 初始化项目数据 $scope.initData(); var destroyPusher = συνάρτηση (){ $scope.destroy();如果($scope.pusher){ $scope.pusher.disconnect(); $scope.show_pusher_warning_alert = false; } };如果(window.addEventListener){ window.addEventListener("preunload",destroyPusher); } else{ window.attachEvent("beforeunload", καταστροφήPusher); } angular.element(document).ready(function(){ initTips(); setupInfoDiv(); setTimeout(initImgFlipper, 200); }); $('#item-wrapper').show();清除超时(jswarntimeout); $('#jsfmsg').hide();}]);var currencySymbol = '$';var iflipslide_speed = 800;var iflipanim_type = 'swing';var iflip_width = 0;var iflip_height = 0;var setImgHeight = 函数(img, iheight){ var targetH = 0; if(img.data('ratio') < 1){ targetH = iheight; var margins = ((iflip_width - (iheight*img.data('ratio')))/2)+'px'; img.css({left:margins, right:margins}); } else targetH = iflip_width/img.data('ratio');变量 itop = 0; if(targetH < iheight){ itop = (iheight - targetH)/2; } img.css({'width': 'auto', 'max-width' : '100%', 'height': (targetH > iheight ? iheight : targetH)+'px', 'top': itop+'px '});};var imgFlip = συνάρτηση(imgs, αριστερά){ timg = $('div#item-image div img.a'); var pa = timg.parent(); pa.find('img').stop(true, true); var cimg = pa.find('img.a'); var nimg = cimg;变量 inx = 1;如果(左){ inx = ((cimg.data('inx') === 0) ? imgs.length : cimg.data('inx')) - 1; cimg.after('Accessories and Devices (1)'); nimg = cimg.next('img').data('inx', inx).data('ratio', imgs[inx].ratio); cimg.css({position:'absolute', zIndex:5, right: '-2px'}).css('left', ''); setImgHeight(nimg, iflip_height); nimg.css({width:'0px', position:'absolute', left:'3px', zIndex:10}).css('right', '').addClass('a'); preimg = 新图像(); preimg.src = imgs[((inx === 0) ? imgs.length : inx) - 1].url; cimg.animate({width:'0px', right:'-2px'}, iflipslide_speed, iflipanim_type); var targetW = ((nimg.outerHeight() >= iflip_height) ? (iflip_height*nimg.data('ratio')) : iflip_width); var targetL = (iflip_width - targetW)/2; nimg.animate({width:targetW+'px',left:(targetL+3)+'px',right:targetL+'px'}, iflipslide_speed, iflipanim_type, function(){cimg.remove();}); } else{ inx = (cimg.data('inx') + 1) % imgs.length; cimg.before('Accessories and Devices (2)'); nimg = cimg.prev('img').data('inx', inx).data('ratio', imgs[inx].ratio); cimg.css({position:'absolute', zIndex:5, left: '3px'}); setImgHeight(nimg, iflip_height); nimg.css({width:'0px', position:'absolute', right:'-2px', zIndex:10}).css('left', '').addClass('a'); preimg = 新图像(); preimg.src = imgs[(inx + 1) % imgs.length].url; cimg.animate({width:'0px', αριστερά: '3px'}, iflipslide_speed, iflipanim_type); var targetW = ((nimg.outerHeight() >= iflip_height) ? (iflip_height*nimg.data('ratio')) : iflip_width); var targetL = (iflip_width - targetW)/2; nimg.animate({width:targetW+'px', αριστερά:(targetL+3), δεξιά:(targetL)+'px'}, iflipslide_speed, iflipanim_type, function(){cimg.remove();}); } return false;};var setItemImageCHeight = function(){ var img_container = $('div#item-image div'); iflip_width = img_container.outerWidth(true) - 6; iflip_height = iflip_width*3/4; img_container.height(iflip_height); timg = img_container.find('img'); timg.attr('src', timg.data('ssrc')); img_container.show(); setImgHeight(img_container.find('img'), iflip_height); img_container.parent().find('span').css({height:(iflip_height+6)+'px','line-height':(iflip_height+6)+'px'});};var initImgFlipper = function(){ setItemImageCHeight(); $(window).resize(setItemImageCHeight); var imgs = []; $('#images,#details-images').find('a').each(function(){ var src = $(this); imgs.push({url:src.attr('href'),比率:src.data('比率')}); }); var timg = $('div#item-image div img.a'); timg.data('加载', 1); timg.data('inx', 0); var pdv = timg.parent().parent(); if(imgs.length > 1){ var iflip_height = pdv.find('div')[0].clientHeight-2; setImgHeight(timg, iflip_height); preimg = 新图像(); preimg.src = imgs[1].url; pdf.append(''); pdv.find('span').css({height:(iflip_height+6)+'px','line-height':(iflip_height+6)+'px'}).click(函数(ev){ ev .stopPropagation(); imgFlip(imgs, $(this).is('.left')); 返回 false; }); }};

References

Top Articles
Latest Posts
Article information

Author: Duane Harber

Last Updated: 11/07/2023

Views: 5849

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Duane Harber

Birthday: 1999-10-17

Address: Apt. 404 9899 Magnolia Roads, Port Royceville, ID 78186

Phone: +186911129794335

Job: Human Hospitality Planner

Hobby: Listening to music, Orienteering, Knapping, Dance, Mountain biking, Fishing, Pottery

Introduction: My name is Duane Harber, I am a modern, clever, handsome, fair, agreeable, inexpensive, beautiful person who loves writing and wants to share my knowledge and understanding with you.