搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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于修改