<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AUser_style%2Ffloating_quickbar</id>
	<title>Help:User style/floating quickbar - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AUser_style%2Ffloating_quickbar"/>
	<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:User_style/floating_quickbar&amp;action=history"/>
	<updated>2026-05-04T01:13:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Help:User_style/floating_quickbar&amp;diff=1938&amp;oldid=prev</id>
		<title>Wadmin: 1 revision(s)</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:User_style/floating_quickbar&amp;diff=1938&amp;oldid=prev"/>
		<updated>2006-07-19T05:34:48Z</updated>

		<summary type="html">&lt;p&gt;1 revision(s)&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:34, 19 July 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Wadmin</name></author>
		
	</entry>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Help:User_style/floating_quickbar&amp;diff=1937&amp;oldid=prev</id>
		<title>Omegatron: «129 words changed»</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:User_style/floating_quickbar&amp;diff=1937&amp;oldid=prev"/>
		<updated>2006-03-23T04:24:56Z</updated>

		<summary type="html">&lt;p&gt;«129 words changed»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Image:Fixed sidebar.png|thumb|This script and CSS makes the sidebar stay in position while you scroll]]&lt;br /&gt;
[[Image:Fixed sidebar footer.png|thumb|The footer still looks good and doesn't overlap.  You can see the language box has a scroll bar when it gets too big.  This way all the navigation stays on the screen]]&lt;br /&gt;
'''See First: [[Help:User style]]'''&lt;br /&gt;
&lt;br /&gt;
The ''Cologne Blue'' skin has an option for a &amp;quot;floating left&amp;quot; quickbar, which causes the navigation links and toolboxes and such to stay in the same position on the screen while you scroll.  This provides the same functionality for the ''Monobook'' skin.  This currently works '''only in Mozilla''', but degrades gracefully in IE (for when you have to use it).  Other browsers haven't been tested, but they should work fine.&lt;br /&gt;
&lt;br /&gt;
== CSS ==&lt;br /&gt;
&lt;br /&gt;
Add this to your user css, [[User:YOURUSERNAME/monobook.css]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/* Fix the sidebar's position while you scroll */&lt;br /&gt;
&lt;br /&gt;
div[id=column-one] {  /* Using the attribute selector hides this from IE */&lt;br /&gt;
    position: fixed;&lt;br /&gt;
    height: 100%;     /* If you shrink the browser too small, the side column will */&lt;br /&gt;
    overflow: auto; /*   become scrollable, so stuff is always accessible, albeit ugly */&lt;br /&gt;
    z-index: 2;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#p-lang .pBody ul{    /* Sets the language box to a fixed height and scrollable if too long to fit */&lt;br /&gt;
    height: 10em;&lt;br /&gt;
    overflow: auto;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
body {                /* Fix the background image, too, so it looks nice as you scroll */&lt;br /&gt;
    background-attachment: fixed;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#footer {             /* Fix the footer so it looks nice and doesn't overlap the sidebar */&lt;br /&gt;
    margin-left: 13.6em;&lt;br /&gt;
    border-left: solid 1px rgb(250, 189, 35);&lt;br /&gt;
    /* Uncomment this if you use rounded edges: */&lt;br /&gt;
/* &lt;br /&gt;
    -moz-border-radius-topleft: 1em; &lt;br /&gt;
    -moz-border-radius-bottomleft: 1em; &lt;br /&gt;
*/&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make the user toolbar a sidebox ===&lt;br /&gt;
&lt;br /&gt;
You also need to use the code from [[User styles#Make the user toolbar a sidebox]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/* Transform the user toolbar into a sidebox */&lt;br /&gt;
#p-personal {&lt;br /&gt;
    position:relative;&lt;br /&gt;
    z-index:3;&lt;br /&gt;
    width: 11.6em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#p-personal .pBody {&lt;br /&gt;
    width: 10.7em;&lt;br /&gt;
    border: none;&lt;br /&gt;
    margin: 0 0 0.1em 0em;&lt;br /&gt;
    float: none;&lt;br /&gt;
    overflow: hidden;&lt;br /&gt;
    font-size: 95%;&lt;br /&gt;
    background: White;&lt;br /&gt;
    border-collapse: collapse;&lt;br /&gt;
    border: 1px solid #aaaaaa;&lt;br /&gt;
    padding: 0 0.8em 0.3em .5em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#p-personal ul {&lt;br /&gt;
    line-height: 1.5em;&lt;br /&gt;
    list-style-type: square;&lt;br /&gt;
    list-style-image: url(&amp;quot;/style/monobook/bullet.gif&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
    font-size:95%;&lt;br /&gt;
    margin: 0 0 0 1.5em;&lt;br /&gt;
    padding:0;&lt;br /&gt;
    text-align:left;&lt;br /&gt;
    text-transform: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#p-personal li {&lt;br /&gt;
    display: list-item;&lt;br /&gt;
    padding:0;&lt;br /&gt;
    margin: 0 0 0 0;&lt;br /&gt;
    margin-bottom: 0.1em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* suppress the person icon by your username */&lt;br /&gt;
/* needed if not already in place */&lt;br /&gt;
li#pt-userpage { background: none }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Javascript ==&lt;br /&gt;
&lt;br /&gt;
Add this to your user javascript, [[User:YOURUSERNAME/monobook.js]].  The top tabs are part of the sidebar, which would make them stay fixed, too.  This script moves them so they are inside the content-column div, so they scroll with the article.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/* Move top tabs inside body content */&lt;br /&gt;
&lt;br /&gt;
addOnloadHook(function () {&lt;br /&gt;
    content = document.getElementById(&amp;quot;column-content&amp;quot;);    // Find the main content column&lt;br /&gt;
&lt;br /&gt;
    footer = document.getElementById(&amp;quot;footer&amp;quot;);  // Find the footer&lt;br /&gt;
    footer.parentNode.removeChild(footer);    // Remove the footer from the global wrapper&lt;br /&gt;
    content.appendChild(footer);    // Place footer at the end of the content column;&lt;br /&gt;
&lt;br /&gt;
    tabs = document.getElementById(&amp;quot;p-cactions&amp;quot;);   // Find the top tab list&lt;br /&gt;
    tabs.parentNode.removeChild(tabs);    // Remove the tab list from the side column&lt;br /&gt;
    content.insertBefore(tabs,content.firstChild);    // Place tab list at the beginning of the content column&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[en:User:Omegatron/monobook.js]] and [[en:User:Omegatron/monobook.css]]&lt;br /&gt;
* If you have problems, [[en:User talk:Omegatron|leave a message for Omegatron]]&lt;/div&gt;</summary>
		<author><name>Omegatron</name></author>
		
	</entry>
</feed>