On Fri, May 2, 2014 at 10:44 AM, Tim Spindler <[email protected]> wrote:

> Beyond the issues that Dan points out with iframes (which I agree may not
> be an issue in a webbased staff client like SEO).  One problem I have had
> with iframes is that they can force some awkward scrolling on smaller
> display sizes.  Is there a way to fix that if iframes were used?
>

There are ways to avoid nested scroll bars.  Following the example at
http://stackoverflow.com/questions/34655/making-an-iframe-take-vertical-spaceI
created a sample page with a dummy header and the catalog within an
iframe:

https://bill-dev2.esilibrary.com/~berick/cat.html

The height of the iframe is calculated at load time and modified to match
the height of the loaded content.  It seems to work pretty well.

-b

-- 
Bill Erickson
| Senior Software Developer
| phone: 877-OPEN-ILS (673-6457)
| email: [email protected]
| web: http://esilibrary.com
| Equinox Software, Inc. / The Open Source Experts

Reply via email to