web/transition.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 			
       
    31 			<!--Part 1 - opacity -->
       
    32 			<section id="theEnd" class="box_transparance">
       
    33 				<!--this div empty allows the element content_vcentering to be vertically aligned -->
       
    34 				<div class="strut"></div><!--
       
    35 				this comment corrects the white-space (display: inline);
       
    36 				--><h1>THE END, ETC.</h1>
       
    37 			</section>
       
    38 			<!--/Part 1 -->
       
    39 			
       
    40 			<!--Part 2 -->	
       
    41 			<!--this div empty allows the element content_vcentering to be vertically aligned -->
       
    42 			<section  id="transition" class="full_hightScreen">
       
    43 				<div class="strut"></div><!--
       
    44 				this comment corrects the white-space (display: inline);
       
    45 				--><div id="bg_img" class="fullScreen_vcentering">
       
    46 		    		<img id="bgimage" alt="The End, etc." src="" />
       
    47 				</div>	
       
    48 			
       
    49 				<div id="transitionTxt" class="positionAbs">
       
    50 					<!--this div empty allows the element content_vcentering to be vertically aligned -->
       
    51 					<div class="strut"></div><!--
       
    52 					this comment corrects the white-space (display: inline);
       
    53 					--><div class="fullScreen_vcentering white big_txt">
       
    54 						<p><a href="partage.html">Partagez</a></p>
       
    55 						<p><a href="choix.html">Recommencez</a></p>
       
    56 						<p class="margin_exeptionTop"><a href="menu_bonus.html">The end, etc.</a></p>
       
    57 						<p class="margin_exeptionBottom"><a href="niv2_hp.html">Prolongez l'expérience</a></p>
       
    58 						<p><a href="credit.html">Crédits</a></p>
       
    59 					</div>
       
    60 				</div>
       
    61 			</section>
       
    62 			<!--/Part 2 -->	
       
    63 		</div>
       
    64 
       
    65 		<!-- JavaScript -->
       
    66         <script src="static/res/js/jquery-1.8.2.min.js"></script>        		
       
    67         <script>
       
    68         	var r = Math.floor(Math.random()*3);
       
    69         	if (r == 0) {        		
       
    70 				$("#bgimage").attr("src", "static/res/img/transitionChoix1.jpg");
       
    71         	} else if (r == 1) {        		
       
    72 				$("#bgimage").attr("src", "static/res/img/transitionChoix2.jpg");
       
    73         	} else {
       
    74 				$("#bgimage").attr("src", "static/res/img/transitionChoix3.jpg");
       
    75         	}
       
    76 
       
    77             $(function() {
       
    78 				setTimeout(function() {
       
    79 					$("#theEnd").addClass("display");
       
    80 					$("#transition").css({"opacity" : 0});
       
    81 					$("#transition").animate({opacity: 1}, 3000);					
       
    82 				}, 3000);
       
    83             });
       
    84         </script>						
       
    85 	
       
    86 	</body>
       
    87 </html>