Login Register

fx.wipeIn, fx.wipeOut

Due to the mainframe that I'm currently working with, it seems to be a problem with me inserting extra functions to get the wipeIn/wipeOut to be able to slide horizontally. The two files that I was changing was the dojo/fx.js and dojo/NodeList-fx.js. However I know there is a much better way to accomplish this task, by possibly adding a switch as a parameter to tell whether or not you want a vertical slide much like what dojo provides for you or a horizontal slide.

in the wipeIn function there is a part of code that is
var height = dojo.style(node, "height");
this being for sliding vertically obviously. To accomplish the horizontal slide,
var width = dojo.style(node, "width");
and of course return the correct variable.

Since I have not signed the document to update dojo directly, I was wondering if someone who has done so, please implement this so we can get it into Dojo and then I might possibly be able to install it on the mainframe in which I'm currently using. It's kind of a funny setup that I'm dealing with and if I could just edit the code and let it go I would but I can't so I shant.

If you have any ideas on this topic, please post, all positive ideas are welcomed :) If you know of a way that Dojo already implements this and I have overlooked it, please let me know :)

Jason

The is a dojox.fx variant

The is a dojox.fx variant that allows this, though you have to wipeTo a specific height or width:

http://api-staging.dojotoolkit.org/dojox.fx.wipeTo

http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/fx/tests/test_w...

Hope this helps.

Regards,
Peter Higgins

Thanks for the reply, this

Thanks for the reply, this tells me that it must of been implemented in the newer dojo version which i'm not using. I was still using 1.0.2 which it looks like I'll be upgrading soon :) thanks for the quick reply!

Auto-Owners Insurance Company
Jason Easterday
Associate Programmer

Little Help

Can any one provide sample code as to how to use these fx. I m totally new to this n i seem to be totally lost

The QuickStart guide covers

The QuickStart guide covers animations fairly well. All the animations follow the same API/usage, so once you understand one and the basics of the underlying animation object, there is no limit to the potential.

http://sitepen.com/labs/guides/?guide=DojoQuickStart