I use JQuery ThickBox 3.1 to show my Iframed Content as popup window .
<a href="popUp.aspx?id=<%#Eval("id")%>&TB_iframe=true&height=600&width=800"
title='<%#Eval("Title")%>' class="thickbox">
<img id="thumbnailImage" runat="server" src='<%#Eval("ImagePath")%>'
alt="Single Image" width="180" style="max-height:220px"/></a></div>
When I click 'thumbnailImage' , the page 'popUp.aspx' will show as a popup window .
As you see , i give the size of popup window to height=600&width=800"
,
but I have a table with( width:auto ) , thus the width of my table may change dynamically !
I want to know how to set the value of thickBox's width and height to auto
.
You can see thickBox's css file and javascript file !