Old 19-12-2007, 11:16   #1 (permalink)
wheedwacker
competitionmaster 2.0
 
wheedwacker's Avatar
 
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?
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8