Controlling Spry widget animations with JavaScript


show more Controlling Spry widget animations with JavaScript provides you with in-depth training on Web. Taught by James Williamson as part of the Dreamweaver CS3 Beyond the Basics show less
please wait ...

Controlling Spry widget animations with JavaScript

Customizing widget behaviors does require you to modify a little bit of JavaScript, but you don't have to be a JavaScript hero to start modifying your files. While the default animation looks fine, there might be sometimes where you want to slow it down or speed it up based on the content. So let's first slow our animation down and then we'll see how we can enhance the quality of our animation by actually editing the source JavaScript file. So we slow our animation down by passing along another variable. So, I am going to switch back to Code view and again we are working on the current exercise files. So, if you close that, be sure to open that back up again. And in Code view, I am going to scroll back down to our Line 116. That's where our constructor function is.

We are already passing in a couple of variable so we are just going to add another variable. So I'll put my cursor right after the defaultpanel variable and I'll type in another comma since we are go...

Controlling Spry widget animations with JavaScript
Video duration: 9m 31s 11h 10m Intermediate

Viewers:

Controlling Spry widget animations with JavaScript provides you with in-depth training on Web. Taught by James Williamson as part of the Dreamweaver CS3 Beyond the Basics

Subject:
Web
Software:
Dreamweaver
Author:
please wait ...