gpt4 book ai didi

javascript - 图像 slider 在 eBay 中未正确显示

转载 作者:行者123 更新时间:2023-11-28 14:27:57 26 4
gpt4 key购买 nike

对于:http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=160653524585&ssPageName=STRK:MESE:IT#ht_520wt_1398

单击缩略图时,新图像将显示在下方 10-20 像素处。它在私有(private)主机上工作正常,但在 eBay 上有这个问题。非常感谢任何修复或帮助。谢谢

最佳答案

您需要展示您的代码。所有缩略图图像都丢失了。

控制台给出 404 错误...

Failed to load resource: the server responded with a status of 404 (Not Found) adventures_thumb.jpg

Failed to load resource: the server responded with a status of 404 (Not Found) stephens_thumb.jpg

Failed to load resource: the server responded with a status of 404 (Not Found) residential_thumb.jpg

Failed to load resource: the server responded with a status of 404 (Not Found) autism_thumb.jpg

Failed to load resource: the server responded with a status of 404 (Not Found) spiritual_thumb.jpg

您还会收到一堆类似的错误。看起来您在脚本中使用了相对路径,因此它在 eBay 上的目录中寻找这些东西。我假设您自己托管这些组件,因此您需要使用完整的绝对路径,包括 everything 上的 http://yourServer.com/yourPath/,您引用的所有内容 Assets 。

(作为旁注,AFAIK,我认为 eBay 不允许在其拍卖列表中使用任何脚本。)


编辑:

自发布我的答案后,链接到 the auction listing referenced in the question已经变了。这是now a whole different thing 、不同的内容、不同的代码等等,使我上面的评论过时了。

致 OP:这是一个非常糟糕的做法,不仅这个问题和答案现在对 future 的读者毫无用处,而且你完全浪费了我的时间。

似乎在我输入原始答案时编辑了 OP,因此,没有原始问题的历史记录。 This is the auction as presented when I first answered .


编辑 2:

根据 eBay's HTML & JavaScript policy

You can’t use HTML or JavaScript that: Calls remote scripts and pages automatically, such as JavaScript "includes" or "iframes."

关于javascript - 图像 slider 在 eBay 中未正确显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7704116/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com