-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
78 lines (55 loc) · 1.48 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Example JQuery plugin development</title>
<meta name="description" content="JQuery plugin develpment setup">
<meta name="author" content="Rafal Woloszyn <[email protected]>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
div, a, customhtmltag {
display: block;
margin-top:5px;
margin-left: 50px;
}
</style>
</head>
<body>
<div id="firstExampleId">
Object ID text example.
</div>
<div id="secondExampleId">
Second Object ID text example.
</div>
<customhtmltag>
Custom html tag test.
</customhtmltag>
<div class="classExample">
Class example.
</div>
<div class="multipleClass">
Same class example text 1.
</div>
<div class="multipleClass">
Same class example text 2.
</div>
<div class="optionTestClass">
Changed link text example.
</div>
<script src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous"></script>
<script src="simplehide.js"></script>
<script>
$('#firstExampleId').simplehide();
$('#secondExampleId').simplehide();
$('customhtmltag').simplehide();
$('.classExample').simplehide();
$('.multipleClass').simplehide();
$('.optionTestClass').simplehide({
showLink: '<a href="#">Changed link...</a>'
});
</script>
</body>
</html>