• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

rstaib/jquery-steps: A powerful jQuery wizard plugin that supports accessibility ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

rstaib/jquery-steps

开源软件地址:

https://github.com/rstaib/jquery-steps

开源编程语言:

JavaScript 91.9%

开源软件介绍:

jQuery Steps Plugin Build Status Bower version NuGet version

A powerful jQuery wizard plugin that supports accessibility and HTML5.

Getting Started

jQuery Steps is a lightweight wizard UI component written for jQuery.

Everything you need to start is:

  1. Include jQuery and jQuery Steps in your HTML code.
  2. Then select an element represents the wizard and call the steps method.
<!DOCTYPE html>
<html>
    <head>
        <title>Demo</title>
        <meta charset="utf-8">
        <script src="jquery.js"></script> 
        <script src="jquery.steps.js"></script>
        <link href="jquery.steps.css" rel="stylesheet">
    </head>
    <body>
        <script>
            $("#wizard").steps();
        </script>
        <div id="wizard"></div>
    </body>
</html>

For more information check the documentation.

How to add initial steps?

There are two ways to add steps and their corresponding content.

  1. Add HTML code into the representing wizard element.
<div id="wizard">
    <h1>First Step</h1>
    <div>First Content</div>

    <h1>Second Step</h1>
    <div>Second Content</div>
</div>
  1. Or use the API to add steps dynamically.
// Initialize wizard
var wizard = $("#wizard").steps();

// Add step
wizard.steps("add", {
    title: "HTML code", 
    content: "<strong>HTML code</strong>"
});

For more samples check the demos.

Reporting an Issue

Instructions will follow soon!

Asking questions

I'm always happy to help answer your questions. The best way to get quick answers is to go to stackoverflow.com and tag your questions always with jquery-steps.

Contributing

Instructions will follow soon!

License

Copyright (c) 2013 Rafael J. Staib Licensed under the MIT license.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
kylefox/jquery-modal: The simplest possible modal for jQuery发布时间:2022-07-07
下一篇:
vakata/jstree: jquery tree plugin发布时间:2022-07-07
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap