For implementing Thickbox in our project, the required steps are,
After that, we need to add HTML elements with appropriate attribute name and value to trigger ThickBox display.
In this example, we are using <a> element to trigger ThickBox. In this anchor element, we should add class attribute having the thick box as its value (class=”checkbox”). In the anchors, href we have given a larger image ad, it will be shown as content in the overlay popup. HTML code will be,
If no dimension is provided for the ThickBox, then it will be 630px X 440px by default.
This jQuery code tutorial was published on November 27, 2013.