web/choix.html
changeset 92 ab0871ca8819
parent 91 d39165ca9f1e
child 93 7c37aaa2a8ae
equal deleted inserted replaced
91:d39165ca9f1e 92:ab0871ca8819
     1 <!DOCTYPE html>
       
     2 <html lang="fr">
       
     3 	<head>
       
     4 		<meta charset="utf-8">
       
     5 		<title>The End - @todo</title>
       
     6 		
       
     7 		<meta name="description" content="@todo">
       
     8 		<link rel="icon" href="static/res/img/favicon.ico" />		
       
     9 		
       
    10 		<!-- Mobile Specific Metas -->		
       
    11 		<meta name="viewport" content="user-scalable=no">
       
    12 		<!--
       
    13 		<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
       
    14 		-->
       
    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 	
       
    26 	</head>
       
    27 	<body>
       
    28 		<!-- div content - site takes the full height of browser -->	
       
    29 		<div id="content" class="full_hightScreen">
       
    30 			<!--this div empty allows the element content_vcentering to be vertically aligned -->
       
    31 			<div class="strut"></div><!--
       
    32 			this comment corrects the white-space (display: inline);
       
    33 			--><section id="bg_mosaic" class="fullScreen_vcentering">
       
    34 		    	<canvas id="mosaic" width="100" height="100"></canvas> 			
       
    35 			</section>	
       
    36 			<section id="choice" class="positionAbs">
       
    37 				<!--this div empty allows the element content_vcentering to be vertically aligned -->
       
    38 				<div class="strut"></div><!--
       
    39 				this comment corrects the white-space (display: inline);
       
    40 				--><div class="fullScreen_vcentering blue big_txt pointer">
       
    41 					<p><a id="mot1" onClick="incChoice.selectWord(0);">Famille</a></p>
       
    42 					<p><a id="mot2" onClick="incChoice.selectWord(1);">Amour</a></p>
       
    43 					<p><a id="mot3" onClick="incChoice.selectWord(2);">Travail</a></p>
       
    44 					<p><a id="mot4" onClick="incChoice.selectWord(3);">International</a></p>
       
    45 					<p><a id="mot5" onClick="incChoice.selectWord(4);">Dieu</a></p>
       
    46 					<p><a id="mot6" onClick="incChoice.selectWord(5);">Président</a></p>
       
    47 				</div>
       
    48 			</section>
       
    49 		</div>	
       
    50 		
       
    51 		<!-- JavaScript -->
       
    52        	<script src="static/res/js/jquery-1.8.2.min.js"></script> 
       
    53        	<script src="static/res/js/jquery.cookie.js"></script>        	      
       
    54         <script src="static/res/js/ease.js"></script>        
       
    55         <script src="static/res/js/incresize.js"></script>
       
    56         <script src="static/res/js/incmosaic.js"></script>
       
    57         <script src="static/res/js/incchoice.js"></script>
       
    58         <script>
       
    59             $(function() {
       
    60             	// Init the resize object
       
    61             	incResize.init("content", null, "mosaic", null, null, 130, 1527/809, false, [incMosaic.registerPostNewCanvasSize]);
       
    62 
       
    63             	// Set the mosaic effect
       
    64             	incChoice.setMosaicImages(	["choix1fond1.jpg", "choix1fond2.jpg", "choix1fond3.jpg"],
       
    65             								["choix2fond1.jpg", "choix2fond2.jpg", "choix2fond3.jpg"],
       
    66             								["choix3fond1.jpg", "choix3fond2.jpg", "choix3fond3.jpg"]);
       
    67 
       
    68             	// Set the list of words and the mosaic effect
       
    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); 
       
    76             });
       
    77         </script>		
       
    78 	</body>
       
    79 </html>