Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: scrolling images in a frame - September 01, 1998 at 12:37:28

You are here: irt.org | BBS | Re: scrolling images in a frame [This BBS is closed]

Posted by Martin Webb on September 01, 1998 at 12:37:28:

In Reply to: scrolling images in a frame posted by Eddie on August 23, 1998 at 08:29:32:

: hi
: I am wanting to make a frame with images scrolling down. I have done this
: but problem is I cannot work out how to stop them scrolling because I cannot
: have an infinite amount of images to keep scrolling down. I would like to
: make the images 'bounce', so that when they reach the bottom they scroll
: back up again, then down and so on. This is my script:

: <html><head></head>
: <body onLoad="moveDown ()">
: <script language="JavaScript">

: objectLeftPos = 0;
: objectTopPos = 0;

: function moveDown () {
: if (document.all) {object = object1.style}
: if (document.layers) {object = document.object1}
: if (objectTopPos < 1) {
: objectTopPos -= 10;
: object.top = objectTopPos;
: setTimeout ("moveDown ()",20)
: } else {
: objectTopPos += 10;
: object.top = objectTopPos;
: setTimeout ("moveDown ()",20)
: }
: }

: : <DIV ID="object1" STYLE="width:100;position:absolute;top:0;left:0">
: <img src="67.jpg"><P>
: <img src="1.jpg"><P>
: <img src="567.jpg"><P>
: </DIV></body></html>

: I have tried for hours to make this work but I cannot think of a logical way
: to do it.
: I hope someone can help me

: Thanks
: Steady Eddie

Eddie,

If you can send me the code with some sample images (so I can get the feel of what you are tyring to do ) I'll take a look at it for you.

send to martin@irt.org
Follow-ups:

You are here: irt.org | BBS | Re: scrolling images in a frame [This BBS is closed]

©2018 Martin Webb