PDA

View Full Version : IFrame SSI script II Question



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

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.

ddadmin
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.

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