Results 1 to 1 of 1
Jan 27, 2008, 11:56 #1
- Join Date
- Mar 2004
- 0 Post(s)
- 0 Thread(s)
How to FADE IN objects as page loads
Well, I've worked out one way how to do it: I've installed script.aculo.us and I know I can make an object fade in by adding:
onload="Element.hide(this); new Effect.Appear(this);"
However, I really would like to be able to assign a class to objects (rather than tag every object with the JS, so that when the page loads all objects with that class fade in as they're finished loading I want to mainly use this for images. I just don't know what to do to get this done.
Is there any working sample or demo around that I can have a look at, or
can someone post some relevant code?
Or should I even approach it differently?
I'd be grateful for any help. Many thanks.