function resizeTBPopup(width, height){ if($('TB_ajaxContent')){ TB_WIDTH = (width*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL TB_HEIGHT = (height*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL $('TB_ajaxContent').style.height = TB_HEIGHT - 45 + 'px'; tb_position(); } }
No hay comentarios:
Publicar un comentario