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 also http://orangoo.com/labs/GreyBox/FAQ/#q5

Tyler Style
http://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