Simulate a mouse click using Dojo with Larry

The next video in the Dojo series where I go through animating a mouse click with Dojo. The key functions used are the Dojo query and fx.animateProperty functions. Larry was pretty talkative in this one, he even answered me a couple of times.

Click here for the JSFiddle

Advertisements

Simulate moving a cursor in Dojo with Larry

Larry is definitely settling in on the perch with the green screen. I always have snacks in his bowls and he hasn’t touched them much. I guess he decided to sit by and snack while we record.

Continuing on from the previous video here we implement a moveto function in our simulator.  There is one fix in the code, I removed these two lines as I realized I did not need them:

var l = Math.round(aPos.x);
var t = Math.round(aPos.y);

Check out the jsFiddle here.

 

Simulate typing text using Dojo with Larry

This was a pretty funny video, Larry is definitely becoming more comfortable in front of the camera. He says a lot of new phrases and a couple of swears in this one.

So this is the first part in a three part series where I essentially do the same thing I did in the jQuery series. One difference is I start with the typing text emulator. With the Dojo query API it is very easy because it uses the same CSS3 convention jQuery uses.
Click here for the jsFiddle

 

Blog at WordPress.com.

Up ↑

%d bloggers like this: