I see, but most of the time, on responsive sites, your window is resized, before opening the popup.
But you can check out some alternatives, like http://fancyapps.com/fancybox/ which is more responsive (but not free for commercial use), but I guess you should probably be also change the css, using the onresize event. On Fri, Jun 8, 2012 at 4:26 PM, C.L. Simco <[email protected]>wrote: > Thanks Barry > > You are of course correct. I kept working on this after your last > suggestion and ultimately discovered the problem was partly with my > incomplete understanding of the language (jQuery), perhaps a limitation of > colorbox, and the method I was using to test. > > Keeping at it I am starting to understand the language a little more. > > The method for testing was a big part of my perception that It was not > working. I was loading the modal into a full sized window then shrinking > the window to simulate a phone screen. Modal would load fine but then would > extend out of the viewing area of the browser causing the need for > scrolling, in the re-sized window. > > The modal that bootstrap uses (from the docs / examples) will re-size on > the fly. I was expecting and not getting the same from colorbox. Loading > colorbox into a window ALREADY re-sized works fine. That may be a > limitation of colorbox OR, just that I have not learned enough to modify it > to behave as the bootstrap modal. > > I find that the bootstrap modal shrinks proportionally keeping in tact the > areas for text readability whereas colorbox (at this point in my knowledge) > will not dynamically or natively extend or wrap a long line of text in the > nav and title areas. > > In essence what I want to achieve is the best of both the bootstrap modal > and the color box. > > Your nudge in the right direction from your previous post helped me > understand this. Thanks again, and perhaps this will help someone else too. >
