PDA

View Full Version : Manual Scroller



journey
08-16-2007, 04:43 PM
1) Script Title: Manual Scroller

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/manualscroll.htm

3) Describe problem: I installed the script and it works nifty. I have a small problem, though. It doesn't scroll my whole page, it stops in the middle. I don't know where the bug is since I set height for a really big size. Could you help me?

Here's part of coding:


if (iens6){
document.write('<div id="scroll" style="position:relative;width:410px;height:350px;overflow:hidden;">')
document.write('<div id="content" style="position:absolute;width:410px;height:1500;left:0px;top:0px;">')
}
</script>

<ilayer name="nsscroll" width=410 height=1500 clip="0,0,410,1500">
<layer name="nscontent" width=410 height=1500 visibility=hidden>

journey
08-17-2007, 09:42 AM
Hello? Anyone can help me?

journey
08-17-2007, 10:34 AM
Ok, I solved it myself. I had to change one line into this:


document.write('<div id="content" style="position:absolute;width:410px;height:auto;left:0px;top:0px;">')
}