[Dojo-interest] beginning my adventure (toggle="fade')

Robert Coup robert.coup at onetrackmind.co.nz
Mon Feb 19 19:30:41 MST 2007


Gef Tremblay wrote:
> Thanks that will get me going for a little while :) 
>   
>> ----- Original Message -----
>> From: "Karl Tiedt" <ktiedt at gmail.com>
>> To: dojo-interest at dojotoolkit.org
>> Subject: Re: [Dojo-interest] beginning my adventure (toggle="fade')
>> Date: Mon, 19 Feb 2007 18:39:45 -0700
>>
>>
>> short answer is, toggle="" does nothing since that is a property of the
>> dojo.widget classes. For non widgets, use dojo.lfx.* look in the /tests/lfx/
>> dir for examples
>>     
Specifically you could try:
    dojo.lfx.html.fadeShow(node, [duration in ms])
    dojo.lfx.html.fadeHide(node, [duration in ms])

The dojo animation stuff is very powerful and can be pretty daunting. 
Most of the arguments are optional though, so if in doubt leave them out.

Rob :)


More information about the Dojo-interest mailing list