在Firefox扩展中复制Google Chrome浏览器浏览器操作popup效果 [英] Replicating Google Chrome Browser Actions popup Effect in a Firefox Extension
问题描述
死的ImageShack图像链接被移除 单击工具栏图标可以显示一个很好的动画,可以打开弹出的html文件。
$ b
有关如何使用Firefox扩展近似这种效果的想法?有没有人成功实现了类似这种效果?
谢谢。
<如果有人正在研究这个问题,并试图找出答案,最终使用browser.xul文件的工具栏面板中的一个面板为我工作得很好。
Chrome Browser Actions provide a really nice popup effect by default.
dead ImageShack image link removed
Hovering over the toolbar icon provides a neat hover effect.
Clicking the toolbar icon shows a nice animation that opens the popup html file.
The popup is aligned with the button that is pressed.
Clicking the toolbar icon again fades out the popup.
Any thoughts on how to approximate this effect with Firefox extensions? Has anybody successfully achieved something similar to this effect?
Thanks.
In case anybody is researching this and trying to find out the answer, ultimately using a panel within the toolbarpalette in the browser.xul file worked well for me.
这篇关于在Firefox扩展中复制Google Chrome浏览器浏览器操作popup效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!