View Full Version : Scrollable Content II
Hi, and thanks for the free scripts.
Could you please tell me what I need to change in the script so that there is not so much of a blank space at the bottom of the scroll page? The script is working fine except that I've got about 250 pixels of space at the bottom that I don't seem to be able to get rid of.
Thanks again,
J
jscheuer1
09-15-2005, 09:13 AM
Do you have that problem with the demo page here on Dynamic Drive?
whatever
.
My site's currently in hiatus but I've uploaded a sample page here:
Test Page (http://tack.freewebspace.com/a.htm)
jscheuer1
09-15-2005, 04:53 PM
I think that is more content, different content, wider and taller content than the script author had in mind. Not to worry, a simple adjustment to the script will make it work more sensibly in this particular case. I hope that will satisfy you. Using other content may require a different adjustment to this value or a return to its default. Anyways, in the main script section for this script, in the function movedown(), find this line:
if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100))I just changed it to this:
if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+300))and it seemed to work fine. In case you are wondering, this figure represents the number of pixels to be trimmed off of the content's 'apparent height to the browser' when calculating the lower limit for scrolling.
Oh, thanks so much!
I thought that number represented how much it was adding on, so I was reducing the figure (with no results).
Thanks again!
:D
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.