Scrolling depends on where on the page your mouse is, usually, and/or
which element has focus.  So fullpage means your mouse is always over
the greybox, so the greybox always scrolls.  With a smaller box,
moving the mouse out of the box will result in the outer page
responding to the scroll command.

So you can certainly add code to keep the greybox on the top of the
framing page, so that it will be in view regardless of where scrolling
is happening.  You can google for such code and turn up tons of
examples.  Applying it to greybox will be a bit tricky tho.

Tyler Style
http://www.nirdvana.com

On Dec 9, 3:39 pm, Sudarshan Muralidhar
<[EMAIL PROTECTED]> wrote:
> Thanks
> For the scrolling - when you scroll with a fullscreen greybox, it stys
> on the screen. Is there not a quick fix with which I can make a
> centered greybox do the same?
>
> On Dec 9, 11:41 am, Logos <[EMAIL PROTECTED]> wrote:
>
> > On Dec 8, 6:08 am, Sudarshan Muralidhar
>
> > <[EMAIL PROTECTED]> wrote:
> > > Is it possible to have a centered 500 x 500 grey box move up and down
> > > the screen as you scroll vertically?
>
> > Yes, but would take some fancy coding, especially to make it cross
> > browser compatible.  Why would anyone want to scroll the page with the
> > grey box on it tho?  It's meant to be a modal window - the background
> > page is inaccessible when it's displayed.
>
> > > And how can I close the greybox by clicking outside it? (instead of
> > > clicking on the x - is there some kind of code for that?)
>
> > Yes, there is a flag you can set in gb_scripts.js:
> > this.overlay_click_close=true;
>
> > See alsohttp://orangoo.com/labs/GreyBox/FAQ/#q5
>
> > Tyler Stylehttp://www.nirdvana.com
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GreyBox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to