web/polemicaltimeline.php
changeset 573 6ec62b3610c8
parent 569 76ee1291e0c8
child 575 634e5549b806
equal deleted inserted replaced
572:40f588bdb1c5 573:6ec62b3610c8
   107                }],
   107                }],
   108               height: 5
   108               height: 5
   109             },
   109             },
   110             {type: "SliderWidget"},        
   110             {type: "SliderWidget"},        
   111             {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
   111             {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
   112              mode: "radio"},
   112              mode: "radio",
       
   113              disable_annotate_btn: true},
   113             {type: "SegmentsWidget",
   114             {type: "SegmentsWidget",
   114              requires: [{
   115              requires: [{
   115               type: "TooltipWidget",
   116               type: "TooltipWidget",
   116               width: 180,
   117               width: 180,
   117               height: 160,
   118               height: 160,
   120             },                      
   121             },                      
   121             {type: "ArrowWidget"},
   122             {type: "ArrowWidget"},
   122             {type: "TweetsWidget"},
   123             {type: "TweetsWidget"},
   123             {type: "AnnotationsWidget"},
   124             {type: "AnnotationsWidget"},
   124             {type: "AnnotationsListWidget",
   125             {type: "AnnotationsListWidget",
   125              container: "AnnotationsListContainer"},
   126              container: "AnnotationsListContainer",
       
   127              ajax_mode: false},
   126             {type: "TagCloudWidget",
   128             {type: "TagCloudWidget",
   127              container: "TagcloudContainer",
   129              container: "TagcloudContainer",
   128         <?php if (isset($config['hashtag'])) echo "excludeWords: ".json_encode(array($config['hashtag'])).","; ?>
   130         <?php if (isset($config['hashtag'])) echo "excludeWords: ".json_encode(array($config['hashtag'])).","; ?>
   129             excludePattern: /^@/
   131             excludePattern: /^@/
   130             }
   132             }