Results 1 to 2 of 2

Thread: Trouble with Dynamic iframe and Firefox

  1. #1
    Join Date
    May 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Trouble with Dynamic iframe and Firefox

    1) Script Title: Iframe SSI script II

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamici...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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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/dynamici...jaxcontent.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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •