web/transition.html
changeset 78 8c3f0b94d056
parent 48 d92196482ad9
child 80 46b897524cc4
--- a/web/transition.html	Tue Jan 15 17:17:14 2013 +0100
+++ b/web/transition.html	Wed Jan 16 08:26:00 2013 +0100
@@ -5,50 +5,63 @@
 		<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="stylesheet" href="static/res/css/style_1024.css" /> 
-		<!-- stylesheet for ipad 3 
-		<link rel="stylesheet" href="static/res/css/style_2048.css" /> 
+		<link rel="icon" href="static/res/img/favicon.ico" />		
+
+		<!-- 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">
 			
-			<!--opacity -->
-			<div id="theEnd" class="box_transparance">
+			<!--Part 1 - opacity -->
+			<section id="theEnd" class="box_transparance">
 				<!--this div empty allows the element content_vcentering to be vertically aligned -->
 				<div class="strut"></div><!--
 				this comment corrects the white-space (display: inline);
 				--><h1>THE END, ETC.</h1>
-			</div>
+			</section>
+			<!--/Part 1 -->
 			
+			<!--Part 2 -->	
 			<!--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_img" class="fullScreen_vcentering">
-		    	<img id="bgimage" alt="The End, etc." src="" />
-			</section>	
-			<section id="partage" class="container_vcentering">
-				<!--this div empty allows the element content_vcentering to be vertically aligned -->
+			<section  id="transition" class="full_hightScreen">
 				<div class="strut"></div><!--
 				this comment corrects the white-space (display: inline);
-				--><div class="fullScreen_vcentering box_vcentering white big_txt">
-					<p><a href="partage.html">Partagez</a></p>
-					<p><a href="choix.html">Recommencez</a></p>
-					<p class="margin_exeption"><a href="niv2_hp.html">Prolongez l'expérience</a></p>
-					<p><a href="/">Crédits</a></p>
-					<p><a href="/">The End, etc.</a></p>
+				--><div id="bg_img" class="fullScreen_vcentering">
+		    		<img id="bgimage" alt="The End, etc." src="" />
+				</div>	
+			
+				<div id="transitionTxt" 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 white big_txt">
+						<p><a href="partage.html">Partagez</a></p>
+						<p><a href="choix.html">Recommencez</a></p>
+						<p><a href="menu_bonus.html">The end, etc.</a></p>
+						<p class="margin_exeption"><a href="niv2_hp.html">Prolongez l'expérience</a></p>
+						<p><a href="credit.html">Crédits</a></p>
+					</div>
 				</div>
 			</section>
+			<!--/Part 2 -->	
 		</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>
@@ -63,14 +76,10 @@
 
             $(function() {
 				setTimeout(function() {
-
-					$('.box_transparance').animate({
-						opacity: 0,
-					  }, 3000, function() { 
-					  				$("#theEnd").addClass("display");
-					  			});
-
-				}, 4000);            	
+					$("#theEnd").addClass("display");
+					$("#transition").css({"opacity" : 0});
+					$("#transition").animate({opacity: 1}, 3000);					
+				}, 3000);
             });
         </script>