| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
competitionmaster 2.0
Join Date: Oct 2006
Location: USA
Posts: 1,419
|
help with mootools
Here is the javascript: document.getElementById('subnav').innerHTML = "<a href='#'>History</a>"; var two = $ES('a', 'subnav').each.effect('color', {duration:500}); two.start('233490'); The CSS has the color of <a>s to be #fff. I want it to (after changing the content of the #subnav div, to make all of the <a>tags fade into the color #233490. When I use the above code, there is an error that .start can't be applied to the above object. How do I get it to work? |
|
|
|
![]() |