02.06.2013 Views

jQuery 1.4 Animation Techniques - Index of

jQuery 1.4 Animation Techniques - Index of

jQuery 1.4 Animation Techniques - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Pop quiz – using the matrix<br />

1. The CSS3 matrix transform function is useful in which situation?<br />

a. When we want to work in radians instead <strong>of</strong> degrees<br />

b. When we need to animate a transform function<br />

c. When we want to apply more than one transform function to an element<br />

d. When coding for Internet Explorer<br />

[ 263 ]<br />

Chapter 9<br />

2. In the transform function matrix(a, b, c, d, e, f), which parameters refer to<br />

the element's translation?<br />

a. a and b<br />

b. a and d<br />

c. b and c<br />

d. e and f<br />

Have a go hero – extending matrix animation<br />

It would definitely be beneficial to build this example so that it incorporated progressive<br />

enhancement. Work on an alternative, accessible layout that works with scripting disabled,<br />

and then convert the widget into the format used in this example.<br />

You could also work on a more suitable fallback for IE, in which the example uses a simpler<br />

image viewer, perhaps one <strong>of</strong> those looked at earlier in the book.<br />

Summary<br />

In this chapter we look at the new CSS3 transform style property in detail, covering all <strong>of</strong> the<br />

different transform functions including:<br />

matrix<br />

rotate<br />

scale<br />

scaleX<br />

scaleY<br />

skew<br />

skewX<br />

skewY

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!