搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to change position of toolbars...

  • 1 回覆
  • 19 有這個問題
  • 27 次檢視
  • 最近回覆由 cor-el

more options

I want to re-arrange the vertical location of the toolbars, bookmarks, etc.

I want to go from this: - Menu Bar - Button Bar - Bookmarks - Community Bar 2 - Community Bar 1 - Tab Strip

to: - Menu Bar - Button Bar - Community Bar 1 - Community Bar 2 - Bookmarks - Tab Strip

I want to re-arrange the vertical location of the toolbars, bookmarks, etc. I want to go from this: - Menu Bar - Button Bar - Bookmarks - Community Bar 2 - Community Bar 1 - Tab Strip to: - Menu Bar - Button Bar - Community Bar 1 - Community Bar 2 - Bookmarks - Tab Strip

所有回覆 (1)

more options

The extension that allows to move toolbar hasn't been updated for Firefox 4, so you probably need to use code in userChrome.css to reorder the toolbars by changing their moz-box-ordinal-group value.

Open the "Tools (Firefox > Web Developer) > Error Console" window and paste this code in the Code field and click the Evaluate button.
Paste the result to this forum.
Then I can see which toolbars you have.

var Cc = Components.classes, Ci = Components.interfaces;
var wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator);
var mw = wm.getMostRecentWindow("navigator:browser");
var doc = mw.document;
var nav = doc.getElementById('navigator-toolbox');
var elm = nav.getElementsByTagName('toolbar');
var i, inf='',moz='-moz-box-ordinal-group';
for(i=0;E=elm[i];i++){ inf+='#'+E.id+' { '+moz+': '+doc.defaultView.getComputedStyle(E,"").getPropertyValue(moz)+' }\n'; }
inf;

See also:

由 cor-el 於 修改