PDA

View Full Version : Trouble with Dynamic iframe and Firefox



aptprone
05-12-2008, 10:30 PM
1) Script Title: Iframe SSI script II

2) Script URL (on DD):

http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm

3) Describe problem:

This script works great on IE, and when previewed locally on Firefox.
When browsed over the web, the overflow of content extends beyond the iframe but will no resize to fit it. check it out here click on medical/surgical dermatology

http://adagiotyler.com/home.html

jscheuer1
05-13-2008, 05:00 AM
It worked for me in FF (possibly due to a very fast connection), but this script doesn't work in Opera (third most used browser) and probably a number of others. Even without resizing, iframe is being deprecated and its support has always been quirky in various browsers. It's not really a very good idea for such an otherwise professional looking page.

If the content you are importing does not have scripts on it, you should consider using AJAX (one possible AJAX script for this):

http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

Or, if your server supports asp or PHP, using includes and refreshing the page to bring each one in.

If all else fails, simply use separate pages with a common header.