jQuery Responsive Horizontal and Vertical Step Wizard Plugin setStep.js

Add-ons
2026-07-26 00:52 4 次浏览 • 0 次下载 6.1KB
jQuery Responsive Horizontal and Vertical Step Wizard Plugin setStep.js

Usage

Include the jQuery library, setstep.js, and the stylesheet.

1
2
3
<link rel="stylesheet" href="css/ystep.css">
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src=js/setStep.js></script>

DOM structure:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- Menu and pagination container -->
<div class="stepCont stepCont1">
<!-- Menu navigation display -->
<div class='ystep-container ystep-lg ystep-blue'></div>
<!-- Pagination container -->
<div class="pageCont">
<div id="page1" class="stepPage">
<h1> page1 </h1>
</div>
<div id="page2" class="stepPage">
<h1> page2 </h1>
</div>
<div id="page3" class="stepPage">
<h1> page3 </h1>
</div>
<div id="page4" class="stepPage">
<h1> page4 </h1>
</div>
<div id="page5" class="stepPage">
<h1> page5 </h1>
</div>
</div>
</div>

Initialization example:

You can change the button display and whether the progress bar can be clicked directly to control the step by setting clickAble:false and showBtn:false.

1
2
3
4
5
6
7
8
9
var step1 = new SetStep({
content: '.stepCont1',
showBtn: false,
}) var step2 = new SetStep({
content: '.stepCont2',
clickAble: false
}) var step3 = new SetStep({
content: '.stepCont3'
})
星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare