小编Mor*_*ita的帖子

列表“icons”中的每个字典应包含一个非空 UTF8 字符串字段“type”

在分析我的 Shopify 网站上产品的 html 是否有错误时,我发现这个奇怪的错误重复了 6 次:““图标”列表中的每个字典都应包含一个非空的 UTF8 字符串字段“类型”。”

页面链接:https://www.fermento24.com/collections/vini-in-offerta-questo-mese/products/terra-di-lavoro-igp-2017-galard ?variant=32793469780039

我试图找出这个问题的根源,但谷歌并没有真正清楚地解决这个问题的根源,因为它把我带到了网站的第一个字符串“<!doctype html>”

任何人都可以帮我解决这个问题吗?

编辑:此处截图:i.imgur.com/y2gjnIr.png

要查看错误,如 JosefZ 所述:转到该站点,右键单击 => Inspect(或 Ctrl+Shift+I)。

html icons utf-8 shopify

6
推荐指数
1
解决办法
7693
查看次数

使用 jQuery 一次又一次地更改文本?

这个网站上已经有一些答案,但无法弄清楚我需要什么。

使用此处给出的公认答案:How can I change text after time using jQuery?

但是,与其发出警报,我想让它重新加载到第一条消息(为清楚起见添加完整代码:

function nextMsg() {
    if (messages.length == 0) {
        // once there is no more message, I don't know how to start the script over (loop it)
    } else {
        $('#message').html(messages.pop()).fadeIn(500).delay(1000).fadeOut(500, nextMsg);
    }
};

var messages = [
    "Hello!",
    "This is a website!",
    "You are now going to be redirected.",
    "Are you ready?",
    "You're now being redirected..."
].reverse();

$('#message').hide();
nextMsg();
Run Code Online (Sandbox Code Playgroud)
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
</head>
<body>
<h1>Hello world!</h1> …
Run Code Online (Sandbox Code Playgroud)

html javascript css jquery

5
推荐指数
1
解决办法
117
查看次数

标签 统计

html ×2

css ×1

icons ×1

javascript ×1

jquery ×1

shopify ×1

utf-8 ×1