I have a pretty basic problem I can t figure out when using jQuery simplemodal: http://www.ericmmartin.com/projects/simplemodal/
http://jsfiddle.net/F5tN9/1/“rel=“nofollow” http://jsfiddle.net/F5tN9/1/。
I want to click a link (see the "Click me" link), and show a modal dialog. However, if I have too much text in the dialog, SimpleModal is resizing the box to be too small so there ends up being scrollbars. I wasn t sure the best way to solve this (maybe force the element height to auto in a callback?), but I figured that this was a pretty basic example and there must be some solution or reason as to why it doesn t work right.