RE: Autoscrolling

by Rebecca Campbell <rcampbel(at)standard.com>

 Date:  Wed, 26 Jan 2000 09:27:23 -0800
 To:  "'Nancy Whittley'" <jnwhittley(at)fuse.net>,
HWG Techniques <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
yes, it is possible.  i've seen it done using javascript, although it's not
out on that site anymore, so i'm not sure what their code was.  i've used
the scrollBy() before, with success.  i don't have time to look into it too
much now, but you should be able to do this using scrollBy() function.  an
example of what this might look like is:

<script language=javascript>
  function scrollMe() {
    picture = new Image();
    picture.src = "mygif.gif";

    scrollBy(x,y)  // x is horizontal pixels, y is vertical pixels
  }
</script>

then, in your body tag would look something like <body onLoad="scrollMe()"
background...>
you can also use the setInterval or setTimeout functions to repeat the
scrollBy...  

hth,
-rebecca
http://www.nerdygirl.com

-----Original Message-----
From: Nancy Whittley [mailto:jnwhittley(at)fuse.net]
Sent: Tuesday, January 25, 2000 4:39 AM
To: HWG Techniques
Subject: Autoscrolling


Hello,

Does anyone know if it is possible to have a page auto scroll to the right
ever so slowly?  I have an image that is two pages wide about 1000 pixels
wide and the effect I want is to have the page come up, and hesitate long
enough for the image to load, and then before the person has a chance to
do it, I would like it to start scrolling to the right...  Is this possible
or am
I wanting something that is really out there?

Sincerely,

Nancy Whittley
Ohio Web Design
http://www.ohiowebdesign.com

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.