Executing Thickbox (or Facebox) for a link
Posted: Sun May 01, 2011 8:39 am
Hello All
I am trying to use thickbox (comes with interspire) or facebox (http://defunkt.io/facebox/) to display my link rather than a simple popup box such as bellow:
<a href="/example.html" onclick="window.open('/example.html','','left='+(screen.availWidth/2-479)+',top='+(screen.availHeight/2-276)+'');return false;"><img src="/images/image.png"></a>
I would prefer using thickbox rather than loading another facebox script. However, can anybody point me out how to do this when I put a simple link in any part of the website?
Thank You
I am trying to use thickbox (comes with interspire) or facebox (http://defunkt.io/facebox/) to display my link rather than a simple popup box such as bellow:
<a href="/example.html" onclick="window.open('/example.html','','left='+(screen.availWidth/2-479)+',top='+(screen.availHeight/2-276)+'');return false;"><img src="/images/image.png"></a>
I would prefer using thickbox rather than loading another facebox script. However, can anybody point me out how to do this when I put a simple link in any part of the website?
Thank You