You can put a button in your "popup" window that will close it. The
onclick JS is what does the magic.
<form><input type="button" value="CLOSE WINDOW"
onclick="parent.parent.GB_hide();"></form>
As for disabling the close button in the top right corner of the
popup... the only way I found to do it was by changing the style sheet
to not display the close button.
You do this by opening up /greybox/gb_styles.css
Change the following CSS line to CSS (about line 139)
.GB_Window .close { text-align: right; display:none;}
This was the easiest way. I found no docs to do it through the J.S.
init code.
Good luck.
On Aug 1, 3:33 am, Gertus <[EMAIL PROTECTED]> wrote:
> Hi,
>
> if I prefer to use my own close button to the standard greybox close
> button, how do I do that?
>
> Gert
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---