--- a/web/choix.html Tue Jan 15 17:17:14 2013 +0100
+++ b/web/choix.html Wed Jan 16 08:26:00 2013 +0100
@@ -5,42 +5,49 @@
<title>The End - @todo</title>
<meta name="description" content="@todo">
-
- <!-- Mobile Specific Metas -->
- <meta name="viewport" content="initial-scale=1.0, width=device-width" />
+ <link rel="icon" href="static/res/img/favicon.ico" />
- <link rel="stylesheet" href="static/res/css/style_1024.css" />
- <!-- stylesheet for ipad 3
- <link rel="stylesheet" href="static/res/css/style_2048.css" />
+ <!-- Mobile Specific Metas -->
+ <meta name="viewport" content="user-scalable=no">
+ <!--
+ <meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
-->
+ <!-- Test Smartphone -->
+ <script src="static/res/js/incdetectmobile.js"></script>
+ <script>
+ if (IsSmartphone()) { location.href = "mindex.html"; }
+ </script>
+ <!-- Metanav FranceTV -->
+ <script src="http://static.francetv.fr/js/jquery.metanav-min.js" charset="utf-8"></script>
+
+ <link rel="stylesheet" href="static/res/css/style_1024.css" />
+
</head>
<body>
<!-- div content - site takes the full height of browser -->
- <div id="content" class="full_screen">
+ <div id="content" class="full_hightScreen">
<!--this div empty allows the element content_vcentering to be vertically aligned -->
<div class="strut"></div><!--
this comment corrects the white-space (display: inline);
--><section id="bg_mosaic" class="fullScreen_vcentering">
<canvas id="mosaic" width="100" height="100"></canvas>
</section>
- <section id="choix" class="container_vcentering choix">
+ <section id="choice" class="positionAbs">
<!--this div empty allows the element content_vcentering to be vertically aligned -->
<div class="strut"></div><!--
this comment corrects the white-space (display: inline);
- --><div class="fullScreen_vcentering box_vcentering blue big_txt">
- <p><a id="mot1" onClick="incChoice.selectWord(1);">Famille</a></p>
- <p><a id="mot2" onClick="incChoice.selectWord(2);">Amour</a></p>
- <p><a id="mot3" onClick="incChoice.selectWord(3);">Travail</a></p>
- <p><a id="mot4" onClick="incChoice.selectWord(4);">International</a></p>
- <p><a id="mot5" onClick="incChoice.selectWord(5);">Dieu</a></p>
- <p><a id="mot6" onClick="incChoice.selectWord(6);">Président</a></p>
+ --><div class="fullScreen_vcentering blue big_txt pointer">
+ <p><a id="mot1" onClick="incChoice.selectWord(0);">Famille</a></p>
+ <p><a id="mot2" onClick="incChoice.selectWord(1);">Amour</a></p>
+ <p><a id="mot3" onClick="incChoice.selectWord(2);">Travail</a></p>
+ <p><a id="mot4" onClick="incChoice.selectWord(3);">International</a></p>
+ <p><a id="mot5" onClick="incChoice.selectWord(4);">Dieu</a></p>
+ <p><a id="mot6" onClick="incChoice.selectWord(5);">Président</a></p>
</div>
</section>
</div>
- <!-- Metanav FranceTV -->
- <script src="http://static.francetv.fr/js/jquery.metanav-min.js" charset="utf-8"></script>
<!-- JavaScript -->
<script src="static/res/js/jquery-1.8.2.min.js"></script>
<script src="static/res/js/jquery.cookie.js"></script>
@@ -51,7 +58,7 @@
<script>
$(function() {
// Init the resize object
- incResize.init("content", null, "mosaic", null, null, 130, 1920/809, null, incMosaic.registerPostNewCanvasSize);
+ incResize.init("content", null, "mosaic", null, null, 130, 1527/809, false, [incMosaic.registerPostNewCanvasSize]);
// Set the mosaic effect
incChoice.setMosaicImages( ["choix1fond1.jpg", "choix1fond2.jpg", "choix1fond3.jpg"],
@@ -60,6 +67,12 @@
// Set the list of words and the mosaic effect
incChoice.setWordsAndEffect(0);
+
+ // Erase chosen videos
+ incChoice.saveChosenVideos([-1, -1, -1]);
+
+ // Set video hd by default
+ incChoice.setHD(1);
});
</script>
</body>