--0-1049307444-1006440923=:94699
Content-Type: text/plain; charset=us-ascii
The for statement doesn't have a delay. You cannot fade no object using this technique, because the instructions are executed
rapidly, and you have no time to see anything.
For fading effects (and other visual effects) you have to use the filters objects. The IE knows about 30 filters and transitions.
There are amazing and supplies enough visual features. Try the BasicImage filter or the Fade IN / OUT. In MSDN you'll find filters
on every object.
Try to find (on Index tab) the div Object and go to the filters tab. You have many examples and more informations. Good luck!
Daniel O'Dorisio <daniel@o...> wrote: as most of yall have probally figured.. hat code is messed up at the
loop..
that should read colors.length -1 instead of colors[color]
daniel
--
-----------------------------
Daniel O'Dorisio
daniel@o...
www.odorisio-networks.com
-----------------------------
"Daniel O'Dorisio" wrote in message
news:121656@j...
>
> hey,
>
> here is the deal..
>
> i want to fade a block of text out and then fade another block in..
>
> what i am doing is i have a div with the text in it. the fade function
gets
> all the colors that are needed (a little function that i got of an
example),
> and then changes thoes colors in a loop. now i need to pause the color
> change so it is visible.. and you can see the fade effect, how can i do
> this? is there a sleep function or do i have to use setTimeout when i call
> the function and change the loop arround?
>
> my code is similar to:
>
> for (count=0; count<=colors[color]; count++){
> mydiv.style.color = colors[color]
> }
>
> the problem with all the other faders i found on the internet is they are
> automatic, and keep looping. i need to fade between messages based on the
> user clicking a back or next button.
>
> thanks
>
> daniel
>
> --
> -----------------------------
> Daniel O'Dorisio
> daniel@o...
> www.odorisio-networks.com
> -----------------------------
>
>
>
>
---------------------------------
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.