-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaboutus.html
More file actions
104 lines (79 loc) · 3 KB
/
aboutus.html
File metadata and controls
104 lines (79 loc) · 3 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html>
<head>
<title> About Us </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<header class="topHeader">
<div class="topnav">
<a href="index.html">Home</a>
<a href="aboutus.html">Meet the Members</a>
<a href="contactus.html ">More information </a>
<a href="https://www.rebootkamp.net/">About RBK</a>
</div>
<div class="topnavright">
<a href="#" ><img id="logo" src="logo.png " alt="logo"></a>
</div>
</header>
<body>
<div class="container " >
<div id="tabs-container">
<div id="tabs-nav">
<ul>
<li><a href="#" data-id="rayen" class="active">President</a></li>
<li><a href="#" data-id="chaima">Membre</a></li>
<li><a href="#" data-id="kamel">syndicate</a></li>
<li><a href="#" data-id="ahmed">financial</a></li>
</ul>
</div>
<div id="tabs-content">
<div class="profile" id="rayen" style="display:block;">
<div class="caption">
<h2>Rayen Raffa</h2>
<p> HIR in RBK </p>
</div>
<img src="rayen.jpg" style="width: 500px; height: 500px;" ; />
</div>
<div class="profile" id="chaima">
<div class="caption">
<h2>Thabet Chaima</h2>
<p>Student in RBk </p>
</div>
<img src="chaima.jpg" style="width: 500px; height: 500px;" />
</div>
<div class="profile" id="kamel">
<div class="caption">
<h2> Kamel Rach</h2>
<p>student in RBK </p>
</div>
<img src="kamel.jpg" style="width: 500px; height:500px; " />
</div>
<div class="profile" id="ahmed">
<div class="caption">
<h2>Ahmed Kortas </h2>
<p> student in RBK</p>
</div>
<img src="ahmed.jpg" style="width: 500px; height: 500px;" />
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.0.js"></script>
<script> $(document).ready(function() {
$('#tabs-nav ul li a').click(function(e) {
// remove the active state
$('#tabs-nav ul li a').removeClass("active");
// add the active state to the clicked link
$(this).addClass("active");
// fade out the current container
$('.profile').fadeOut(500, function() {
// fade in the clicked container
$('#' + profileID).fadeIn(500);
});
// define our current profile variable
var profileID = $(this).attr("data-id");
});
});
</script>
</body>
</html>