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 at
http://www.4guysfromrolla.com/webtech/100604-1.shtml)

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