PDA

View Full Version : close thick box after event



paul_sufc
03-25-2009, 09:59 PM
Im using the thickbox control in my page.
http://jquery.com/demo/thickbox/

The command in my page for the thickbox to open is


<a href="offer1.PHP?keepThis=true&TB_iframe=true&height=500&width=800" title="Complete this quick survey to continue watching the film!" class="thickbox">Example 1</a>

As you can see i use the class thickbox to open it.

Anyway i need the thickbox to close when it goes to a certain url.

For example i set it to close at google.com, so when i go to google.com it closes the thickbox.

Please help.