View Full Version : IFrame SSI script II Question

08-31-2007, 08:05 PM
IFrame SSI script II (http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm)


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.

09-01-2007, 09:08 AM
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:

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.

09-01-2007, 12:52 PM
Fantastic,Problem solved,Many thanks.