02.06.2013 Views

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

154<br />

CHAPTER 4 ■ BUILD AN EVENTS CALENDAR<br />

When the database events are loaded into the calendar display, the titles show up next to the<br />

appropriate date (see Figure 4-6).<br />

Figure 4-6. An event title displayed next to the appropriate date<br />

■ Note The linked event titles point to a file called view.php that doesn’t exist yet. This file will be built <strong>and</strong><br />

explained in the “Outputing HTML to Display Full Event Descriptions” section later in this chapter.<br />

Making the Calendar Look Like a Calendar<br />

At this point, your markup is proper <strong>and</strong> your events are there, but the generated code doesn’t look<br />

much like a calendar at all.<br />

To rectify this, you’ll now be taking a moment to complete the HTML markup <strong>and</strong> style the page<br />

using CSS.

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

Saved successfully!

Ooh no, something went wrong!