Whenever you want to call a method or change a variable in the parent window, use "top." in front of it.
(eg) top.location ='http://moo.com/moo.htm'; I would write a function in your top page to close the greybox using GB_hide() and then open the new one on the next line using whatever call you like from the advanced documentation. -- Tyler Style http://malthusian-solutions.com http://nirdvana.com everdy wrote: > I would like to be able to have a greybox window display, then when > the user clicks on a button have the greybox window close, and open > another one based on some dynamic code. Is it possible to close a > greybox window from the top window? if so, how? > > thnx --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

