Found GB_hide and edited that.
Though making it dynamic isn't as easy as I thought. :)

Also one odd note:
The functions that power the two ways to show a page in a centered GB
box...
Have the width / height parameters in different order. That's a
headache. :)

 GB_showCenter(caption, url, /* optional */ height, width,
callback_fn)

gb_page_center[WIDTH, HEIGHT]





methods of showing a centered page...
seem to have the
On Dec 8, 2:09 pm, dougyitbos <[EMAIL PROTECTED]> wrote:
> Hmmm having a hard time finding the close function so I can edit what
> happens whens someone closes the GB.
> I assume it's in gb_scripts.js but I'm also checking AJS.js?
>
> On Dec 7, 8:57 am, Logos <[EMAIL PROTECTED]> wrote:
>
> > Hey Doug!
>
> > On Dec 6, 8:34 am, dougyitbos <[EMAIL PROTECTED]> wrote:
>
> > > 1) Can you edit the "close" link that GB generates?
> > > I'd like to specify a URL on the close link instead of just hiding the
> > > box.
> > > I'd like to keep the "toolbar" as demonstrated in the examples page so
> > > I can load a page in the GB let them click around in there - and then
> > > close the GB when they are done.
>
> > Yes, you can edit it by diving into the code no problems.  Remember to
> > use 'top' to do your location change if it's the outermost page you
> > want to change the URL for.
>
> > > 2) Is anybody triggering the GB to show up as an "exit notice"
> > > For example someone tries to leave the page and they see a "wait a sec
> > > you didn't complete this" message?
>
> > I think that unless the element being present is modal, thus halting
> > all operations until an user repsonds to it, what will happen is that
> > the greybox will be displayed and then (since it is not modal) the
> > browser will continue to unload the page.  I've only ever seen sites
> > use an alertbox in onbeforeunload.  (there's a nice little tutorial 
> > athttp://www.4guysfromrolla.com/webtech/100604-1.shtml)
>
> > 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