PDA

View Full Version : Conveyor Belt slideshow question



Athex
04-13-2008, 11:36 PM
1) Script Title:
Conveyor Belt Slideshow Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm

3) Describe problem:

I love the Conveyor Belt Slideshow script, however 1 question.

How do I get 2 of these to work on one page? I would like 1 conveyor on the top of my page and one at the bottom, but it just doesn't work. only 1 shows up. In place of the other conveyor, it is blank. If I move the mouse over the blank one it pauses the one that shows up.

Some help would be greatly appreciated.

Nile
04-13-2008, 11:38 PM
You'll have to rename every single variable, well from what I understand your gonna need to.

Athex
04-14-2008, 12:58 AM
well i tried changing numbers, but it didn't help.
what i thought to be the apropriate variables anyhow...
not to sure.
my experience with this stuff doesn't go to far.
Any chance you or someone could give me a copy of the script with the proper variables changed?

Nile
04-14-2008, 03:32 AM
I'll get back to your tomorrow if I can remember. But right now, I'm going to.. *falls asleep* zzzz...zzzz...zzz...zzz

Athex
04-14-2008, 06:31 AM
that would be awsome.

Nile
04-15-2008, 01:16 AM
What I suggest doing is having iframes, its much easier then renaming every single variable. And then, say you want to include 3 galleries like that, you can name them g[1].html, g[2].html, and g[3].html. Then use this script:


var galleries = 3; //How many galleries
for(i=0;i<=galleries;i++){
document.write('<iframe src="g['+i+']"></iframe>');
}

Athex
04-15-2008, 01:57 AM
could you please explain further on how to input this code? i don't quite follow on what to do...:confused:

Nile
04-15-2008, 02:00 AM
Alright, don't use that code, you want 2 image galleries, right?
So make one page called, imageg1.html, and one called imageg2.html, then have iframes on your page that you want to display the galleries, this way you don't have to worry about the variables.

Athex
04-16-2008, 02:27 AM
iframes?

Athex
04-16-2008, 02:52 AM
figured it out! ty very much :)