-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtestes.html
83 lines (73 loc) · 2.19 KB
/
testes.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html>
<head>
<title>Testes</title>
<link rel="stylesheet" type="text/css" href="css/shepherd-theme-default.css">
<style type="text/css">
* {
margin: 0px;
padding: 0px;
font-family: "Brandon Grotesque", sans-serif;
}
body {
position: relative;
}
.sample {
float: left;
width: 300px;
height: 150px;
clear: both;
margin-bottom: 10px;
background: #01aaed;
}
</style>
</head>
<body>
<div class="sample teste-1">
Lorem ipsum dolor sit amet! 1
</div>
<div class="sample teste-2">
Lorem ipsum dolor sit amet! 2
</div>
<div class="sample teste-3">
Lorem ipsum dolor sit amet! 3
</div>
<div class="sample teste-4">
Lorem ipsum dolor sit amet! 4
</div>
<script src="https://unpkg.com/tippy.js@3/dist/tippy.all.min.js"></script>
<script type="text/javascript" src="js/shepherd.min.js"></script>
<script>
const tour = new Shepherd.Tour({
useModalOverlay: true,
defaultStepOptions: {
classes: 'shadow-md bg-purple-dark',
scrollTo: true
}
});
tour.addStep('teste-1', {
text: 'Teste (nv1)',
attachTo: '.teste-1 right',
classes: '',
buttons: [
{
text: 'Próximo',
action: tour.next
}
]
});
tour.addStep('teste-2', {
text: 'Teste (nv2)',
attachTo: '.teste-2 left',
classes: '',
buttons: [
{
text: 'Próximo',
action: tour.complete
}
]
});
tour.start();
</script>
</body>
</html>