Closing a Thickbox

Thickbox is this great Javascript framework that helps you showing pictures or having a iframe clearly visible on your website.

For example it can be used to create a disclaimer to be displayed when entering a website.

In order to redirect your visitor to an external website if he doesn't comply with the disclaimer requirement, or to just give access to your website, you need to close the thickbox.

Easy:

<h2><a href="#" onclick="self.parent.tb_remove();self.parent.location='http://www.google.com'">I do <u>not</u> agree</a></h2>

<h2><a href="#" onclick="self.parent.tb_remove();self.parent.location='/'">I agree</a></h2>

Contact Me

Recent comments

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer