26.05.2015 Views

o_19m7st4t316nvv6a1bg63l10e4a.pdf

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

getElementByID.<br />

Should I Use It?<br />

The question remains over just how useful this is: it's certainly good for<br />

some applications where users would otherwise have to submit data over<br />

and over again, but it's not much use for smaller ones. AJAX coding has a<br />

tendency to take a lot of time, especially the first time you try it, and this is<br />

often time that could have been better spent on other parts of the project. In<br />

short, don't be afraid of AJAX, but make sure you use it when you find a<br />

project that's well-suited to asynchronous transfer – don't go trying to fit<br />

AJAX to a website that doesn't suit it, just because you think it's cool.<br />

Chapter 27: The Web Designer's Toolbox.<br />

When you're a web designer, there are lots of little programs that you'll<br />

gradually accumulate to make your life that little bit easier. When you've<br />

spent hours doing something by hand and you're dreading ever having to do<br />

it again, it can be a big relief to learn that there's a free program out there<br />

that can do it quickly and effectively for you the next time<br />

Color Programs.<br />

One of the thorniest issues you'll run into as a web designer is color.<br />

Because web colors are all expressed in the somewhat mysterious HTML<br />

color (#000000 to #FFFFFF), it can be hard to get the exact colors you want in<br />

your design. Don't be fooled into thinking there aren't many to choose from:<br />

those colors are in hexadecimal, meaning that each one of those six<br />

numbers can have a value anywhere from 0-F (that is, 0-9, A-F). 16 possible<br />

values to the power of 6 makes over 16 million possible colors – that's 24-bit<br />

color, not bad at all.<br />

So, really, instead of trying out millions of colors by hand to see which you<br />

like best, it's much better to download an HTML color picker tool – an<br />

essential part of every web designers toolbox. It might sound like they'd be<br />

very simple, but there are all sorts of features they can have: suggesting<br />

'complementary colors' to the one you've chosen, for example. Some let you<br />

take a picture of your screen and click on parts of it to see which HTML color<br />

The Web Design Guide for Newbies |85

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

Saved successfully!

Ooh no, something went wrong!