13.02.2013 Views

WEB STANDARDS CREATIVITY

WEB STANDARDS CREATIVITY

WEB STANDARDS CREATIVITY

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

DOM Scripting Gems<br />

What book on web standards would be complete without some DOM scripting<br />

examples? That’s why I’ve dedicated the last part of this book to dynamic<br />

scripting techniques for improving your users’ experience.<br />

I’ve deliberately tried to choose techniques that aren’t too scary for the<br />

more designy and less developy types among you—don’t be afraid to get<br />

your hands dirty with some JavaScript!<br />

Ian starts off by showing us his technique for saving the world: by using DOM<br />

scripting to specify that only the important parts of a web page get printed,<br />

we avoid wasted paper and hassle.<br />

Next up, Cameron demonstrates that it’s not that difficult to provide your<br />

users with a more dynamic interactive environment on your web pages by<br />

using a little well-placed scripting. During the course of his case study, he<br />

builds up a dynamic user interface that will adjust itself for optimum viewing,<br />

no matter what resolution/platform the user is using to visit your site. He<br />

also shows how to create an interface that the user can customize, by moving<br />

content around in different palettes.<br />

Last but not least, Derek shows how to implement an attractive sliding site<br />

navigation menu that retains accessibility. I wanted to include some coverage<br />

of scripting and accessibility in the book, as it’s a hot topic. Ajax especially<br />

can cause havoc for the accessibility of pages, and we need to be careful not<br />

to shut out users with disabilities.<br />

part 3

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

Saved successfully!

Ooh no, something went wrong!