No words wasted! Getting to the point about the work I do, the problems I deal with, and some links to posts about where I work.
Translate
Monday, December 5, 2011
ColorBox Resize After Ajax Page Update
In an application that I'm developing I use ColorBox to display a modal dialog to edit a SQL record. When the edits are saved the Ajax result is used to display message to confirm that the record was edited. The inserted message causes the container inside the dialog box to expand beyond the current height. The solution is to adjust the dimensions of the box by calling "$.colorbox.resize();" when the post is completed.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thank you for commenting!