PDA

View Full Version : image slider



Kcirtap
02-25-2005, 01:23 PM
Hello,

I have been taking a close look at the the image slider script.

http://www.dynamicdrive.com/dynamicindex14/dhtmlslide.htm

I more a less understand it. In fact what I can't work out, is where on earth does the "photoslider" object comes from.

I understand "document" and or "image" are built-in objects. But looking for javascript specs and references, I can't find anything about "photoslider" and it's properties or methods.

I would like to fond out where I can find some reference about this piece of code in order to work out really what methods and properties are available for photslider, and above all, a description of how they work.

photoslider.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider.filters.revealTrans.stop()
photoslider.filters.revealTrans.apply()

Roaming the web, I have seen that this piece of code is used extensively, but how can I reallyunderstand it and find all other methods and properties for photoslider?

Cheers

speedracer
02-25-2005, 09:57 PM
i think "photoslider" is a name attribute

found here:

<img src="'+photos[0]+'" name="photoslider"

bigthink
02-12-2006, 06:00 PM
How in the world do I change this from a random effect to just Fade?