I'm trying to make display some information in a lightbox using the lightbox plus colorbox inline lightbox. Currently, i have a link, when clicked, a lightbox window pops up and my info is displayed in an iframe. The iframe content is being loaded from a file which is supposed to get the product id from the url, do some database query and display the data accordingly.
however, my lightbox window is not resizing to my iframe width and height. how do i get it to fit shrink to the right size? also, how do i get the product id parameter out from the url in the link?