[Companion] Menu-button fix

Ryan McHale ryan.mchale at gmail.com
Wed Sep 15 18:30:37 EDT 2004


Hello,

  This seems to work for me!

Thanks!

Ryan


On Wed, 15 Sep 2004 13:20:13 -0700 (PDT), Brian Erst
<azzipsderf-companion at yahoo.com> wrote:
> Attached is a new yahootoolbar.jar. It is built off of Brian Kennelly's
> latest build from 9/15 (the 9:11:50 build).
> 
> This version of the Companion toolbar fixes the menu-button problems
> that appeared in Firefox 0.9 and above. The toolbar menu-buttons (i.e.
> My Yahoo!, Mail, Finance, etc.) will now display in a horizontal (icon
> to the left) orientation and will work as both a button and as a menu.
> 
> The changes came in two files. In class_CompanionDisplayer.js, I
> removed the button.setAttribute("orient", "horizontal") line. The
> "orient" attribute is buggy in Firefox.
> 
> The second change is in yahootoolbar.css. I had to modify the
> menubutton orientation at the CSS level. The following lines were added
> to this file:
> 
> toolbarbutton.yahoobuttonmenu >
> .toolbarbutton-menubutton-button {
>   -moz-box-orient: horizontal;
> }
> 
> With these two changes, the Brian Kennelly version of Companion (I
> think we're calling it 0.53) displays beautifully in Firefox. Moz Suite
> users should test to make sure it look good there as well.
> 
> - Brian Erst
> 
> 
> _______________________________________________
> Companion mailing list
> Companion at mozdev.org
> http://mozdev.org/mailman/listinfo/companion
> 
> 
> 
> 
>


More information about the Companion mailing list