[Author: zork]
[google-gears.git] / gears / sdk / tutorials / go_offline.html
blob920fa1432f2b02071583293b19daf46eff93bdc4
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <!--
4 Copyright 2007, Google Inc.
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11 2. Redistributions in binary form must reproduce the above copyright notice,
12 this list of conditions and the following disclaimer in the documentation
13 and/or other materials provided with the distribution.
14 3. Neither the name of Google Inc. nor the names of its contributors may be
15 used to endorse or promote products derived from this software without
16 specific prior written permission.
18 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
19 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
20 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
21 EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24 OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
27 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 -->
30 <html xmlns="http://www.w3.org/1999/xhtml">
31 <head>
32 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
33 <script type="text/javascript" src="../gears_init.js"></script>
34 <script type="text/javascript" src="go_offline.js"></script>
36 <title>Enable Offline Usage</title>
37 <style type="text/css">
38 <!--
39 .style1 {
40 color: #003399;
41 font-style: italic;
42 font-weight: bold;
43 font-size: large;
45 .style3 {
46 color: #009933;
47 font-weight: bold;
48 font-style: italic;
50 -->
51 </style>
52 </head>
54 <body onload="init()">
55 <h2>Getting offline-enabled documents with Google Gears </h2>
56 <p>&nbsp;</p>
57 <div>
58 <p class="style1">Status Message: <span id="textOut" class="style3"></span></p>
59 </div>
62 <p><strong>Q:</strong> I want to see these documents when I'm not online! What must I do?<br />
63 <strong>A:</strong> <a href="http://gears.google.com/">Install Google Gears</a> on your computer and then click &quot;Capture&quot; to store the documents to your computer. You can then access the URLs without a network connection. </p>
64 <p>
65 <button onclick="createStore()" > Capture </button>
66 </p>
69 <p><strong>Q:</strong> I want to remove my offline access to these documents. What must I do?<br />
70 <strong>A: </strong>Click &quot;Erase&quot; below to removed the &quot;captured&quot; documents from your computer. The documents will no longer be available without a network connection. </p>
71 <p>
72 <button onclick="removeStore()" > Erase </button>
73 </p>
74 </body>
75 </html>