I'm writing an admin plugin which produces a pop up to give the user a preview of content.
I tried to use thickbox as suggested here - http://codex.wordpress.org/ThickBox but it does not respect dimensions.
My questions are - is this just broken, should i go custom, or is there now a better way to do this?
Thanks in advance,
<?php add_thickbox(); ?> <a href='#TB_inline?width=400&height=400&inlineId=preview' class='thickbox'>View all<a>"; <div id='preview' style='display:none;'></div>