https://bugzilla.wikimedia.org/show_bug.cgi?id=30374

       Web browser: ---
             Bug #: 30374
           Summary: Allowing fixed position menus
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Vector Skin
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: en...@walla.co.il
                CC: asha...@wikimedia.org, tpars...@wikimedia.org
    Classification: Unclassified


It has been requested in Hebrew Wikipedia by some users to allow customization
of the menus: Sidebar menu and top menu [edit, history etc], to have fixed
position, so when scrolling the page they will still have easy access to menus. 

I enable this option as a gadget, containing the following CSS:

div#mw-panel{
position:fixed;
}
#p-lang .body{
max-height:100px;
overflow:auto;
}
div#mw-head{
position:fixed;
background:#FFFFFF
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAsCAIAAAArRUU2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADpJREFUeF5VjUkOAEAIwoD//7lzGJd4MJHGSoBImkFETP67CdLldUd7KC6f8fv3+psd8znbtU5x354HaWQjOx76v7MAAAAASUVORK5CYII=")
repeat-x bottom;
}

(the gadget page itself:
http://he.wikipedia.org/wiki/%D7%9E%D7%93%D7%99%D7%94_%D7%95%D7%99%D7%A7%D7%99:Gadget-FixedMenu.css
)

It works well as a gadget, but some people suggested it isn't specific to
Hebrew and maybe other projects may want it too: so I would like to suggest
adding it as an option in preference for fixed menus.

== Known issues ==
*Works only in vector skin.
*As the sidebar may have height larger the document height, part of it can be
inaccessible in some situations. For this reason I added limitation of 100px to
interwikis (p-lang). This may not be enough, and it dependence on document size
(user specific - resulotion/window size), sidebar height
([[mediawiki:sidebar]]/extensions that adds to sidebar - site specific) and so
on. This issue is relevant only to the sidebar and not to the top menu. 
*Browsers compatibility - the above is very simple css, but some old browsers
such as IE6 doesn't support position:fixed.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to