Thanks for the reply. Can you elaborate on "create a function"? An
example? I am not a coder so this is still beyond my understanding?

On Sep 28, 6:28 am, Logos <[EMAIL PROTECTED]> wrote:
> Yes, it's quite simple.
>
> On your main page, create a function such as switchGB() that takes the
> same parameters as the greybox function that you will be calling.
> Then add the close greybox (GB_hide) command.  Then add the greybox
> command of your choice, supplying it with the parameters passed into
> the main function.  Be sure to return false to avoid any onclick
> oddities.
>
> On your greybox page in the onclick, add "top.switchGB(blah, blah,
> blah); ".  Top refers to the main (parent) window.
>
> Hope that's what you're looking for!
>
> Tyler
>
> On Sep 27, 10:05 am, sugar <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I'm no code wiz but I have had GreyBox installed and working fine. Now
> > I need to have an open GreyBox window resize itself when a button in
> > the window is pressed.
>
> > What I mean is: I have GreyBox open a window that loads an HTML page
> > with a disclaimer. At the bottom of the disclaimer is a button that
> > says "I agree". When they click on the button it loads a linked "thank
> > you" page in the GreyBox window. It looks silly having a fairly large
> > window to simply say thank you, so I want GreyBox to resize smaller
> > when it loads the thankyou.html page.
>
> > I've looked through the posts here and the GreyBox site but can't
> > figure out how to do this. Can someone explain it and in simple terms
> > for me to understand?
>
> > Thank you!
--~--~---------~--~----~------------~-------~--~----~
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