overstimulate

Fixed AJAX Fade on comments

Mon, 18 Apr 2005 comments

As Schubert pointed out, my comments where fading to white, which left a lot to be desired.

I hacked the javascript to Fade To Anything (although the end color is stored in a variable it is not a passed parameter to the Fade function yet).

I basically do:

(this.r_start + (current*(this.r_end - this.r_start)/6)).toColorPart()

for each color, have fun!


Responses to "Fixed AJAX Fade on comments"

Leave a response

My Card Add to your Address Book

Jesse Andrews
open source, web browsers, web services, web sites & folk dancing. contacts/sites

Keep Up To Date

Get updates via RSS or
get email when I blog

Previous Blog Posts