JQuery ystep plugin implements multiple steps and steps

Source: Internet
Author: User

Today's little dish brings you another powerful Jquery plug-in: ystep.

It can be seen from the name that this is a process step plug-in.

If there is no accident, this may be the last work of the little dish recently... The hard-pressed side dishes are about to start a business, and there may be no time to get involved ~ Okay, let's talk nonsense ~

Introduction
  

Ystep is a jQuery process and step plug-in. In website design, step instructions are often used. It takes several steps to do a specific task. Which step is the current step? This is very helpful for users and not only makes their thinking clearer, it can also give users an invisible incentive.

Ystep is born because there are no classic and easy-to-use plug-ins.
 

Features
 
The design is concise and easy to use.

Small size for easy integration.

Secure and reliable code.

Customization without restrictions.

Strong compatibility. The Webkit (Google) and Gecko (Firefox) kernel series are fully compatible. In addition to the best IE6 series, the IE series are fully compatible.

Effects and code

 

Source code

The code is as follows: Copy code

<! DOCTYPE html>
<Html>
<Head>

<Link rel = "stylesheet" href = "css/ystep.css">
</Head>
<Body>
 
<Br>
<! -- Ystep container -->
<Div class = "ystep1"> </div>
 
<Br>
 
<Div class = "ystep2"> </div>
 
<Br>
 
<Div class = "ystep3"> </div>
 
<Br>
 
<Div class = "ystep4"> </div>
 
<! -- Introduce jquery -->
<Script src = "js/jquery. min. js"> </script>
<! -- Introduce the ystep plug-in -->
<Script src = "js/ystep. js"> </script>
<Script>
// Find the container that needs to load ystep based on the jQuery selector
// The loadStep method can initialize ystep.
$ (". Ystep1"). loadStep ({
// Ystep appearance size
// Optional values: small and large
Size: "small ",
// Ystep color scheme
// Optional values: green and blue
Color: "green ",
// Steps in ystep
Steps :[{
// Step name
Title: "initiate ",
// Step content (this content will be displayed when you move the cursor to this step node)
Content: "Real-name users/public welfare organizations initiate projects"
},{
Title: "review ",
Content: "review project by Le donation platform staff"
},{
Title: "Raising funds ",
Content: "The donation project is launched to receive public donations"
},{
Title: "execution ",
Content: "The project performer carries out rescue operations offline"
},{
Title: "completion ",
Content: "Project performer's report on the use of donations"
}]
});

$ (". Ystep2"). loadStep ({
Size: "large ",
Color: "green ",
Steps :[{
Title: "initiate ",
Content: "Real-name users/public welfare organizations initiate projects"
},{
Title: "review ",
Content: "review project by Le donation platform staff"
},{
Title: "Raising funds ",
Content: "The donation project is launched to receive public donations"
},{
Title: "execution ",
Content: "The project performer carries out rescue operations offline"
},{
Title: "completion ",
Content: "Project performer's report on the use of donations"
}]
});
   
$ (". Ystep3"). loadStep ({
Size: "small ",
Color: "blue ",
Steps :[{
Title: "initiate ",
Content: "Real-name users/public welfare organizations initiate projects"
},{
Title: "review ",
Content: "review project by Le donation platform staff"
},{
Title: "Raising funds ",
Content: "The donation project is launched to receive public donations"
},{
Title: "execution ",
Content: "The project performer carries out rescue operations offline"
},{
Title: "completion ",
Content: "Project performer's report on the use of donations"
}]
});
   
$ (". Ystep4"). loadStep ({
Size: "large ",
Color: "blue ",
Steps :[{
Title: "initiate ",
Content: "Real-name users/public welfare organizations initiate projects"
},{
Title: "review ",
Content: "review project by Le donation platform staff"
},{
Title: "Raising funds ",
Content: "The donation project is launched to receive public donations"
},{
Title: "execution ",
Content: "The project performer carries out rescue operations offline"
},{
Title: "completion ",
Content: "Project performer's report on the use of donations"
}]
});
   
$ (". Ystep1"). setStep (2 );
$ (". Ystep2"). setStep (5 );
$ (". Ystep3"). setStep (3 );
   
</Script>
</Body>
</Html>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.