jquery thickbox height problem
Posted
by Swami
on Stack Overflow
See other posts from Stack Overflow
or by Swami
Published on 2010-05-26T19:37:59Z
Indexed on
2010/05/26
19:41 UTC
Read the original article
Hit count: 304
My thickbox renders correctly in my dev environment, but in prod, the default height kicks in even though I'm supplying width and height params.
TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL
TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL
ajaxContentW = TB_WIDTH - 30;
ajaxContentH = TB_HEIGHT - 45;
Any thoughts on why this might be happening?
© Stack Overflow or respective owner