You are here: irt.org | About | Feedback | 3601 [ previous next ]
Feedback on:
irt.org FAQ Knowledge Base Q1739
Sent by
Mark Szlazak on February 17, 2002 at 01:41:04:
Worth:
Worth reading
Length:
Too short
Comments:
The spacer gif doesn't work very well. It fails if your layer content extends beyond the gifs size, just like in the example you have provided. Enough space is provided to scroll to only line 155.
The way you do it dynamically in script for NN4 is by setting the document.height property. In your example, assign the sum of pageY and clip.height of the layer to document.height. Here's the code that gives full scrolling.
<html>
<head>
<title>Too long, or not long enough?</title>
<script language="javascript1.2"></script>
</head>
<body>
<form name="fillForm">
<input type="button" value="Fill" onclick="fillDiv()">
</form>
<div id="dynamicDiv" style="position: absolute;"></div>
</body>
</html>
Other feedback on 'irt.org FAQ Knowledge Base Q1739' - show all