Der Treffpunkt für Hilfe, Tricks & Tipps » XOBOR-Foren und Homepages » Das neue Template Xobor (v6) » TAB-Menü / TAB-Spoiler / Boxen für Texte und Bildern
Seite 2 von 3
#11 Übersichtliches TAB-Menü für Foren-Beiträge -Teil 4 von Wolfgang
20.10.2021 20:27

Übersichtliches TAB-Menü für Foren-Beiträge -Teil 4
Das folgende Skript auf GitHub.com gefunden, hat Creator schon im Support und hier im Forum vorgestellt.
Das Skript ist recht groß, hat aber seine Vorzüge!
Nachdem ich es im neuen Xobor (v6) und den anderen Templates ausprobiert und gesehen habe was es macht, wollte ich es hier nochmal hervorheben und genauer beschreiben!
Es ermöglicht auch den minimalen Aufbau des TAB-Menüs!
Durch hinzufügen der fehlenden Hintergrundfarben für TAB und Titelleiste, sieht es richtig gut aus!
Für die Templates (v2-4) sind Korrekturen notwendig, damit die TABs in allen Bereichen der Iconbar an der richtigen Position stehen und nicht zu hoch oder zu weit links stehen!
Im Standard-Template und Xobor (v6) sind so gut wie keine Änderungen erforderlich!
Die CSS ist nochmals minimiert, um auch farbliche Änderungen leichter durchzuführen!
Was kann das Skript:
- Minimierte und einfachste Gestaltung der Foren-Codes (BB-Codes)!
Abstände zwischen den Foren-Codes verändern in keinster Weise die Struktur des TAB-Menüs und verbessern somit die Übersicht! - Unbegrenzte Anzahl der TABs und Menüs auf einer Seite!
- Animation beim Wechseln der TABs auswählbar!
- Kann überall da eingesetzt werde, wo die Iconbar installiert ist!
- TAB 1 ist beim Start immer geöffnet!
- Funktioniert in allen Templates!
Installation: Zusammenfassung aller Templates





- Um sich einen Eindruck zu verschaffen, wie das TAB-Menü aufgebaut ist, hier das HTML-Script!
Das komplette Skript mit CSS und JavaScript kann zum Testen in die Fußzeile kopiert werden!
Soll das Skript außerhalb vom Forum getestet werden, wird "jQuery" benötigt.
Hierzu Zeile 70 freigeben! - Das komplexe JavaScript ermöglicht ein im Aufbau einfaches und übersichtliches TAB-Menü (Zeile 71-178)!
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<style>
.tabmenu_live .tabcontent {
padding:5px 5px 15px 5px;
color:#222222;
}
.tabcontent_top {
background: #4797df bottom left repeat-x;
margin:-5px -5px 15px -5px;
height: 15px;
}
.tabcontent_wrapper {
background: #ffffff;
border:2px solid #b4c9db;
box-shadow: 5px 5px 5px #aaaaaa;
margin:0 5px;
/* Gaia */
margin-right: 150px;
}
.tabmenu_ul {
margin:0 0 -3px 0 !important;
padding: 0 0 0 15px;
}
.tabmenu_ul li {
float:none;
display:inline;
margin:0 8px 0 0;
}
.tabmenu_ul li a, .tabmenu_ul li a:link {
background:#e5e5e5;
font-size:13px;
color:#000000 !important;
box-shadow: 1px 1px 1px #4797df, -1px 1px 1px #4797df, 1px -1px 1px #4797df, -1px -1px 1px #4797df;
border:1px solid #b4c9db;
padding:4px 9px;
text-decoration: none !important;
}
.tabmenu_ul li a:hover {
background: #238eeb;
color:#ffffff !important;
}
.tabmenu_ul li a.current {
background: #4797df;
color:#ffffff !important;
border-bottom: 1px solid #4797df;
}
h4 {
color: #ffffff !important;
}
</style>
<!-- Das Tab-Menü -->
<div class="tabmenu">
<div class="tab"><h4 class="tabtitle">TAB 1</h4><div class="tabcontent"><div class="tabcontent_top"></div>
Inhalt TAB 1
</div></div>
<div class="tab"><h4 class="tabtitle">TAB 2</h4><div class="tabcontent"><div class="tabcontent_top"></div>
Inhalt TAB 2
</div></div>
<div class="tab"><h4 class="tabtitle">TAB 3</h4><div class="tabcontent"><div class="tabcontent_top"></div>
Inhalt TAB 3
</div></div>
</div>
<!-- <script type="text/javascript" src="https://img.homepagemodules.de/ds/static/jquery/min/jquery-1.7.1.min.js"></script> -->
<script>
/*
* tabmenu Tabbed Menu Script
* version 1.0.2
* info @ http://zenverse.net/tabmenu-tabbed-menu/
* by Zen @ http://zenverse.net/
* License : GPL
* Free for any purpose
*/
/* Animation für Tab Menü (fade, slide oder none) */
var tabmenu_animation_style = 'slide';
/* Animationsgeschwindigkeit für Tab Menü (fast, normal, slow oder in Millisekunden) - Nur für fade und slide
/* Beim Eintrag in Millisekunden, ohne Häkchen */
var tabmenu_animation_speed = 'slow';
(function($tabmenu) {
$tabmenu(document).ready(function() {
var nth_tabmenu = 0;
var tabmenu_firsttab = [];
if (!tabmenu_animation_speed) { tabmenu_animation_speed = 'fast'; }
$tabmenu('.tabmenu').each( function() {
var gettabtitle = [],gettabcontent = [];
tabmenu_firsttab[nth_tabmenu] = 0;
var loop = 0;
$tabmenu(this).find('.tab').each( function () {
if ($tabmenu(this).hasClass('firsttab')) { tabmenu_firsttab[nth_tabmenu] = loop; }
loop++;
});
$tabmenu(this).find('.tab').find('.tabtitle').each( function () {
gettabtitle.push($tabmenu(this).html());
});
$tabmenu(this).find('.tab').find('.tabcontent').each( function () {
gettabcontent.push($tabmenu(this).html());
});
if (gettabtitle.length > 0) {
var htmlcodes = '<ul class="tabmenu_ul">';
for (var i=0;i<gettabtitle.length;i++) {
htmlcodes += '<li><a href="javascript:void(null)" class="t'+i+'">'+gettabtitle[i]+'</a></li>';
}
htmlcodes += '</ul><div class="tabcontent_wrapper">';
for (var i2=0;i2<gettabcontent.length;i2++) {
htmlcodes += '<div class="tabcontent">'+gettabcontent[i2]+'</div>';
}
htmlcodes += '</div>';
$tabmenu(this).removeClass('tabmenu').addClass('tabmenu_live').attr('id','tabmenu_id_'+nth_tabmenu).html(htmlcodes);
$tabmenu(this).find('.tabcontent').not(':eq('+tabmenu_firsttab[nth_tabmenu]+')').hide();
$tabmenu(this).find('.tabmenu_ul li a').eq(tabmenu_firsttab[nth_tabmenu]).addClass('current');
}
nth_tabmenu++;
});
$tabmenu('.tabmenu_live').find('.tabmenu_ul > li > a').click( function(event) {
var currzentab = $tabmenu(this).parent('li').parent('ul').parent('.tabmenu_live');
var currid = currzentab.attr('id').replace('tabmenu_id_','');
var currnth = $tabmenu(this).attr('class').replace('t','');
var childnum = parseInt(currnth);
if (tabmenu_firsttab[currid] == childnum) { event.preventDefault(); return false; }
currzentab.find('.tabmenu_ul li a').removeClass('current');
if (currzentab.find('.tabcontent').is(':animated')) { currzentab.find('.tabcontent').is(':animated').stop(true,true); }
switch (tabmenu_animation_style) {
case 'fade':
currzentab.find('.tabcontent:eq('+tabmenu_firsttab[currid]+')').fadeOut(tabmenu_animation_speed, function() {
currzentab.find('.tabcontent:eq('+childnum+')').fadeIn(tabmenu_animation_speed);
currzentab.find('.tabmenu_ul li').eq(childnum).children('a').addClass('current');
});
break;
case 'none':
currzentab.find('.tabcontent:eq('+tabmenu_firsttab[currid]+')').hide(10, function() {
currzentab.find('.tabcontent:eq('+childnum+')').show();
currzentab.find('.tabmenu_ul li').eq(childnum).children('a').addClass('current');
});
break;
default:
currzentab.find('.tabcontent:eq('+tabmenu_firsttab[currid]+')').slideUp(tabmenu_animation_speed, function() {
currzentab.find('.tabcontent:eq('+childnum+')').slideDown(tabmenu_animation_speed);
currzentab.find('.tabmenu_ul li').eq(childnum).children('a').addClass('current');
});
break;
}
tabmenu_firsttab[currid] = childnum;
event.preventDefault();
});
});
})(jQuery);
</script>
Schließen
Button in der Iconbar anlegen!

- Iconbar aufrufen!
- TAB-Button unter "HTML" anlegen.
- Namen vergeben z.B. "TAB-Menü".
- Unter "HTML:" den folgenden Code eintragen.
- Speichern nicht vergessen!
- Button erscheint am Ende der Iconbar.
Button im Menü links an die richtige Stelle schieben!
1
<div onclick="xob_insert('[tabmenu]\n\n[tab=Tab 1]Inhalt TAB 1[/tab]\n[tab=Tab 2]Inhalt TAB 2[/tab]\n[tab=Tab 3]Inhalt TAB 3[/tab]\n\n[/tabmenu]','')" class="xob_icon_cont"><img alt="TAB-Menü" title="TAB-Menü" class="xob_icon" src="//img.homepagemodules.de/ds/static/feedicons/post.png"></div>
Die Anordnung der neuen Forum-Codes sieht im Beitrag wie folgt aus!
[tabmenu]
[tab=Tab 1]Inhalt TAB 1[/tab]
[tab=Tab 2]Inhalt TAB 2[/tab]
[tab=Tab 3]Inhalt TAB 3[/tab]
[/tabmenu]
[tab=Tab 1]Inhalt TAB 1[/tab]
[tab=Tab 2]Inhalt TAB 2[/tab]
[tab=Tab 3]Inhalt TAB 3[/tab]
[/tabmenu]
Für das TAB-Menü werden nur 2 neue Foren-Codes benötigt!
- Iconbar unter "Admin > Layout >Iconbar" öffnen
- Reiter "Foren-Code" aufrufen
- Erweiterte Foren-Code einblenden und die folgenden Daten eingetragen.
- Speichern!
- Wichtig! Erstellte Foren-Codes in den Ordner "nicht sichtbar" verschieben.
1. Ersetze:
1
2
3
2
3
[tabmenu]
...
[/tabmenu]
1. Mit:
1
2
3
2
3
<div class="tabmenu">
...
</div>
1. Grafik:

1
//img.homepagemodules.de/ds/static/feedicons/post.png
1. Weitere Einstellungen:
- Wird der Foren-Code nicht umgesetzt, kann es an der Reihenfolge liegen!
- Hier den Wert "0" wählen und ausprobieren!

2. Ersetze:
1
2
3
2
3
[tab={{name}}]
...
[/tab]
2. Mit:
1
2
3
2
3
<div class="tab"><h4 class="tabtitle">{{name}}</h4><div class="tabcontent"><div class="tabcontent_top"></div>
...
</div></div>
2. Grafik:

1
//img.homepagemodules.de/ds/static/feedicons/post.png
2. Weitere Einstellungen:
- Wird der Foren-Code nicht umgesetzt, kann es an der Reihenfolge liegen!
- Hier den Wert "0" wählen und ausprobieren!

Schließen
Mit den CSS-Einträgen kann die Farbe an die Foren angepasst werden!
- Der minimierte CSS-Eintrag passt für alle Template, nur fürs Gaia-Template ist ein spezieller Eintrag Zeile 18 notwendig!
Der Eintrag kann für die anderen Templates gelöscht werden (Breite TAB-Menü). - Wenn notwendig muss noch die Hintergrundfarbe in Zeile 7 + 43, die Randfarben in Zeile 13, 34, 45 und die Schattenfarbe in Zeile 33 an das Forum angepasst werden!
- Die CSS kann für die Templates (v1-4) mit dem nachfolgenden JavaScript in die Fußzeile" oder besser als PIugin in "Untere Leiste - header" kopiert werden!
- Für die neue Xobor (v6) Templates wird die CSS zusammen mit dem nachfolgenden JavaScript in Eigenes Javascript kopiert!
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
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
<style>
.tabmenu_live .tabcontent {
padding:5px 5px 15px 5px;
color:#222222;
}
.tabcontent_top {
background: #4797df bottom left repeat-x;
margin:-5px -5px 15px -5px;
height: 15px;
}
.tabcontent_wrapper {
background: #ffffff;
border:2px solid #b4c9db;
box-shadow: 5px 5px 5px #aaaaaa;
margin:0 5px;
/* Gaia */
margin-right: 150px;
}
.tabmenu_ul {
margin:0 0 -3px 0 !important;
padding: 0 0 0 15px;
}
.tabmenu_ul li {
float:none;
display:inline;
margin:0 8px 0 0;
}
.tabmenu_ul li a, .tabmenu_ul li a:link {
background:#e5e5e5;
font-size:13px;
color:#000000 !important;
box-shadow: 1px 1px 1px #4797df, -1px 1px 1px #4797df, 1px -1px 1px #4797df, -1px -1px 1px #4797df;
border:1px solid #b4c9db;
padding:4px 9px;
text-decoration: none !important;
}
.tabmenu_ul li a:hover {
background: #238eeb;
color:#ffffff !important;
}
.tabmenu_ul li a.current {
background: #4797df;
color:#ffffff !important;
border-bottom: 1px solid #4797df;
}
h4 {
color: #ffffff !important;
}
</style>
Schließen
Das JavaScript funktioniert in allen Templates!
- Für die Templates (v1-4) wird dass JavaScript und die CSS in die Fußzeile" oder besser als PIugin in "Untere Leiste - header" kopiert!
Für das neue Xobor (v6) wird beides in Eigenes Javascript kopiert! - Das Skript ist so eingestellt, dass beim Start TAB 1 geöffnet ist!
- In Zeile 12 kann man die Art der Animation einstellen, in Zeile 16 die Schnelligkeit!
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
104
105
106
107
108
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
104
105
106
107
108
<script>
/*
* tabmenu Tabbed Menu Script
* version 1.0.2
* info @ http://zenverse.net/tabmenu-tabbed-menu/
* by Zen @ http://zenverse.net/
* License : GPL
* Free for any purpose
*/
/* Animation für Tab Menü (fade, slide oder none) */
var tabmenu_animation_style = 'slide';
/* Animationsgeschwindigkeit für Tab Menü (fast, normal, slow oder in Millisekunden) - Nur für fade und slide
/* Beim Eintrag in Millisekunden, ohne Häkchen */
var tabmenu_animation_speed = 'slow';
(function($tabmenu) {
$tabmenu(document).ready(function() {
var nth_tabmenu = 0;
var tabmenu_firsttab = [];
if (!tabmenu_animation_speed) { tabmenu_animation_speed = 'fast'; }
$tabmenu('.tabmenu').each( function() {
var gettabtitle = [],gettabcontent = [];
tabmenu_firsttab[nth_tabmenu] = 0;
var loop = 0;
$tabmenu(this).find('.tab').each( function () {
if ($tabmenu(this).hasClass('firsttab')) { tabmenu_firsttab[nth_tabmenu] = loop; }
loop++;
});
$tabmenu(this).find('.tab').find('.tabtitle').each( function () {
gettabtitle.push($tabmenu(this).html());
});
$tabmenu(this).find('.tab').find('.tabcontent').each( function () {
gettabcontent.push($tabmenu(this).html());
});
if (gettabtitle.length > 0) {
var htmlcodes = '<ul class="tabmenu_ul">';
for (var i=0;i<gettabtitle.length;i++) {
htmlcodes += '<li><a href="javascript:void(null)" class="t'+i+'">'+gettabtitle[i]+'</a></li>';
}
htmlcodes += '</ul><div class="tabcontent_wrapper">';
for (var i2=0;i2<gettabcontent.length;i2++) {
htmlcodes += '<div class="tabcontent">'+gettabcontent[i2]+'</div>';
}
htmlcodes += '</div>';
$tabmenu(this).removeClass('tabmenu').addClass('tabmenu_live').attr('id','tabmenu_id_'+nth_tabmenu).html(htmlcodes);
$tabmenu(this).find('.tabcontent').not(':eq('+tabmenu_firsttab[nth_tabmenu]+')').hide();
$tabmenu(this).find('.tabmenu_ul li a').eq(tabmenu_firsttab[nth_tabmenu]).addClass('current');
}
nth_tabmenu++;
});
$tabmenu('.tabmenu_live').find('.tabmenu_ul > li > a').click( function(event) {
var currzentab = $tabmenu(this).parent('li').parent('ul').parent('.tabmenu_live');
var currid = currzentab.attr('id').replace('tabmenu_id_','');
var currnth = $tabmenu(this).attr('class').replace('t','');
var childnum = parseInt(currnth);
if (tabmenu_firsttab[currid] == childnum) { event.preventDefault(); return false; }
currzentab.find('.tabmenu_ul li a').removeClass('current');
if (currzentab.find('.tabcontent').is(':animated')) { currzentab.find('.tabcontent').is(':animated').stop(true,true); }
switch (tabmenu_animation_style) {
case 'fade':
currzentab.find('.tabcontent:eq('+tabmenu_firsttab[currid]+')').fadeOut(tabmenu_animation_speed, function() {
currzentab.find('.tabcontent:eq('+childnum+')').fadeIn(tabmenu_animation_speed);
currzentab.find('.tabmenu_ul li').eq(childnum).children('a').addClass('current');
});
break;
case 'none':
currzentab.find('.tabcontent:eq('+tabmenu_firsttab[currid]+')').hide(10, function() {
currzentab.find('.tabcontent:eq('+childnum+')').show();
currzentab.find('.tabmenu_ul li').eq(childnum).children('a').addClass('current');
});
break;
default:
currzentab.find('.tabcontent:eq('+tabmenu_firsttab[currid]+')').slideUp(tabmenu_animation_speed, function() {
currzentab.find('.tabcontent:eq('+childnum+')').slideDown(tabmenu_animation_speed);
currzentab.find('.tabmenu_ul li').eq(childnum).children('a').addClass('current');
});
break;
}
tabmenu_firsttab[currid] = childnum;
event.preventDefault();
});
});
})(jQuery);
</script>
Schließen
Schließen

Hilfreiche Links aus dem Forum:
Hilfreiche Links zu anderen Webseiten:
• Tabulator nur mit JavaScript: Auf w3schools.com
• Vielseitiger Tabulator mit jQueryUI: Auf jqueryui.com
• Vielseitiger Tabulator mit jQueryUI: Auf jqueryui.com

Bis dann, gutes Gelingen und mal wieder besten Dank an Creator
Wolfgang
#12 TAB-Menü nur mit CSS für Foren-Beiträge von Anne
08.01.2022 18:00

Ja, und da liegt genau das Problem
Ohne Script geht es leider nicht.
Und da hat Xobor immer noch nicht geantwortet ob es ein Bug ist oder nicht
#13 RE: TAB-Menü nur mit CSS für Foren-Beiträge von Wolfgang
09.01.2022 07:57

TAB-Menü nur mit CSS für Foren-Beiträge
Hallo Anne,
hast Du Dir Beitrag #10 angeschaut?
Da ist ein TAB-Menü ohne JavaSCript beschrieben!
Oder meinst Du etwas anderes?
Hilfreiche Links auf anderen Webseiten:
CSS-Menü auf der Seite von "OnAirCode": Tab-Menü mit CSS
CSS-Menü auf der Seite von "Mediaevent.de": So erstellen Sie Tab-Menüs mit CSS
CSS-Menü auf der Seite von "Mediaevent.de": So erstellen Sie Tab-Menüs mit CSS

Wolfgang
#14 RE: TAB-Menü nur mit CSS für Foren-Beiträge von Anne
09.01.2022 15:45

Ja Wolfgang, hab ich.
Ich habe es auch ausprobiert
Aber da kommt alles andere, aber keine Tab-Tabelle
Die Tabs werden oben gar nicht angezeigt
#15 Fehlersuche: TAB-Menü nur mit CSS für Foren-Beiträge von Mato
19.01.2022 21:09

Hat bei mir leider auch nicht geklappt, guckst du hier: Tab Misslungen :-)
#16 Fehlersuche: TAB-Menü nur mit CSS für Foren-Beiträge von Wolfgang
20.01.2022 08:54

Fehlersuche: TAB-Menü nur mit CSS für Foren-Beiträge
Hallo Mato,
besten Dank fürs Ausprobieren und Testen.
Da Du ja auf das neue "Xobor (v6)" umgestiegen bist,
muss der gesamte Eintrag nach "Eigenes Javascript" und nicht in die "Eigene Fußzeile".
Sonst war alles bestens!
Habe die Farbe noch ein wenig angepasst!
Ich denke, ich werde die Beiträge noch genauer nach (v1-4) und (v6) aufteilen!

Bis dann
Wolfgang
#17 RE: Fehlersuche: TAB-Menü nur mit CSS für Foren-Beiträge von Mato
20.01.2022 10:31

Auf eigenen Seiten funzt es übrigens auch gut
Guckst du hier
#18 RE: Fehlersuche: TAB-Menü nur mit CSS für Foren-Beiträge von Anne
21.01.2022 09:13

Wie hast du das gemacht, das es so aussieht?
Das ist dir voll gut gelungen
#19 RE: Fehlersuche: TAB-Menü nur mit CSS für Foren-Beiträge von Mato
21.01.2022 11:08
#20 RE: Erweiterter und verbesserter HPM / Xobor-Spoiler von charlie1965
27.10.2022 23:01

Habe ich bei mir auch eingefügt. Funktioniert super