- UID
- 2240
- 帖子
- 240
- 精华
- 0
- 贡献
- 0
- 推广
- 0
- 有效BUG
- 0
- 注册时间
- 2005-8-13
|
原帖由 tenkin 于 2006-10-29 17:01 发表
那如何隐藏菜单栏? 在需要的时候又可以显示
你的工具栏右边是几个什么按钮?
隐藏/显示菜单栏有好几种方法,右键、按钮、手势都可以,修改dialog.ini也行。
1、用右键隐藏/显示菜单栏:在opera安装文件下的defaults文件夹下,有个standard_menu.ini文件,用记事本打开找到[Document Popup Menu]区段,在其下位置添加。修改后standard_menu.ini就以UTF-8编码保存,重启Opera后网页右键就会有“菜单栏”选择。
- Item, 菜单栏= Enable menu bar | Disable menu bar
复制代码
2、修改dialog.ini:打开 dialog.ini (opera/dialog.ini),
找到 [Customize Toolbar Dialog] 这个部分
380 行,你将看到下面的代码:
- Checkbox, 145550, , 10, 30, 160, 23, Fixed = Set alignment, "browser toolbar", 6 | Set alignment, "browser toolbar", 0
- Checkbox, 170510, , 10, 55, 160, 23, Fixed = Set alignment, "personalbar", 6 | Set alignment, "personalbar", 0
- Checkbox, 170210, , 10, 80, 160, 23, Fixed = Set alignment, "pagebar", 6 | Set alignment, "pagebar", 0
- Checkbox, 145570, , 170, 30, 160, 23, Fixed = Set alignment, "status toolbar", 6 | Set alignment, "status toolbar", 0
- Checkbox, 150740, , 170, 55, 160, 23, Fixed = Set alignment, "document toolbar", 6 | Set alignment, "document toolbar", 0
- Checkbox, 70442, , 170, 80, 160, 23, Fixed = Set alignment, "start toolbar", 6 | Set alignment, "start toolbar", 0
- Checkbox, 70443, , 330, 30, 160, 23, Fixed = Set alignment, "document view toolbar", 6 | Set alignment, "document view toolbar", 0
- Checkbox, 67400, , 330, 55, 160, 23, Fixed = Set alignment, "site navigation toolbar", 6 | Set alignment, "site navigation toolbar", 0
复制代码
用下面的代码替换上面的代码,保存为 UTF-8 编码,重启Opera后可以控制 隐藏/显示 菜单栏在 工具 > 外观 > 工具栏
- Checkbox, "菜单栏r", , 10, 30, 160, 23, Fixed = Enable menu bar | Disable menu bar
- Checkbox, 145550, , 10, 55, 160, 23, Fixed = Set alignment, "browser toolbar", 6 | Set alignment, "browser toolbar", 0
- Checkbox, 170510, , 10, 80, 160, 23, Fixed = Set alignment, "personalbar", 6 | Set alignment, "personalbar", 0
- Checkbox, 170210, , 170, 30, 160, 23, Fixed = Set alignment, "pagebar", 6 | Set alignment, "pagebar", 0
- Checkbox, 145570, , 170, 55, 160, 23, Fixed = Set alignment, "status toolbar", 6 | Set alignment, "status toolbar", 0
- Checkbox, 150740, , 170, 80, 160, 23, Fixed = Set alignment, "document toolbar", 6 | Set alignment, "document toolbar", 0
- Checkbox, 70442, , 330, 30, 160, 23, Fixed = Set alignment, "start toolbar", 6 | Set alignment, "start toolbar", 0
- Checkbox, 70443, , 330, 55, 160, 23, Fixed = Set alignment, "document view toolbar", 6 | Set alignment, "document view toolbar", 0
- Checkbox, 67400, , 330, 80, 160, 23, Fixed = Set alignment, "site navigation toolbar", 6 | Set alignment, "site navigation toolbar", 0
复制代码
http://files.myopera.com/cj8631/blog/菜单栏.JPG
工具栏右边按钮是:高亮关键字、·桶、删除私人数据、首选项、Opera菜单。标签栏的是 关闭后转到下一标签按钮。
[ 本帖最后由 cj8631 于 2006-10-29 17:26 编辑 ] |
|