web/choix.html
changeset 78 8c3f0b94d056
parent 46 542252e0c615
equal deleted inserted replaced
77:0055b4bee4e3 78:8c3f0b94d056
     3 	<head>
     3 	<head>
     4 		<meta charset="utf-8">
     4 		<meta charset="utf-8">
     5 		<title>The End - @todo</title>
     5 		<title>The End - @todo</title>
     6 		
     6 		
     7 		<meta name="description" content="@todo">
     7 		<meta name="description" content="@todo">
       
     8 		<link rel="icon" href="static/res/img/favicon.ico" />		
     8 		
     9 		
     9 		<!-- Mobile Specific Metas -->
    10 		<!-- Mobile Specific Metas -->		
    10 		<meta name="viewport" content="initial-scale=1.0, width=device-width" />
    11 		<meta name="viewport" content="user-scalable=no">
    11 		
    12 		<!--
    12 		<link rel="stylesheet" href="static/res/css/style_1024.css" /> 
    13 		<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
    13 		<!-- stylesheet for ipad 3 
       
    14 		<link rel="stylesheet" href="static/res/css/style_2048.css" /> 
       
    15 		-->
    14 		-->
    16 		
    15 		
       
    16 		<!-- Test Smartphone  -->
       
    17 	    <script src="static/res/js/incdetectmobile.js"></script>        
       
    18 		<script>
       
    19 			if (IsSmartphone()) { location.href = "mindex.html"; }	
       
    20 		</script>
       
    21 		<!-- Metanav FranceTV 	-->
       
    22 		<script src="http://static.francetv.fr/js/jquery.metanav-min.js" charset="utf-8"></script>
       
    23 
       
    24 		<link rel="stylesheet" href="static/res/css/style_1024.css" />		
       
    25 	
    17 	</head>
    26 	</head>
    18 	<body>
    27 	<body>
    19 		<!-- div content - site takes the full height of browser -->	
    28 		<!-- div content - site takes the full height of browser -->	
    20 		<div id="content" class="full_screen">
    29 		<div id="content" class="full_hightScreen">
    21 			<!--this div empty allows the element content_vcentering to be vertically aligned -->
    30 			<!--this div empty allows the element content_vcentering to be vertically aligned -->
    22 			<div class="strut"></div><!--
    31 			<div class="strut"></div><!--
    23 			this comment corrects the white-space (display: inline);
    32 			this comment corrects the white-space (display: inline);
    24 			--><section id="bg_mosaic" class="fullScreen_vcentering">
    33 			--><section id="bg_mosaic" class="fullScreen_vcentering">
    25 		    	<canvas id="mosaic" width="100" height="100"></canvas> 			
    34 		    	<canvas id="mosaic" width="100" height="100"></canvas> 			
    26 			</section>	
    35 			</section>	
    27 			<section id="choix" class="container_vcentering choix">
    36 			<section id="choice" class="positionAbs">
    28 				<!--this div empty allows the element content_vcentering to be vertically aligned -->
    37 				<!--this div empty allows the element content_vcentering to be vertically aligned -->
    29 				<div class="strut"></div><!--
    38 				<div class="strut"></div><!--
    30 				this comment corrects the white-space (display: inline);
    39 				this comment corrects the white-space (display: inline);
    31 				--><div class="fullScreen_vcentering box_vcentering blue big_txt">
    40 				--><div class="fullScreen_vcentering blue big_txt pointer">
    32 					<p><a id="mot1" onClick="incChoice.selectWord(1);">Famille</a></p>
    41 					<p><a id="mot1" onClick="incChoice.selectWord(0);">Famille</a></p>
    33 					<p><a id="mot2" onClick="incChoice.selectWord(2);">Amour</a></p>
    42 					<p><a id="mot2" onClick="incChoice.selectWord(1);">Amour</a></p>
    34 					<p><a id="mot3" onClick="incChoice.selectWord(3);">Travail</a></p>
    43 					<p><a id="mot3" onClick="incChoice.selectWord(2);">Travail</a></p>
    35 					<p><a id="mot4" onClick="incChoice.selectWord(4);">International</a></p>
    44 					<p><a id="mot4" onClick="incChoice.selectWord(3);">International</a></p>
    36 					<p><a id="mot5" onClick="incChoice.selectWord(5);">Dieu</a></p>
    45 					<p><a id="mot5" onClick="incChoice.selectWord(4);">Dieu</a></p>
    37 					<p><a id="mot6" onClick="incChoice.selectWord(6);">Président</a></p>
    46 					<p><a id="mot6" onClick="incChoice.selectWord(5);">Président</a></p>
    38 				</div>
    47 				</div>
    39 			</section>
    48 			</section>
    40 		</div>	
    49 		</div>	
    41 		
    50 		
    42 		<!-- Metanav FranceTV 	-->
       
    43 		<script src="http://static.francetv.fr/js/jquery.metanav-min.js" charset="utf-8"></script>
       
    44 		<!-- JavaScript -->
    51 		<!-- JavaScript -->
    45        	<script src="static/res/js/jquery-1.8.2.min.js"></script> 
    52        	<script src="static/res/js/jquery-1.8.2.min.js"></script> 
    46        	<script src="static/res/js/jquery.cookie.js"></script>        	      
    53        	<script src="static/res/js/jquery.cookie.js"></script>        	      
    47         <script src="static/res/js/ease.js"></script>        
    54         <script src="static/res/js/ease.js"></script>        
    48         <script src="static/res/js/incresize.js"></script>
    55         <script src="static/res/js/incresize.js"></script>
    49         <script src="static/res/js/incmosaic.js"></script>
    56         <script src="static/res/js/incmosaic.js"></script>
    50         <script src="static/res/js/incchoice.js"></script>
    57         <script src="static/res/js/incchoice.js"></script>
    51         <script>
    58         <script>
    52             $(function() {
    59             $(function() {
    53             	// Init the resize object
    60             	// Init the resize object
    54             	incResize.init("content", null, "mosaic", null, null, 130, 1920/809, null, incMosaic.registerPostNewCanvasSize);
    61             	incResize.init("content", null, "mosaic", null, null, 130, 1527/809, false, [incMosaic.registerPostNewCanvasSize]);
    55 
    62 
    56             	// Set the mosaic effect
    63             	// Set the mosaic effect
    57             	incChoice.setMosaicImages(	["choix1fond1.jpg", "choix1fond2.jpg", "choix1fond3.jpg"],
    64             	incChoice.setMosaicImages(	["choix1fond1.jpg", "choix1fond2.jpg", "choix1fond3.jpg"],
    58             								["choix2fond1.jpg", "choix2fond2.jpg", "choix2fond3.jpg"],
    65             								["choix2fond1.jpg", "choix2fond2.jpg", "choix2fond3.jpg"],
    59             								["choix3fond1.jpg", "choix3fond2.jpg", "choix3fond3.jpg"]);
    66             								["choix3fond1.jpg", "choix3fond2.jpg", "choix3fond3.jpg"]);
    60 
    67 
    61             	// Set the list of words and the mosaic effect
    68             	// Set the list of words and the mosaic effect
    62 				incChoice.setWordsAndEffect(0);
    69 				incChoice.setWordsAndEffect(0);
       
    70 
       
    71 				// Erase chosen videos
       
    72 				incChoice.saveChosenVideos([-1, -1, -1]);
       
    73 
       
    74 				// Set video hd by default
       
    75 				incChoice.setHD(1); 
    63             });
    76             });
    64         </script>		
    77         </script>		
    65 	</body>
    78 	</body>
    66 </html>
    79 </html>