尝试写Opera按钮
Friday, 5. May 2006, 05:41:43
简单的按钮的命令格式基本上是:动作, 参数1, 参数2, 名称, "图标"忽略的部分用,代替。格式如下:
[opbut=动作, 参数1, 参数2,名称, "图标"]按钮名称[/opbut]
举例说明一下命令格式:
[opbut=Show preferences, , , "首选项", "Prefs Network"]首选项[/opbut]
还有一种格式也可以:
[url=opera:/Button/Show preferences, , , "首选项", "Prefs Network"]首选项[/url]
这里的按钮,部分自写,另一部分源自网上收集,尽量改为中文显示,以方便使用。英文好,更多的按钮可以去这里1和这里2找找看。还可以到Opera按钮制作器1和Opera按钮制作器2,自己动手制作按钮。
注意:此处有的按钮拖到“我的按钮”中可能显示较宽,也许是使用了中文文字的原因。如果只显示图标就不影响美观,更加不会影响正常使用。


Bookmarks书签
Bookmarks书签(纯), 注:没有“添加书签”、“管理书签”两项。
Bookmarks(home) 带主页的书签按钮,注:没有“添加书签”、“管理书签”两项,直接点击打开主页。
button 注:书签,带主工具栏的隐藏与显示。
button 注:书签按钮,带主工具栏、菜单栏的隐藏与显示。
添加到书签

菜单栏隐藏与显示 注:仅仅是菜单栏的隐藏与显示。
button 注:菜单的树状链接按钮,带菜单栏的隐藏与显示。
菜单 注:菜单的树状链接按钮。
button
菜单(主工具栏隐/显) 注:菜单的树状链接按钮,带主工具栏的隐藏与显示。
菜单(主工具栏、菜单栏隐/显) 注:菜单的树状链接按钮,带主工具栏、菜单栏的隐藏与显示。
button没有下拉的三角符号。

button
关闭
恢复已关闭
关闭后到下一页
关闭后到上一页
button
button
button
button
回到父目录
快速到页底
快速到页顶
button
button
button
全屏(标签栏) 注:全屏切换,全屏时显示标签栏。
全屏
button用户和作者模式相互切换
button
button网页翻译
button可以翻译网页和选择文字
编辑拦截清单
拦截的内容
首选项

管理站点参数
删除私人数据
清除历史
清除缓存
opera:config
打开文件
button内框架启用与否
button查看页面信息
button查看源代码
button
button注:转换IE内核的按钮,使用参考Opera调用IE内核
菜单栏上各子项的按钮(无图标):
编辑
文件
查看
书签
导航
工具
邮件
新闻推送
主工具栏隐/显(上)

主工具栏隐/显(下)
标签栏隐/显(上)
标签栏隐/显(下)
button
button
button
关于View in IE按钮的写法:
[opbut=Go to page, "javascript:(function () { if( !location.href || location.href.match(/^(javascript|about|opera):/i) ) { return; } var w = window.open(); w.document.write('<html><head><title>' + (document.title?document.title:location.href).replace(/</,'<') + ' - using Internet Explorer rendering<\/title><\/head><body><div style=\'position:absolute;top:0;left:0;right:0;bottom:0;\'><embed type=\'application\/x-meadco-neptune-ax\' width=\'100'+String.fromCharCode(37)+'\' height=\'100'+String.fromCharCode(37)+'\' param-location=\'' + window.location.href + '\'><\/embed><\/div><\/body><\/html>'); })();", , "View in IE", "View"]View in IE[/opbut]
在Opera Blog中写要加变量的:
[opbut=Go%20to%20page%2C%20%22javascript%3A(function%20()%20%7B%20if(%20!location.href%20%7C%7C%20location.href.match(/%5E(javascript%7Cabout%7Copera)%3A/i)%20)%20%7B%20return%3B%20%7D%20var%20w%20%3D%20window.open()%3B%20w.document.write('%3Chtml%3E%3Chead%3E%3Ctitle%3E'%20+%20(document.title%3Fdocument.title%3Alocation.href).replace(/%3C/%2C'%26lt%3B')%20+%20'%20-%20using%20Internet%20Explorer%20rendering%3C%5C/title%3E%3C%5C/head%3E%3Cbody%3E%3Cdiv%20style%3D%5C'position%3Aabsolute%3Btop%3A0%3Bleft%3A0%3Bright%3A0%3Bbottom%3A0%3B%5C'%3E%3Cembed%20type%3D%5C'application%5C/x-meadco-neptune-ax%5C'%20width%3D%5C'100'+String.fromCharCode(37)+'%5C'%20height%3D%5C'100'+String.fromCharCode(37)+'%5C'%20param-location%3D%5C''%20+%20window.location.href%20+%20'%5C'%3E%3C%5C/embed%3E%3C%5C/div%3E%3C%5C/body%3E%3C%5C/html%3E')%3B%20%7D)()%3B%22%2C%2C%22View%20in%20IE%22%2CView]View in IE[/opbut]
参考:
Opera 9.0 按钮 by Mark.Poleon
Opera 命令/按钮-定制指南 V9 by Mark.Poleon









xxzhao # 29. July 2006, 01:26
cj8631 # 30. July 2006, 13:43
看看是不是这
button
一箱 # 4. August 2006, 13:19
panweigang # 24. August 2006, 06:14
咋用的,我点击以后是空白的。呵呵。。
刚玩opera,253了~
cj8631 # 26. August 2006, 08:54
http://my.opera.com/cj8631/blog/show.dml/245812
stalingrad # 3. December 2006, 12:27
咋用的,我点击以后是空白的。呵呵。。
刚玩opera,253了~
By panweigang, # 24. August 2006, 06:14:06
------------------
我也有这个问题,是升级IE7之后出现的,这是个人问题还是兼容问题呢?
pingshu # 18. December 2006, 09:03