PDA

View Full Version : pixelate script with different sets of pics on one page



BeatWeezl
06-26-2005, 01:21 AM
http://www.dynamicdrive.com/dynamicindex14/pixelate.htm

uh-oh, I hope this doesnt count as one of the types of questions mentioned in the sticky.

I'm trying to get 3 instances of this to work on one page each with a different set of pictures. Isn't there a way I can just name 3 different arrays and fill them each with different pics?

Thanks

jscheuer1
06-26-2005, 02:56 AM
.

Aside from the tutorial above which usually is the solution when the problem is two different scripts, you may need to consult:

http://www.howtocreate.co.uk/tutorials/index.php?tut=0&part=0&TOshow=allshow#refcon

Which explains how two scripts on the same page may not use the same set of variable names, id names, etc. This is especially important if the problem is two copies of the same script on a page.

One other approach that works in both situations is to put one script in a borderless iframe. It will look like it is on the same page but, since it really is on a separate page, conflicts are no longer an issue.