We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75e15fb commit c0a9915Copy full SHA for c0a9915
staffprofile.html
@@ -161,6 +161,13 @@ <h2>kRxZykRxZy</h2>
161
<h3>Role: </h3>
162
<br>
163
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
171
</div>
172
173
<script>
@@ -201,6 +208,10 @@ <h3>Role: </h3>
201
208
else if (dynamicContent == 'staff3') {
202
209
$('#staff3').show();
203
210
}
211
+ // Check if the URL parameter is another staff member
212
+ else if (dynamicContent == 'staff4') {
213
+ $('#staff4').show();
214
+ }
204
215
// Check if the URL parmeter is empty or not defined, display default content
205
216
else {
206
217
$('#default-content').show();
0 commit comments