-
Notifications
You must be signed in to change notification settings - Fork 0
/
switcher.html
38 lines (33 loc) · 1.01 KB
/
switcher.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
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="css/j-components.min.css">
<title>Helper Switcher Component Sample</title>
</head>
<body>
<div class="container">
<div class="row mb32 switch-contents-xs switch-contents-sm">
<div class="col-sm-6 switch1">
first col
</div>
<div class="col-sm-6 switch2">
second col
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="js/helpers.js"></script>
<script>
$(function(){
});
function test_in(e){
e.find('.content').fadeIn(200);
}
function test_out(e){
e.find('.content').fadeOut(200);
}
</script>
</body>
</html>