Safari 4 Beta on Leopard gets the horizontal scroll bar like Erik
mentioned for me too.  I peeked under the hood:

        this.overlay = new Element
                        (
                                'div' ,
                                {
                                        'id' : this.options.myName + '-overlay',
                                        'styles':
                                        {
                                                'display' : 'none',
                                                'position' : 'absolute',
                                                'top' : 0,
                                                'left' : 0,
                                                'opacity' : 0,
                                                'height' : 
window.getScrollHeight() + 'px',
                                                'width' : 
window.getScrollWidth()  + 'px',
                                                'z-index' : 
this.options.myZIndex,
                                                'dummy' : 1
                                        }
                                }
                        );

Don't use window to get the scroll height and width, use
document.body.  I think Safari counts the scroll bar with window, but
not document.body.

I had the same problem with a class I was working on and this worked.

... If that doesn't work, of course you could set the overflow to
hidden.

Looks good, nice work.

On Mar 25, 12:08 pm, Thierry bela nanga <bna...@gmail.com> wrote:
> cool but i'll like you to take a look 
> athttp://www.addthis.com/andhttp://sharethis.com/
>
> 2009/3/25 Fábio Costa <fabiomco...@gmail.com>
>
>
>
>
>
> > cool stuff
>
> > Fábio Miranda Costa
> > Engenheiro de Computação
> >http://meiocodigo.com
>
> > On Wed, Mar 25, 2009 at 1:46 PM, Erik R. Peterson <eriks...@mac.com>wrote:
>
> >> I'm running the latest version of safari.  I'm getting an unnecessary
> >> HORIZONTAL scrollbar:
>
> >> On Mar 25, 2009, at 10:43 AM, somt...@gmail.com wrote:
>
> >>> Tested on Safari, IE6, IE7, FF3, no scrollbars in the network icons
> >>> container. Scrollbars inside network container depend on embedded html
> >>> page width.
>
> >>> On Mar 25, 2:50 pm, "Erik R. Peterson" <eriks...@mac.com> wrote:
>
> >>>> Demo'd it in Safari.  I get a horizontal scrollbar in the parent window.
>
> >>>> Can you remove it?
>
> >>>> Erik
>
> >>>> On Mar 25, 2009, at 9:39 AM, somt...@gmail.com wrote:
>
> >>>>  Hello,
>
> >>>>  I'm please to announce the first release of my socializer plug-in.
>
> >>>>  http://www.ibigin.com/moobuzz/
>
> >>>>  Comments welcome :)
>
> --
> fax : (+33) 08 26 51 94 51

Reply via email to