Can you see any error message in the Javascript console? Sorry but I 
don't have Ubuntu to test.

David

OOzy Pal wrote:
> When I resize my FireFox on Ubuntu, the timeline info disappeared and
> I only see a gray box. Bellow is my init js script.
>
> var tl;
> function onLoad() {
> var eventSource = new Timeline.DefaultEventSource(0);
>               
>   var theme = Timeline.ClassicTheme.create();
>   theme.event.bubble.width = 320;
>   theme.event.bubble.height = 220;
>   var d = Timeline.DateTime.parseGregorianDateTime("1997")
>  var bandInfos = [
>       Timeline.createBandInfo({
>         width:          "100%",
>       intervalUnit:   Timeline.DateTime.YEAR,
>       intervalPixels: 200,
>       eventSource:    eventSource,
>       date:           d,
>       theme:          theme
>                               })
>               ];
>               
>       tl = Timeline.create(document.getElementById("kstl"), bandInfos,
> Timeline.HORIZONTAL);
>       Timeline.loadXML("/design/ar/javascript/ks-ksa.xml", function(xml,
> url) { eventSource.loadXML(xml, url); });
> }
> var resizeTimerID = null;
> function onResize() {
>               if (resizeTimerID == null) {
>                               resizeTimerID = window.setTimeout(function() {
>                                               resizeTimerID = null;
>                                               tl.layout();
>                               }, 500);
>               }
> }
>
>
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to