12.07.2015 Views

Pro JavaScript for Web Apps pdf - EBook Free Download

Pro JavaScript for Web Apps pdf - EBook Free Download

Pro JavaScript for Web Apps pdf - EBook Free Download

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

CHAPTER 5 CREATING OFFLINE WEB APPSknockout-2.0.0.jssignals.jscrossroads.jshasher.jsutils.js# CSS filesstyles.cssjquery-ui-1.8.16.custom.css# imagesblackwave.pngcheeselux.pngimages/ui-bg_flat_75_eb8f00_40x100.pngimages/ui-bg_flat_75_fbbe03_40x100.pngimages/ui-icons_ffffff_256x240.pngimages/ui-bg_flat_75_595959_40x100.pngimages/ui-bg_flat_65_fbbe03_40x100.png# fontsfonts/YanoneKaffeesatz-Regular.ttffonts/fanwood_italic-webfont.ttffonts/ostrich-rounded-webfont.woffNETWORK:news.htmlThe network entries are prefixed with the word NETWORK and a colon (:). As with the regular entries,each resource occupies a single line. In this listing, I have created a network entry <strong>for</strong> the file news.html. Ihave created a button that links to this file in the example.html file, like this:Gourmet European CheeseCheck <strong>for</strong> UpdatesApply UpdateNewsWhen the browser is online, clicking this link displays the news.html file. You can see the effect inFigure 5-4.123www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!