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.

248<br />

After the main link is clicked, the navigational pane will slide into its final position, as shown in Figure 10-4.<br />

Figure 10-4. The “exposed” state, when one of the navigational panes is in its new position, visually just below the main navigation<br />

These represent the two “states” for each tab: when the information is hidden and when it is exposed (this will be important<br />

later when we examine the CSS and JavaScript portions of the solution).<br />

Starting with pristine HTML<br />

In order to make any site or web application work, we need a solid foundation of content and functionality that is provided<br />

via clean HTML. Not only should the HTML be meaningful in terms of its content, but it should also be meaningful in terms<br />

of its functionality. Though most people tend to consider HTML only as content, it does provide basic functionality through<br />

form fields and links. Later in the chapter, we’ll use these links as the basis for the interactive part of the scripting.<br />

We need to implement three main areas of HTML for this solution:<br />

Navigation area<br />

Main content<br />

Additional content in the footer

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

Saved successfully!

Ooh no, something went wrong!