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
Post a Comment