Results 1 to 3 of 3

Thread: Iframe SSI script II FireFox Compatibility

  1. #1
    Join Date
    Jan 2006
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Iframe SSI script II FireFox Compatibility

    1) Script Title: Iframe SSI script II

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex17/iframessi2.htm

    3) Describe problem: I'm using this script and it works great in IE. I noticed the note about FireFox. The frame expands but not for the full contents of the page. Just a tad gets cut off that results in the iframes scrollbars showing. Is it supose to do that in FireFox? Anyway to get rid of the scrollbars in FireFox?

  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

    You can try increasing the red number in the below:

    Code:
    var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
    var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers
    But, as this script was written well before current versions of FF and uses 'sniffing' to determine whether or not to apply that number, all bets are off without testing.
    - John
    ________________________

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

  3. #3
    Join Date
    Jan 2006
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you... that seemed to do the trick.... well sort of. LOL

    Changing the number helped but the scrollbars do show on the iframe while the iframe loads but after it loads in full the scrollbars vanish. I can live with that.

    You can see what I mean here at my test location:
    http://www.crochuntress.com/GOF.html

    IE works good.

    Thank you for your help!

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
  •