javascript - How to resize nyroModal once content height/width has been changed -


i using nyromodal show modal window. works fine when initial content showed. in content have jquery toggle method, makes visible other sections.

i want modal auto resize new content area. how can implement that.

i haven't tried this, nyromodal listens window resize events resize modal, maybe triggering 1 here. e.g.

$(window).resize(); 

however if "modal window" iframe, nyromodal won't know size resize modal to.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -