PageRenderTime 71ms CodeModel.GetById 30ms RepoModel.GetById 0ms app.codeStats 0ms

/src/index.html

https://github.com/johnhornsby/archive
HTML | 248 lines | 214 code | 15 blank | 19 comment | 0 complexity | ff72fe824d467eab925356ab8f944597 MD5 | raw file
  1. <!DOCTYPE HTML>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <meta name = "viewport" id="viewport" content = "minimum-scale = 1, maximum-scale = 1, initial-scale = 1, user-scalable = no">
  6. <meta name="apple-mobile-web-app-capable" content="yes" />
  7. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
  8. <title>Archive Prototype</title>
  9. <script>
  10. /* check browser if webkit then use zepto, needs refactoring*/
  11. window.seq = window.seq || {};
  12. window.seq.startTime = new Date().getTime();
  13. if(navigator.userAgent.indexOf('WebKit') > -1){
  14. loadjscssfile('javascript/lib/zepto.min.js','js');
  15. //loadjscssfile('javascript/zepto.0.7.min.js','js');
  16. //loadjscssfile('javascript/zepto.min.js','js');
  17. //loadjscssfile('javascript/zepto.js','js');
  18. //loadjscssfile('javascript/ajax.js','js');
  19. //loadjscssfile('javascript/touch.js','js');
  20. //loadjscssfile('javascript/event.js','js');
  21. }else{
  22. loadjscssfile('javascript/lib/jquery-1.4.4.min.js','js');
  23. }
  24. function loadjscssfile(filename, filetype){
  25. if (filetype=="js"){ //if filename is a external JavaScript file
  26. var fileref=document.createElement('script');
  27. fileref.setAttribute("type","text/javascript");
  28. fileref.setAttribute("src", filename);
  29. }else if (filetype=="css"){ //if filename is an external CSS file
  30. var fileref=document.createElement("link")
  31. fileref.setAttribute("rel", "stylesheet")
  32. fileref.setAttribute("type", "text/css")
  33. fileref.setAttribute("href", filename)
  34. }
  35. if (typeof fileref!="undefined"){
  36. document.getElementsByTagName("head")[0].appendChild(fileref);
  37. }
  38. }
  39. </script>
  40. <!--
  41. <script src="javascript/jquery-1.4.4.min.js"></script>
  42. <script src="javascript/zepto.js"></script>
  43. <script src="javascript/ajax.js"></script>
  44. <script src="javascript/touch.js"></script>
  45. <script src="javascript/event.js"></script>
  46. -->
  47. <script src="javascript/lib/froogaloop.min.js"></script>
  48. <script src="javascript/lib/jTweener.js"></script>
  49. <script src="javascript/lib/swfaddress.js"></script>
  50. <script src="javascript/lib/jsBezier-0.2.js"></script>
  51. <script src="javascript/lib/BrowserDetect.js"></script>
  52. <script src="javascript/sequence/utils/utils.js"></script>
  53. <script src="javascript/sequence/utils/browser/browser.js"></script>
  54. <script src="javascript/sequence/effects/animation.js"></script>
  55. <script src="javascript/Utilities.js"></script>
  56. <script src="javascript/Animator.js"></script>
  57. <script src="javascript/Geom.js"></script>
  58. <script src="javascript/Globals.js"></script>
  59. <script src="javascript/TouchScrollPanel.js"></script>
  60. <script src="javascript/LocalStorageManager.js"></script>
  61. <script src="javascript/DataManager.js"></script>
  62. <script src="javascript/ImageLoadManager.js"></script>
  63. <script src="javascript/ArtefactDataManager.js"></script>
  64. <script src="javascript/ArtefactsSelectionConfiguration.js"></script>
  65. <script src="javascript/DeepLinkingManager.js"></script>
  66. <script src="javascript/CategoryCell.js"></script>
  67. <script src="javascript/CategoryTable.js"></script>
  68. <script src="javascript/CategoryScrubberViewController.js"></script>
  69. <script src="javascript/TouchScrollableTablePanel.js"></script>
  70. <script src="javascript/RandomCanvas.js"></script>
  71. <script src="javascript/TileEngine.js"></script>
  72. <script src="javascript/TileEngineConfiguration.js"></script>
  73. <script src="javascript/PlaneController.js"></script>
  74. <script src="javascript/TapestryViewController.js"></script>
  75. <script src="javascript/DockViewController.js"></script>
  76. <script src="javascript/AutoCompleteViewController.js"></script>
  77. <script src="javascript/ArtefactWindow.js"></script>
  78. <script src="javascript/RelatedArtefactsViewController.js"></script>
  79. <script src="javascript/ScrollableCell.js"></script>
  80. <script src="javascript/RelatedArtefactCell.js"></script>
  81. <script src="javascript/ScrollableTable.js"></script>
  82. <script src="javascript/ArtefactPopup.js"></script>
  83. <script src="javascript/ImageView.js"></script>
  84. <script src="javascript/VimeoView.js"></script>
  85. <script src="javascript/InfoWindow.js"></script>
  86. <script src="javascript/FullScreenWindow.js"></script>
  87. <script src="javascript/FullScreenMediaViewer.js"></script>
  88. <script src="javascript/AnimationLayer.js"></script>
  89. <script src="javascript/Veil.js"></script>
  90. <script src="javascript/VeilLoader.js"></script>
  91. <script src="javascript/ViewController.js"></script>
  92. <script src="javascript/Main.js"></script>
  93. <link href="css/style.css" rel="stylesheet" type="text/css">
  94. <link href="css/nav.css" rel="stylesheet" type="text/css">
  95. <script>
  96. $(document).ready(function(){
  97. window.seq = window.seq || {};
  98. window.seq.app = new Main();
  99. console.log("ready:"+ (new Date().getTime() - window.seq.startTime )/1000 + " secs");
  100. });
  101. window.onload = function(){
  102. window.seq = window.seq || {};
  103. console.log("window.onload:"+ (new Date().getTime() - window.seq.startTime )/1000 + " secs");
  104. }
  105. </script>
  106. </head>
  107. <body>
  108. <div id="planeContainer">
  109. <div id="plane"></div>
  110. <div id="interactivePlane"></div>
  111. <div id="category-scrubber-track">
  112. <div id="category-scrubber-thumb"></div>
  113. </div>
  114. </div>
  115. <div id="dockVeil"></div>
  116. <form id="dockForm">
  117. <div id="dockContainer">
  118. <ul>
  119. <li class="dockTitle">View the archive:</li>
  120. <li class="dockViewButton active" id="dockHomeButton"><a id="home"><div class="dockViewIcon"></div>Canvas View</a></li>
  121. <li class="dockViewButton" id="dockYearButton"><a id="year"><div class="dockViewIcon"></div>By Year</a></li>
  122. <li class="dockViewButton" id="dockProductionButton"><a id="production"><div class="dockViewIcon"></div>By Production</a></li>
  123. <li class="dockViewButton" id="dockMyArchiveButton"><a id="archive"><div class="dockViewIcon"></div>Your Archive</a></li>
  124. <li class="dockSearch" id="dockSearch"><input type="text" id="dockSearchField"><a id="search"><div class="dockSearchIcon"></div></a></li>
  125. <li class="dockInfoButton" id="dockInfoButton"><a id="info"><div class="dockInfoIcon"></div></a></li>
  126. </ul>
  127. <div id="autoCompleteShadow">
  128. <div id="autoCompleteOutput"></div>
  129. </div>
  130. </div>
  131. <div id="filterDrawer">
  132. <ul id="dockSubMenu">
  133. <li class="filterTitle"><h2>Filter Media</h2><a class="menuItem" id="filterClearButton">RESET</a><div class="closeButton closeButtonWhite"></div></li>
  134. <li class="filterDescription">Click on the options below to filter media types</li>
  135. <li class="filterButton"><a id="filterPhotosButton" class="checkBoxDefault">Photos</a></li>
  136. <li class="filterButton"><a id="filterPostersButton" class="checkBoxDefault">Posters</a></li>
  137. <li class="filterButton"><a id="filterVideoButton" class="checkBoxDefault">Video</a></li>
  138. <li class="filterButton"><a id="filterAudioButton" class="checkBoxDefault">Audio</a></li>
  139. </ul>
  140. </div>
  141. </form>
  142. <div id="veil"></div>
  143. <div id="topNav">
  144. <img src="images/donmarLogo.png"/>
  145. </div>
  146. <div id="artefactPopup">
  147. <div id="artefactPopupTitle">Tile</div>
  148. <ul>
  149. <li><a class="menuItem openArtefactButton">VIEW ITEM</a></li>
  150. <li><a class="menuItem addToFavouritesButton">ADD TO MY ARCHIVE</a></li>
  151. <li><a class="menuItem removeFromFavouritesButton">REMOVE FROM MY ARCHIVE</a></li>
  152. </ul>
  153. <div class="closeButton closeButtonWhite"></div>
  154. </div>
  155. <div id="artefactWindow">
  156. <div id="artefactWindowMediaView"></div>
  157. <div id="artefactDetails"></div>
  158. <ul>
  159. <li><a class="menuItem addToFavouritesButton">ADD TO MY ARCHIVE</a></li>
  160. <li><a class="menuItem removeFromFavouritesButton">REMOVE FROM MY ARCHIVE</a></li>
  161. <li><a class="menuItem fullscreenButton">FULLSCREEN</a></li>
  162. <li><a class="menuItem facebookShareButton">FACEBOOK</a></li>
  163. <li><a class="menuItem twitterShareButton">TWIITER</a></li>
  164. <li><a class="menuItem vimeoPlayButton">PLAY</a></li>
  165. <li><a class="menuItem vimeoPauseButton">PAUSE</a></li>
  166. <li><a class="menuItem vimeoUnloadButton">UNLOAD</a></li>
  167. </ul>
  168. <div id="relatedArtefactsView">
  169. <a class="leftCarouselButton"></a>
  170. <div id="relatedArtefactsFrame">
  171. <div id="relatedArtefactsContainer"></div>
  172. </div>
  173. <a class="rightCarouselButton"></a>
  174. </div>
  175. <div class="closeButton closeButtonBlack"></div>
  176. </div>
  177. <div id="infoWindow">
  178. <h1>THE DONMAR ARCHIVE</h1>
  179. <h2>EXPLORE THE VAST COLLECTION OF MEDIA, CHRONICLING DONMAR'S EXCEPTIONAL WORK THROUGHOUT THE LAST 60 YEARS</h2>
  180. <div class="infoWindowText">
  181. <div class="generalText">
  182. <h3>Explore the Media Tapestry</h3>
  183. <p>Discover photography, posters, video interviews and audio clips by dragging background media tapestry. Single click on a media item to quickly view the title, and options to add to My Archive of favourites and view the media item in full detail. Double click on a media item to jump directly to view the media item in full detail.</p>
  184. <h3>Find What You Want</h3>
  185. <p>The Dock, (the menu located at the bottom of the screen) provide a suite to options to control what media items you see, and how they are ordered.</p>
  186. <h4>Views</h4>
  187. <p>The home view provides a holistic view of the Donmar's work over time, positioning old and new media items in juxtaposition. You can also view the media items in chronological order categorised by years or productions.</p>
  188. <h4>Filtering</h4>
  189. <p>If you are only interested in a particular type of media item such as Audio Clips, then the filter options allow you to show only Audio Clips, this also applies to the other media types of Photography, Posters and Video Interviews.</p>
  190. <h4>Searching</h4>
  191. <p>In addition to being able to filter the archive media by type, the search option allows you to specify a keyword to match against media items, for example searching for an actor's name.</p>
  192. <h3>My Archive</h3>
  193. <p>While exploring the Archive, you can select various items as being a favourite and therefore part of 'My Archive'. To view all the items in My Archive simply click on the My Archive view option in the Dock. Adding and removing items can be achieved from the media item's detail popup.</p>
  194. </div>
  195. </div>
  196. <div id="infoWindowGraphic">
  197. <video id="infoWindowGraphicVideo" preload="none" controls="true" width="320" height="320">
  198. <source src="video/Tutorial.mp4" type="video/mp4" />
  199. <source src="video/Tutorial.theora.ogv" />
  200. </video>
  201. </div>
  202. <div id="infoWindowViewOnStartupContainer">
  203. <form><h5>Uncheck to hide upon entering Archive</h5><input type="checkbox" id="infoWindowViewOnStartUp" value="openInforWindowOnStartUp"></form>
  204. </div>
  205. <div class="closeButton closeButtonBlack"></div>
  206. </div>
  207. <div id="imageFullScreenView">
  208. <div id="imageFullScreenMediaView"></div>
  209. <div class="closeButton closeButtonBlack"></div>
  210. <div class="veil-loader"><div class="veil-loader-background"></div><div class="veil-loader-animated"></div></div>
  211. </div>
  212. <div id="full-screen-media-viewer">
  213. <div id="full-screen-media-viewer-item"></div>
  214. <div class="closeButton closeButtonBlack"></div>
  215. <div class="previousButton previousButtonBlack"></div>
  216. <div class="nextButton nextButtonBlack"></div>
  217. </div>
  218. <div id="animationLayer"></div>
  219. <div class="veil-loader" style="z-index:10;"><div class="veil-loader-background"></div><div class="veil-loader-animated"></div></div>
  220. <!--
  221. <div class="output">
  222. <ul>
  223. <li>Total Tiles <span id="output_totalTiles">0</span></li>
  224. <li>Total Area <span id="output_totalArea">0</span></li>
  225. <li>DisplayList Length <span id="output_displayListLength">0</span></li>
  226. <li>Queue List Length <span id="output_queueListLength">0</span></li>
  227. <li>Plane Children <span id="output_planeChildren">0</span></li>
  228. </ul>
  229. </div>
  230. -->
  231. </body>
  232. </html>