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 -~----------~----~----~----~------~----~------~--~---

