web/polemicaltimeline.php
changeset 536 5dd170a735e9
parent 535 8276f3ff7a3f
child 537 13c1e0dbbe99
--- a/web/polemicaltimeline.php	Tue Mar 06 13:22:18 2012 +0100
+++ b/web/polemicaltimeline.php	Tue Mar 06 16:13:07 2012 +0100
@@ -135,7 +135,8 @@
           live: true, 
           height: 400, 
           width: 650, 
-          provider: "rtmp" 
+          provider: "rtmp",
+          autostart: true
       },
       modules: [
                { type: "MediaFragment",
@@ -169,7 +170,11 @@
 				'type'				: 'iframe'
 			});
 			jQuery(".acctitre").click(function() {
-			    jQuery(this).next().slideToggle();
+			    var _nx = jQuery(this).next();
+			    if (_nx.is(":hidden")) {
+    			    jQuery(".acctexte").slideUp();
+    			    _nx.slideDown();
+			    }
 			})
 			
 		});
@@ -256,30 +261,30 @@
                     <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script>
                     <!-- AddThis Button END -->
                 </div>
-                </div>
+            </div>
 	
 	<!-- EXPLICATION  -->
 	<div id="mdpgauche">
        <div id="out_fleche"></div>
         <ul id="accordeon">
             <li class="acctitre">
+                <h3><?php echo($translate->_('config__title')); ?></h3>
+            </li>
+            <li class="acctexte">
+                <p><?php echo($translate->_('config__description')); ?></p>
+            </li>
+            <li class="acctitre">
                 <h3>Liste des Annotations</h3>
             </li>
-            <li class="acctexte">
+            <li class="acctexte" style="display: none;">
                 <div id="AnnotationsListContainer"></div>
             </li>
             <li class="acctitre">
                 <h3>Mots-clés</h3>
             </li>
-            <li class="acctexte">
+            <li class="acctexte" style="display: none;">
                 <div class="tagcloud" id="TagcloudContainer"></div>
             </li>
-            <li class="acctitre">
-                <h3><?php print $translate->_("AboutPT"); ?></h3>
-            </li>
-            <li class="acctexte" style="display: none;">
-                <p><?php print $translate->_("ExplicationPT"); ?></p>
-            </li>
         </ul>
 		
 	  </div>
@@ -288,8 +293,8 @@
 	  
 	  <!-- INFOS SUR LA CONF
 	  	<div class="tweetExplain"  >
-		<h3 class="tweetWriterTitle"><?php echo($translate->_('config__title')); ?></h3><br/>
-			<?php echo($translate->_('config__description')); ?>
+		<h3 class="tweetWriterTitle"></h3><br/>
+			
 	  </div>
 	  -->