HTML and CSS Reference
In-Depth Information
This concludes creating the markup for MoMemo. How the taskbars react to the
application will be covered in Chapter 8 on JavaScript.
Do not be alarmed if you see something similar to what is shown in Figure 4-13.
You will learn how to use SASS to generate modular CSS in Chapter 5.
Figure 4-13. The complete markup on the Samsung Galaxy Tab
The last and final thing that you might wish to do is start to implement the offline
caching capabilities of the application. This will allow users to browse their
movie list while they have no reception.
The first step is to add the manifest attribute to the html tag, as shown in
Listing 4-20.
Listing 4-20. Application manifest Attribute
<!DOCTYPE html>
<html lang="en-GB" dir="ltr" manifest="momemo.cache">
Now create a file in the root of the application directory called momemo.cache .
Within this file, add the code from Listing 4-21.
Search WWH ::

Custom Search