Skip to content

Commit c0a9915

Browse files
authored
Update staffprofile.html
1 parent 75e15fb commit c0a9915

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

staffprofile.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,13 @@ <h2>kRxZykRxZy</h2>
161161
<h3>Role: </h3>
162162
<br>
163163
DESCRIPTION HERE
164+
</div>
165+
<!-- Dynamic Section 4 -->
166+
<div id="staff4" class="dynamic-content">
167+
<h2>Another staff member</h2>
168+
<h3>Role: </h3>
169+
<br>
170+
DESCRIPTION HERE
164171
</div>
165172

166173
<script>
@@ -201,6 +208,10 @@ <h3>Role: </h3>
201208
else if (dynamicContent == 'staff3') {
202209
$('#staff3').show();
203210
}
211+
// Check if the URL parameter is another staff member
212+
else if (dynamicContent == 'staff4') {
213+
$('#staff4').show();
214+
}
204215
// Check if the URL parmeter is empty or not defined, display default content
205216
else {
206217
$('#default-content').show();

0 commit comments

Comments
 (0)