HTML and CSS Reference
In-Depth Information
"settings": {
href: "/pages/settings.html",
title: "Settings"
}
}
WinJS.UI.SettingsFlyout.populateSettings(e);
};
The mandatory next step is creating three new HTML pages. You create all of them in the pages
project folder and name them as above: about.html, privacy.html , and settings.html . You do this using
the Add New Item function of the context menu of the project window in Visual Studio. For now,
skip over the required content and just keep the default markup that Visual Studio adds to any newly
created HTML page.
As you can see in Figure 9-12, the Settings panel lists three additional items, one for each of the
registered commands. If you click any of them, though, nothing happens. This is the time to make
some changes to the HTML of the various pages.
FIGURE 9-12 The Settings charm of TodoList.
Creating a read-only page
With the notable exception of the page used to configure the application, most of the pages you
have listed here are read-only pages. They just provide users with information such as release notes,
an end-user agreement, help, or perhaps information about the author. All these pages can have a
common layout on top of different content. Let's address, for example, the About page.
Search WWH ::




Custom Search