source: other-projects/nz-flag-design/trunk/main-form/index.html@ 29773

Last change on this file since 29773 was 29773, checked in by davidb, 9 years ago

Changes so i) the choose-palette is a single interactive SVG csurface; 2) the JS runs more smoothly when 'started' at one of the later pages; and 3) changes to remove many of the warnings browsers produce when loading the page

  • Property svn:executable set to *
File size: 3.6 KB
Line 
1<!DOCTYPE html>
2<html id="story">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
5
6 <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
7 <meta http-equiv="Pragma" content="no-cache" />
8 <meta http-equiv="Expires" content="0" />
9
10<!--
11 <meta name="viewport" content="width=device-width, initial-scale=1"/>
12-->
13 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
14 <meta http-equiv="X-UA-Compatible" content="IE=Edge, chrome=1"/>
15 <meta name="apple-mobile-web-app-capable" content="yes"/>
16
17 <script src="css/source-sans-pro.js"></script>
18 <link href="css/styles.css" rel="stylesheet"/>
19 <link href="css/storystyle.css" rel="stylesheet"/>
20
21 <link rel="stylesheet" href="lib-slider/css/jquery.mobile-1.3.0.css"/>
22 <link rel="stylesheet" href="lib-slider/css/jqm-demos.css"/>
23 <link rel="stylesheet" href="lib-slider/css/swipe-page.css"/>
24 <link rel="shortcut icon" href="lib-slider/nzflag-icon64.png"/>
25
26 <!-- jQuery -->
27 <script src="lib/jquery-1.11.1.min.js"></script>
28 <script src="lib/jquery.cookie.js"></script>
29
30 <!-- page swipe -->
31 <script src="lib-slider/js/jquery.mobile.demos.js"></script>
32 <script src="lib-slider/js/jquery.mobile-1.3.0.js"></script>
33 <script src="lib-slider/js/swipe-page.js"></script>
34
35 <!-- accordion bars -->
36 <link href="css/liteaccordion.css" rel="stylesheet" />
37 <script src="js/jquery.easing.1.3.js"></script>
38 <script src="js/liteaccordion-with-resize.jquery.js"></script>
39
40 <!-- canvg library -->
41 <script type="text/javascript" src="lib/canvg/rgbcolor.js"></script>
42 <script type="text/javascript" src="lib/canvg/StackBlur.js"></script>
43 <script type="text/javascript" src="lib/canvg/canvg.js"></script>
44
45 <!-- spectrum for colour palette -->
46 <!-- For documentation see https://bgrins.github.io/spectrum -->
47 <script src='bgrins-spectrum/spectrum.js'></script>
48 <link rel='stylesheet' href='bgrins-spectrum/spectrum.css' />
49
50 <!-- css for choose-palette -->
51 <style>
52 .ui-slider-track {
53 background-color: #ECECEC;
54 }
55 .ui-slider-handle {
56 background-color: #a05a2c; /* used to be #E7924B; */
57 }
58 </style>
59
60 <title>Enter Name</title>
61
62 <script>
63 // Flag settings - used to initialise the svg canvas to the user's preferences
64 var flagCanvasSettings = { backgroundColor: "#000066", width: 800, height: 400 };
65
66 </script>
67
68
69 </head>
70 <body>
71 <div data-role="page" id="enter-name-page"
72 class="demo-page"
73 data-dom-cache="true"
74 data-next="choose-canvas">
75 <div data-role="content">
76
77 <div data-role="controlgroup" class="control" data-mini="true">
78 <a href="#" class="next right-button idea-fwd" style="right:1%;"></a>
79 <a href="#" class="prev left-button gen-back" style="left:1%;"></a>
80 </div>
81
82 <a target="_parent" href="../index.html" class="back-button back-left"></a>
83
84 <div class="story-page">
85
86 <!-- put custom content here -->
87 <div class="story-title">
88 <h1 id="enter-name-header" class="center">Enter Name</h1>
89<!--
90 <p class="center">- - xx </p>
91-->
92 <p>
93 Your Name:
94 </p>
95 <form>
96 <input type="text" autofocus="autofocus" style="color: white;" />
97 </form>
98 </div>
99 <!-- end of putting custom content -->
100
101 </div> <!-- end story-page-->
102
103 </div><!-- /content -->
104
105 </div><!-- /page -->
106 </body>
107</html>
Note: See TracBrowser for help on using the repository browser.