"AddUser-wizard"
Bootstrap 3.2.0 Snippet by haoHu

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="modal fade account-modal in" id="step1" data-backdrop="true" aria-hidden="false" style="display:block;">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title"></h4>
</div>
<div class="modal-body">
<h3></h3>
<form class="form-horizontal form-feedback-out " role="form" >
<div class="form-group has-feedback">
<label form="" class=" col-sm-3 control-label"></label>
<div class="col-sm-5">
<input type="text" class="form-control" placeholder="" data-type="text" />
</div>
</div>
<div class="form-group has-feedback">
<label form="" class=" col-sm-3 control-label"></label>
<div class="col-sm-5">
<input type="text" class="form-control" placeholder="" data-type="text" />
</div>
</div>
<div class="form-group has-feedback">
<label form="" class="col-sm-3 control-label"></label>
<div class="col-sm-5">
<input type="text" class="form-control" placeholder="" data-type="text" />
</div>
</div>
<div class="form-group has-feedback">
<label form="" class=" col-sm-3 control-label"></label>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
.chosen-item {display:inline-block; margin-right:1rem;}
.shop-list li {display:inline-block; margin-right : 1rem;}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
$('.account-modal').hide();
$('.account-modal[id=step1]').show();
$('.btn.btn-act').on('click', function (e) {
var $this = $(this),
act = $this.attr('name');
var $modal = $this.parents('.account-modal');
$('.account-modal').hide();
if ($modal.attr('id') == 'step1' && act == "next") {
$('.account-modal[id=step2]').show();
}
if ($modal.attr('id') == 'step2' && act == "next") {
$('.account-modal[id=step3]').show();
}
if ($modal.attr('id') == 'step2' && act == "prev") {
$('.account-modal[id=step1]').show();
}
if ($modal.attr('id') == 'step3' && act == "prev") {
$('.account-modal[id=step2]').show();
}
if (act == 'save') {
alert("");
}
});
$('.btn.btn-act1').on('click', function (e) {
var $this = $(this), act = $this.attr('name');
var $modal = $this.parents('.bind-modal');
$modal.hide();
});
$('.btn-bind').on('click', function (e) {
var $this = $(this),
role = $this.attr('role');
console.info(role);
// $this.popover({
// animation : true,
// content : 'adfafasfasfaf'
// });
if (role == "shop") {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: