I have an anchor with this function connected to its onclick:
function doToggles()
{ if( this.toggles )
{ for( var c = 0; c < this.toggles.length; c++ )
{ MochiKit.Visual.toggle( this.toggles[c] ); }
}
}
When I click the anchor, only the first element in the DOM tree gets
toggled. Logging shows that this.toggles has all the elements and
Visual.toggle is called on each., but only one ever switches. Happens
in IE and FF on Windows, haven't tested anywhere else.
Can there only be one toggle effect going on at a time?
Any suggestions?
Regards,
--Dean
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---