30楼#
发布于:2010-09-13 15:00
|
|
31楼#
发布于:2010-09-13 15:00
我的。。。。用菜单栏作书签栏,闪动和误操作都少,激发是hover,平时隐藏剩1px,把标题栏做掉后就剩1px在最顶,所以很灵敏,又不会有指向地址栏时闪动。
缺点么,就是最大化窗口才好用,不然剩下那一个像素对准比较难。 Stylish代码: /* The following CSS code will hide menubar and show them again if you move the cursor to menubar */ /* begin css */ @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #toolbar-menubar{ margin-top: -22px !important; } #toolbar-menubar:hover { margin-top: 0px !important; } /* end css */ 效果图: |
|
|
32楼#
发布于:2010-09-13 15:00
吹毛求疵一点,地址栏下面还有一条白线,有点碍眼,不知如何去掉,不用这个脚本的话,这条线是灰色的,最右边也有一条
|
|
33楼#
发布于:2010-09-13 15:00
|
|
34楼#
发布于:2010-09-13 15:00
|
|
35楼#
发布于:2010-09-13 15:00
alanfly: 发现3.6.10也能用这段代码 3.6.10中 菜单栏没有隐藏 鼠标移动到地址栏才会出现浮动书签栏 4.0中 隐藏菜单栏 标签栏不置顶 鼠标移动到标签栏就出现浮动菜单栏了 能改下代码让它只在鼠标移动到地址栏才出现浮动菜单栏么? |
|
36楼#
发布于:2010-09-13 15:00
3.6.10也支持那很多人该开心了; 这是改好的: @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); @-moz-document url(chrome://browser/content/browser.xul) { #main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) ~ #browser { margin-top: -32px !important;/* 適宜調整 */ } #main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar { -moz-transition: max-height 0s ease-in-out .8s !important;/* 消えるときのアニメーション */ -moz-box-ordinal-group: 1000 !important; padding: 0 3px !important; position: relative !important; z-index: 100 !important; overflow-y: hidden !important; max-height: 0px !important; min-height: 0px !important; } /* #main-window[stylish-url="about:blank"] #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar,*/ #main-window:not([inFullscreen="true"]) #nav-bar:not([customizing="true"]):hover ~ #PersonalToolbar,#main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"])>#PersonalToolbar:hover { -moz-transition: max-height 0s ease-in-out !important;/* 表示されるときのアニメーション */ max-height: 30px !important; } } |
|
37楼#
发布于:2010-09-13 15:00
alanfly: 感谢 等晚上换Win7了再测试~ 现在在配置刚折腾好的Ubuntu10.10 x64 PS:在Ubuntu x64中使用4.0的每夜版有点杯具 小毛病不少 所以还是直接用稳定版算了 |
|
38楼#
发布于:2010-09-13 15:00
不客气; 以前用过几个月ubuntu,等硬盘升级了再装上用。 |
|
39楼#
发布于:2010-09-13 15:00
新代码使用正常 再次感谢~
|
|
40楼#
发布于:2010-09-13 15:00
终于有了,感谢分享~~~
|
|
41楼#
发布于:2010-09-13 15:00
标记一下,等升4.0用
|
|
42楼#
发布于:2010-09-13 15:00
3.6.11也可以用啊
|
|
43楼#
发布于:2010-09-13 15:00
弱弱的问下,如果是3.6.11..这段代码是用什么加在哪里的?
|
|
44楼#
发布于:2010-09-13 15:00
alanfly: 代码在最新的每夜版里失效了Orz 表现为:鼠标移到地址栏出现书签栏 但是想要点选书签的时候 鼠标一离开地址栏书签栏就消失 |
|