-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemp2.html
More file actions
34 lines (34 loc) · 1.06 KB
/
temp2.html
File metadata and controls
34 lines (34 loc) · 1.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<div class="mobilemenu-custom-tabs">
<div class="tab-titles">
<button onclick="showTab('tab1')">Urnen</button>
<button onclick="showTab('tab2')">Tierurnen</button>
<button onclick="showTab('tab3')">Grabsteine</button>
</div>
<div class="tab-content">
<div id="tab1" class="tab-panel">[vc_tab_urnen_grid]</div>
<div id="tab2" class="tab-panel" style="display: none">
[vc_tab_tierurnen_grid]
</div>
<div id="tab3" class="tab-panel" style="display: none">
[vc_tab_grabsteine_grid]
</div>
</div>
</div>
<script>
function showTab(tabId) {
document
.querySelectorAll(".tab-panel")
.forEach((panel) => (panel.style.display = "none"));
document.getElementById(tabId).style.display = "block";
}
</script>
</body>
</html>