Attach a click handler with this bit of code to whatever element should close the thickbox.
window.top.tb_remove(); On Jul 9, 3:57 pm, DRoss <[EMAIL PROTECTED]> wrote: > Hi all, > > Two part question: > > We are using thickbox for an 'Add to shopping basket' modal window. > There are two buttons in the thickbox window; one for adding the > product to the basket and the second button ('Return to shopping') > which closes the thickbox window. I am removing the "Close"/Esc bar at > the top per my company's wish. I am new with javascript and need to be > able to have that 'Return to shopping' button close the thickbox > window. Any easy way to accomplish this? > > Also, when clicking outside of the thickbox window currently and by > default the thickbox window closes. I need to disable that so the only > way to close the window is using the "Return to Shopping" button. > > Thank you for any help, > David