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.

Download from Wow! eBook <br />

Other Popular <strong>Animation</strong>s<br />

Time for action – creating and styling the underlying page<br />

In this example, we can see how easy it is to grab a series <strong>of</strong> text strings and display them<br />

in a smoothly scrolling marquee style. We'll use <strong>jQuery</strong>'s built-in AJAX capabilities to grab a<br />

JSON file <strong>of</strong> the latest posts on my blog. Let's get started.<br />

1. Add the following markup to the <strong>of</strong> the template file:<br />

<br />

<br />

<br />

Site Title<br />

Site Description<br />

<br />

Main site navigation along here<br />

<br />

<br />

A Blog Post Title<br />

The post copy<br />

<br />

<br />

<br />

Ads<br />

Probably a bunch <strong>of</strong> ads here that take up a reasonable<br />

section <strong>of</strong> this aside vertically<br />

<br />

<br />

Popular Posts<br />

Some links here to other posts, which may or may not<br />

be related to the current post, but are deemed popular<br />

based on the number <strong>of</strong> comments<br />

<br />

<br />

Related Posts<br />

Some links here to other posts that are definitely<br />

related to this post, based on post tags<br />

<br />

<br />

Twitter Feed<br />

Maybe a twitter feed here that displays recent tweets<br />

or something. Aside could be quite long by now<br />

<br />

<br />

<br />

[ 220 ]

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

Saved successfully!

Ooh no, something went wrong!