Hm. I'd need to see your page's code to debug that. I use the exact same technique all the time and it works, so there must be a problem in your code somewhere.
Are you serving both the main page and the greybox page off the same domain? If not, the browser security model won't let your greybox page trigger javascript in the framing page... -- Tyler Style http://malthusian-solutions.com http://nirdvana.com Jeremy wrote: > Hi, > > I setup a GreyBox and everything about it works great except for the > custom close button. I copy/pasted the example from the site: > > <a href="#" onclick="parent.parent.GB_hide();">My Close Button</a> > > ... but when I click on the link I see an error (in FireFox 3) that > says: > > Permission denied to get property Window.GB_hide > > I've tried it in other browsers too and it still doesn't work. > However, the pop-up window shifts slightly for a moment and then goes > back where it was. > > Any thoughts on how to resolve this problem would be appreciated. I > haven't done anything out of the ordinary in setting up this pop-up > box. It's all pretty standard as far as I can tell. :-) > > Thanks! > > Jeremy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

