<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://decodingthedisciplines.de/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js</id>
	<title>MediaWiki:Common.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://decodingthedisciplines.de/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js"/>
	<link rel="alternate" type="text/html" href="https://decodingthedisciplines.de/index.php?title=MediaWiki:Common.js&amp;action=history"/>
	<updated>2026-11-04T17:52:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://decodingthedisciplines.de/index.php?title=MediaWiki:Common.js&amp;diff=4129&amp;oldid=prev</id>
		<title>Riegler: enabling Tabs for Template:Conference</title>
		<link rel="alternate" type="text/html" href="https://decodingthedisciplines.de/index.php?title=MediaWiki:Common.js&amp;diff=4129&amp;oldid=prev"/>
		<updated>2026-11-04T15:28:24Z</updated>

		<summary type="html">&lt;p&gt;enabling Tabs for Template:Conference&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* Any JavaScript here will be loaded for all users on every page load. */&lt;br /&gt;
&lt;br /&gt;
/* JS für interaktive Reiter (Tabs) */&lt;br /&gt;
$(document).ready(function() {&lt;br /&gt;
    // Suchen nach allen Tab-Containern im Wiki&lt;br /&gt;
    $(&amp;#039;.mw-tabs&amp;#039;).each(function() {&lt;br /&gt;
        var $container = $(this);&lt;br /&gt;
        var $navItems = $container.find(&amp;#039;.mw-tabs-nav li&amp;#039;);&lt;br /&gt;
        var $contentItems = $container.find(&amp;#039;.mw-tabs-content .tab-pane&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
        // Den ersten Reiter standardmäßig aktivieren&lt;br /&gt;
        $navItems.first().addClass(&amp;#039;active-tab&amp;#039;).css({&amp;#039;background&amp;#039;: &amp;#039;#fff&amp;#039;, &amp;#039;border-bottom&amp;#039;: &amp;#039;1px solid #fff&amp;#039;, &amp;#039;margin-bottom&amp;#039;: &amp;#039;-1px&amp;#039;});&lt;br /&gt;
        $contentItems.hide().first().show();&lt;br /&gt;
&lt;br /&gt;
        // Klick-Event für die Reiter&lt;br /&gt;
        $navItems.click(function() {&lt;br /&gt;
            var $clickedTab = $(this);&lt;br /&gt;
            var index = $clickedTab.index();&lt;br /&gt;
&lt;br /&gt;
            // Setze das Design aller Reiter zurück&lt;br /&gt;
            $navItems.removeClass(&amp;#039;active-tab&amp;#039;).css({&amp;#039;background&amp;#039;: &amp;#039;#f8f9fa&amp;#039;, &amp;#039;border-bottom&amp;#039;: &amp;#039;1px solid #a2a9b1&amp;#039;, &amp;#039;margin-bottom&amp;#039;: &amp;#039;0&amp;#039;});&lt;br /&gt;
            &lt;br /&gt;
            // Hebe den geklickten Reiter hervor&lt;br /&gt;
            $clickedTab.addClass(&amp;#039;active-tab&amp;#039;).css({&amp;#039;background&amp;#039;: &amp;#039;#fff&amp;#039;, &amp;#039;border-bottom&amp;#039;: &amp;#039;1px solid #fff&amp;#039;, &amp;#039;margin-bottom&amp;#039;: &amp;#039;-1px&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
            // Blende den alten Inhalt aus und den neuen ein&lt;br /&gt;
            $contentItems.hide();&lt;br /&gt;
            $contentItems.eq(index).fadeIn(150);&lt;br /&gt;
        });&lt;br /&gt;
    });&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>Riegler</name></author>
	</entry>
</feed>