gpt4 book ai didi

jQuery 步骤无法正确呈现

转载 作者:行者123 更新时间:2023-12-03 22:50:18 26 4
gpt4 key购买 nike

HTML:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TEsT</title>
</head>
<body>
<div id="wizard">
<h1>First Step</h1>
<div>First Content</div>

<h1>Second Step</h1>
<div>Second Content</div>
</div>

<script src="jquery-1.11.0.min.js"></script>
<script src="jquery.steps.min.js"></script>
<script src="homepage.js"></script>
</body>
</html>

jQuery:

$(document).ready(function(){
$("#wizard").steps();
});

(不寻常的)演绎: jQuery Steps

最佳答案

您应该在插件中包含以下 css 文件:

https://github.com/rstaib/jquery-steps/blob/master/demo/css/jquery.steps.css

还有尝试将#wizard内的div标签更改为section标签

关于jQuery 步骤无法正确呈现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23395698/

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