RSLN : edito embed bug (correction) V00.98
authorSamuel Huron <samuel.huron@centrepompidou.fr>
Tue, 15 Nov 2011 11:36:58 +0100
changeset 372 4e00513a6c5c
parent 371 2454de3afa88
child 373 66092f867c03
RSLN : edito embed bug (correction)
web/edito-inaugurale/config.php
web/player_embed.php
--- a/web/edito-inaugurale/config.php	Tue Nov 15 11:05:52 2011 +0100
+++ b/web/edito-inaugurale/config.php	Tue Nov 15 11:36:58 2011 +0100
@@ -32,5 +32,5 @@
 	'player'        => "res/metadataplayer/src/js/LdtPlayer.js",
 	'div_height'    => 700,
 	'player_width'  => 650,
-	'player_height' => 500,
+	'player_height' => 488,
 );
\ No newline at end of file
--- a/web/player_embed.php	Tue Nov 15 11:05:52 2011 +0100
+++ b/web/player_embed.php	Tue Nov 15 11:36:58 2011 +0100
@@ -64,25 +64,23 @@
 			overflow:hidden;
 		}
 		#chartTimeline{
+			padding-top: 0px;
 			z-index: 9;
 			position : absolute;
 		}
 
 	</style>
 	<script type="text/javascript">
-	
-	  var _gaq = _gaq || [];
-	  _gaq.push(['_setAccount', 'UA-23581291-1']);
-	  _gaq.push(['_trackPageview']);
-	  _gaq.push(['_setAllowAnchor', true]);
-	
-	
-	  (function() {
-	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-	  })();
-	
+		var _gaq = _gaq || [];
+		_gaq.push(['_setAccount', 'UA-23581291-1']);
+		_gaq.push(['_trackPageview', location.pathname + location.search + location.hash]);
+		_gaq.push(['_setAllowAnchor', true]);
+	  
+		(function() {
+		    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+		    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+		    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+		})();
 	</script>
   </head>