jQuery步骤无法正确呈现

坎索尔

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步骤

Abhas tandon

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

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

另外尝试将div标签内#wizardsection标签更改为

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章