在Firefox扩展中复制Google Chrome浏览器浏览器操作popup效果 [英] Replicating Google Chrome Browser Actions popup Effect in a Firefox Extension

查看:170
本文介绍了在Firefox扩展中复制Google Chrome浏览器浏览器操作popup效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Chrome浏览器操作默认提供了一个非常好的弹出效果。

死的ImageShack图像链接被移除
$ b


  • <将鼠标悬停在工具栏图标上可以提供整洁的悬停效果。
  • 单击工具栏图标可以显示一个很好的动画,可以打开弹出的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆