ngalford

wipe function

Discussion created by ngalford on Jul 12, 2012
Latest reply on Jul 12, 2012 by sli-esristaff
I'm building a wipe function and I can't get it to wipe back in. I feel like I'm missing something small. I'm still new to javascript and dojo so any help would be great.

THANKS,

Wipe = function () 
    {
    if(LegendWrapper.display=!"none")
    {
        dojo.fx.wipeIn({
            node: "LegendWrapper",
            duration: 300
        }).play();
    }
    else{
    dojo.fx.wipeOut({
            node: "LegendWrapper",
            duration: 300
        }).play();
    }
    }

Outcomes