Results 1 to 3 of 3

Thread: IFrame SSI script II Question

  1. #1
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default IFrame SSI script II Question

    IFrame SSI script II

    http://daveb47.com/index.php?categoryid=8

    Using script to display Forum inside pages,Works fine but i am getting a scrollbar with a very small amount of movement on some pages.
    Is there any way to remove this.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The script sometimes will not be able to detect the exact height of the enclosed document, depending on what's in it. In these odd cases you may want to just manually edit the script to add a few more pixels to the iframe height wise:

    Code:
    var FFextraHeight=parseFloat(getFFVersion)>=0.1? 20 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers
    Note the code in red, which adds 4 pixels the default 16 in Mozilla, the browser that most commonly has this problem.

  3. #3
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Fantastic,Problem solved,Many thanks.

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
  •