web/choix.html
author veltr
Wed, 09 Jan 2013 16:50:32 +0100
changeset 74 250f19eed886
parent 46 542252e0c615
child 78 8c3f0b94d056
permissions -rw-r--r--
Merge with b01fbc3fcf3e2ffc6bbc59ac4f927d66c51a4885
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
43
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
     1
<!DOCTYPE html>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
     2
<html lang="fr">
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
     3
	<head>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
     4
		<meta charset="utf-8">
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
     5
		<title>The End - @todo</title>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
     6
		
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
     7
		<meta name="description" content="@todo">
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
     8
		
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
     9
		<!-- Mobile Specific Metas -->
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    10
		<meta name="viewport" content="initial-scale=1.0, width=device-width" />
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    11
		
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    12
		<link rel="stylesheet" href="static/res/css/style_1024.css" /> 
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    13
		<!-- stylesheet for ipad 3 
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    14
		<link rel="stylesheet" href="static/res/css/style_2048.css" /> 
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    15
		-->
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    16
		
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    17
	</head>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    18
	<body>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    19
		<!-- div content - site takes the full height of browser -->	
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    20
		<div id="content" class="full_screen">
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    21
			<!--this div empty allows the element content_vcentering to be vertically aligned -->
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    22
			<div class="strut"></div><!--
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    23
			this comment corrects the white-space (display: inline);
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    24
			--><section id="bg_mosaic" class="fullScreen_vcentering">
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    25
		    	<canvas id="mosaic" width="100" height="100"></canvas> 			
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    26
			</section>	
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    27
			<section id="choix" class="container_vcentering choix">
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    28
				<!--this div empty allows the element content_vcentering to be vertically aligned -->
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    29
				<div class="strut"></div><!--
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    30
				this comment corrects the white-space (display: inline);
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    31
				--><div class="fullScreen_vcentering box_vcentering blue big_txt">
46
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents: 45
diff changeset
    32
					<p><a id="mot1" onClick="incChoice.selectWord(1);">Famille</a></p>
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents: 45
diff changeset
    33
					<p><a id="mot2" onClick="incChoice.selectWord(2);">Amour</a></p>
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents: 45
diff changeset
    34
					<p><a id="mot3" onClick="incChoice.selectWord(3);">Travail</a></p>
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents: 45
diff changeset
    35
					<p><a id="mot4" onClick="incChoice.selectWord(4);">International</a></p>
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents: 45
diff changeset
    36
					<p><a id="mot5" onClick="incChoice.selectWord(5);">Dieu</a></p>
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents: 45
diff changeset
    37
					<p><a id="mot6" onClick="incChoice.selectWord(6);">Président</a></p>
43
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    38
				</div>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    39
			</section>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    40
		</div>	
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    41
		
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    42
		<!-- Metanav FranceTV 	-->
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    43
		<script src="http://static.francetv.fr/js/jquery.metanav-min.js" charset="utf-8"></script>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    44
		<!-- JavaScript -->
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    45
       	<script src="static/res/js/jquery-1.8.2.min.js"></script> 
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    46
       	<script src="static/res/js/jquery.cookie.js"></script>        	      
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    47
        <script src="static/res/js/ease.js"></script>        
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    48
        <script src="static/res/js/incresize.js"></script>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    49
        <script src="static/res/js/incmosaic.js"></script>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    50
        <script src="static/res/js/incchoice.js"></script>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    51
        <script>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    52
            $(function() {
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    53
            	// Init the resize object
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    54
            	incResize.init("content", null, "mosaic", null, null, 130, 1920/809, null, incMosaic.registerPostNewCanvasSize);
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    55
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    56
            	// Set the mosaic effect
46
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents: 45
diff changeset
    57
            	incChoice.setMosaicImages(	["choix1fond1.jpg", "choix1fond2.jpg", "choix1fond3.jpg"],
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents: 45
diff changeset
    58
            								["choix2fond1.jpg", "choix2fond2.jpg", "choix2fond3.jpg"],
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents: 45
diff changeset
    59
            								["choix3fond1.jpg", "choix3fond2.jpg", "choix3fond3.jpg"]);
45
f7bfdc49982b ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents: 43
diff changeset
    60
f7bfdc49982b ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents: 43
diff changeset
    61
            	// Set the list of words and the mosaic effect
f7bfdc49982b ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents: 43
diff changeset
    62
				incChoice.setWordsAndEffect(0);
43
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    63
            });
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    64
        </script>		
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    65
	</body>
21a791340354 ecrant choix unique
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
diff changeset
    66
</html>