<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.tfcmud.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3AUser_style%2Fbottom_tabs</id>
	<title>Help:User style/bottom tabs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.tfcmud.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3AUser_style%2Fbottom_tabs"/>
	<link rel="alternate" type="text/html" href="https://www.tfcmud.com/wiki/index.php?title=Help:User_style/bottom_tabs&amp;action=history"/>
	<updated>2026-04-30T16:04:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://www.tfcmud.com/wiki/index.php?title=Help:User_style/bottom_tabs&amp;diff=336&amp;oldid=prev</id>
		<title>Tynian: 1 revision: Import helps</title>
		<link rel="alternate" type="text/html" href="https://www.tfcmud.com/wiki/index.php?title=Help:User_style/bottom_tabs&amp;diff=336&amp;oldid=prev"/>
		<updated>2011-01-10T23:24:30Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Import helps&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;B&amp;gt; See First: [[Help:User style]] &amp;lt;/B&amp;gt;  This currently only appears to work with personal customization. [[Please Add Info for Site Wide Implementation]]&lt;br /&gt;
&lt;br /&gt;
To get this:&lt;br /&gt;
&lt;br /&gt;
[[Image:Bottom tabs position corrected.png|framed|none|Bottom tabs in Firefox]]&lt;br /&gt;
&lt;br /&gt;
== For CSS2 browsers (Mozilla, Opera, Safari -- NOT Firefox) ==&lt;br /&gt;
''Note: Firefox users, please use &amp;quot;Simpler version&amp;quot; below''&lt;br /&gt;
&amp;lt;!-- See Talk page for reports of problems using Firefox --&amp;gt;&lt;br /&gt;
=== JavaScript tweak ===&lt;br /&gt;
Drop this in monobook.js:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function morelinks() {&lt;br /&gt;
  var tabs = document.getElementById('p-cactions').cloneNode(true);&lt;br /&gt;
  tabs.id = 'mytabs';&lt;br /&gt;
  var listitems = tabs.getElementsByTagName('LI');&lt;br /&gt;
  for (i=0;i&amp;lt;listitems.length;i++) {&lt;br /&gt;
    if(listitems[i].id) listitems[i].id = 'mytabs-' + listitems[i].id;&lt;br /&gt;
  }&lt;br /&gt;
  document.getElementById('column-content').appendChild(tabs);&lt;br /&gt;
}&lt;br /&gt;
if (window.addEventListener) window.addEventListener(&amp;quot;load&amp;quot;,morelinks,false);&lt;br /&gt;
else if (window.attachEvent) window.attachEvent(&amp;quot;onload&amp;quot;,morelinks);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add this ''after'' other functions that alter the tabs, and the same changes will be duplicated on the bottom.&lt;br /&gt;
&lt;br /&gt;
=== CSS tweak ===&lt;br /&gt;
Add this into monobook.css as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&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 .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;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Simpler version for IE, Firefox, and others ==&lt;br /&gt;
[[Image:Bottomlinks.png|framed|none|Simple version of bottom links]]&lt;br /&gt;
Drop this in monobook.js:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function morelinks() {&lt;br /&gt;
  var tabs = document.getElementById('p-cactions').cloneNode(true);&lt;br /&gt;
  // don't use the same ids twice- replace the p-cactions id and prepend 'mytabs-' to the li's&lt;br /&gt;
  tabs.id = 'mytabs';&lt;br /&gt;
  // needs this to be set from js, it ignores the css width for some reason&lt;br /&gt;
  tabs.style.width = '100%';&lt;br /&gt;
  var listitems = tabs.getElementsByTagName('LI');&lt;br /&gt;
  for (i=0;i&amp;lt;listitems.length;i++) {&lt;br /&gt;
    if(listitems[i].id) listitems[i].id = 'mytabs-' + listitems[i].id;&lt;br /&gt;
  }&lt;br /&gt;
  // drop them at the bottom of the content area&lt;br /&gt;
  document.getElementById('content').appendChild(tabs);&lt;br /&gt;
}&lt;br /&gt;
if (window.addEventListener) window.addEventListener(&amp;quot;load&amp;quot;,morelinks,false);&lt;br /&gt;
else if (window.attachEvent) window.attachEvent(&amp;quot;onload&amp;quot;,morelinks);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then add some basic styles for the bottom links in your monobook.css:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#mytabs { &lt;br /&gt;
  width: 100%;&lt;br /&gt;
  font-size: smaller;&lt;br /&gt;
  position: static;&lt;br /&gt;
}&lt;br /&gt;
#mytabs h5 { display: none }&lt;br /&gt;
#mytabs ul { margin: 0; }&lt;br /&gt;
#mytabs li { display: inline; }&lt;br /&gt;
#mytabs li a {&lt;br /&gt;
  padding: 0 0.4em;&lt;br /&gt;
  border-left: 1px solid Grey;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Tabs for IE6 === &lt;br /&gt;
[[Image:Tabs_downunder_ie6.png|framed|none|left|bottom tabs]]&lt;br /&gt;
&lt;br /&gt;
I have tweaked these css and js to work in ie6. May have a look at [[user:fristu/monobook.js|the js]] and [[user:fristu/monobook.css|the css]]. --[[User:Fristu|WikiWichtel]] 20:43, 5 Jun 2004 (UTC)&lt;br /&gt;
&lt;br /&gt;
[[Category:English documentation]]&lt;br /&gt;
[[Category:MediaWiki design]]&lt;/div&gt;</summary>
		<author><name>Tynian</name></author>
	</entry>
</feed>