<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=MyWiki%3AWikiProject_User_scripts%2FScripts%2FDuplicate_tabs_at_bottom</id>
	<title>MyWiki:WikiProject User scripts/Scripts/Duplicate tabs at bottom - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=MyWiki%3AWikiProject_User_scripts%2FScripts%2FDuplicate_tabs_at_bottom"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/Duplicate_tabs_at_bottom&amp;action=history"/>
	<updated>2026-04-22T14:54:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/Duplicate_tabs_at_bottom&amp;diff=8214602&amp;oldid=prev</id>
		<title>imported&gt;WOSlinker: change source to syntaxhighlight</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/Duplicate_tabs_at_bottom&amp;diff=8214602&amp;oldid=prev"/>
		<updated>2021-02-07T15:08:54Z</updated>

		<summary type="html">&lt;p&gt;change source to syntaxhighlight&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Can this be made importable?&lt;br /&gt;
&lt;br /&gt;
From http://meta.wikimedia.org/w/index.php?title=User_Styles/bottom_tabs&amp;amp;oldid=188207&lt;br /&gt;
See [[meta:User Styles/bottom tabs]] for more details.&lt;br /&gt;
&lt;br /&gt;
== Javascript ==&lt;br /&gt;
Put this in [[Special:Mypage/monobook.js]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=javascript&amp;gt;&lt;br /&gt;
addOnloadHook(function () {&lt;br /&gt;
    var tabs = document.getElementById(&amp;#039;p-cactions&amp;#039;).cloneNode(true);&lt;br /&gt;
    tabs.id = &amp;#039;mytabs&amp;#039;;&lt;br /&gt;
    var listitems = tabs.getElementsByTagName(&amp;#039;LI&amp;#039;);&lt;br /&gt;
    for (i=0;i&amp;lt;listitems.length;i++) {&lt;br /&gt;
        if(listitems[i].id) listitems[i].id = &amp;#039;mytabs-&amp;#039; + listitems[i].id;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    content = document.getElementById(&amp;quot;content&amp;quot;);    // Find the content div&lt;br /&gt;
    content.parentNode.insertBefore(tabs, content.nextSibling);    // Place tab list right after content div&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CSS ==&lt;br /&gt;
&lt;br /&gt;
And put this in [[Special:mypage/monobook.css]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=css&amp;gt;&lt;br /&gt;
/* bottom tab styling (not for IE currently) */&lt;br /&gt;
#mytabs {&lt;br /&gt;
    margin: -0.3em 0 0  11.5em;&lt;br /&gt;
    white-space:nowrap;&lt;br /&gt;
    line-height: 1.1em;&lt;br /&gt;
    overflow: visible;&lt;br /&gt;
    border-collapse: collapse;&lt;br /&gt;
    padding: 0 0 0 1em;&lt;br /&gt;
    list-style: none;&lt;br /&gt;
    font-size: 95%;&lt;br /&gt;
}&lt;br /&gt;
#mytabs .pBody {&lt;br /&gt;
  border:none;&lt;br /&gt;
  background-color: transparent;&lt;br /&gt;
}&lt;br /&gt;
#mytabs .hiddenStructure { display: none; }&lt;br /&gt;
#mytabs li {&lt;br /&gt;
    display: inline;&lt;br /&gt;
    border: 1px solid #aaaaaa;&lt;br /&gt;
    border-top: none;&lt;br /&gt;
    padding: 0.1em 0 0 0;&lt;br /&gt;
    margin: 0 0.3em 0 0;&lt;br /&gt;
    overflow: visible;&lt;br /&gt;
    background: White;&lt;br /&gt;
}&lt;br /&gt;
#mytabs li.selected {&lt;br /&gt;
    border-color: #fabd23;&lt;br /&gt;
    padding: 0.2em 0 0 0;&lt;br /&gt;
}&lt;br /&gt;
#mytabs li a {&lt;br /&gt;
    background-color: White;&lt;br /&gt;
    color: #002bb8;&lt;br /&gt;
    border: none;&lt;br /&gt;
    padding: 0.3em 0.8em 0 0.8em;&lt;br /&gt;
    text-decoration: none;&lt;br /&gt;
    text-transform: lowercase;&lt;br /&gt;
    position: relative;&lt;br /&gt;
    margin: 0;&lt;br /&gt;
}&lt;br /&gt;
#mytabs li.selected a { z-index: 3; }&lt;br /&gt;
#mytabs .new a { color:#ba0000; }&lt;br /&gt;
#mytabs li a:hover {&lt;br /&gt;
    z-index: 3;&lt;br /&gt;
    text-decoration: none;&lt;br /&gt;
}&lt;br /&gt;
#mytabs h5 { display: none; }&lt;br /&gt;
#mytabs li.istalk { margin-right: 0; }&lt;br /&gt;
#mytabs li.istalk a { padding-right: 0.5em; }&lt;br /&gt;
#mytabs-ca-addsection a { &lt;br /&gt;
    padding-left: 0.4em;&lt;br /&gt;
    padding-right: 0.4em;&lt;br /&gt;
}&lt;br /&gt;
/* offsets to distinguish the tab groups */&lt;br /&gt;
li#mytabs-ca-talk { margin-right: 1.6em; }&lt;br /&gt;
li#mytabs-ca-watch, li#mytabs-ca-unwatch, li#mytabs-ca-varlang-0, li#mytabs-ca-print { margin-left: 1.6em; }&lt;br /&gt;
&lt;br /&gt;
/* remove comment tags if bottom tabs should be rounded as well in moz */&lt;br /&gt;
/* #mytabs li, #mytabs li a { &lt;br /&gt;
  -moz-border-radius-bottomleft: 1em;&lt;br /&gt;
  -moz-border-radius-bottomright: 1em;&lt;br /&gt;
}*/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Wikipedia scripts]]&lt;/div&gt;</summary>
		<author><name>imported&gt;WOSlinker</name></author>
	</entry>
</feed>