Image conveyor belt in Javascript

For general computer discussion & help, come here

Moderators: Bakhtosh, EvilHomer3k

Post Reply
User avatar
Peacedog
Posts: 13148
Joined: Tue Oct 12, 2004 7:11 pm
Location: Despair, level 5
Contact:

Image conveyor belt in Javascript

Post by Peacedog »

I need a javascript to do a conveyor belt that can be scrolled left or right. I need to be able to click on any given image and display a larger version of it as well. Scrolling only takes place when the propler location is moused over (pictures of a left and right arrow, natch).

I was given a modifed version of this Dynamic Drive script. The modified version has the images still until you mouse over the relevant place. You can click on an image and get it displayed elsewhere.

Problem is, it only goes one way, and it hasn't proven easy to add going the other way into it.

I've been scouring the web but so far I haven't come up with anything. Any ideas?
User avatar
EvilHomer3k
Forum Moderator
Posts: 7924
Joined: Tue Oct 12, 2004 10:45 pm
Location: Cedar Rapids, IA

Post by EvilHomer3k »

http://www.dyn-web.com/dhtml/scroll/

http://www.dyn-web.com/dhtml/scroll/speed-opts.html

The second one should have a lot of the code you need. The first one has more options and explains things.
User avatar
Peacedog
Posts: 13148
Joined: Tue Oct 12, 2004 7:11 pm
Location: Despair, level 5
Contact:

Post by Peacedog »

I forgot to add that I need it to loop and scroll continuously. That said, that's a pretty good and clean script. I'll see what I can do with it (famouse last words?).
Post Reply