++++++++++++++++++++++++++++++++++++++++++++++++++

>You can check the source code of this example for how to control the 
>size of the bubble window:

>http://simile.mit.edu/timeline/examples/jfk/jfk.html

Hi David,

I looked at the source code of the above link and "assumed" that the following 
was the chunk of code I needed to use:

            var theme = Timeline.ClassicTheme.create();
            theme.event.label.width = 250; // px
            theme.event.bubble.width = 250;
            theme.event.bubble.height = 200;

I placed this code immediately after the  "onload( )" command but it is making 
no difference.  It's not even breaking my page.
Sorry to bother you with such trivialities but I'm not a programmer, can you 
tell?

I think I can handle the button problem below (if I place the code in the 
correct place) but I'll work on one problem at a time.

Thanks for your help,

Robert

++++++++++++++++++++++++++++++++++++++++++++++++++ 




>
> Is there a way (or going to be) to type in a year (timeframe) to get 
> to a specific location (like a search) instead of scrolling?
>
> My project is covering a 6(K) year span.
>
You need a little bit of Javascript code for that. Say you have an input 
text box with ID equal "year-textbox" and a button, then set an onclick 
event handler on the button to something like this

function onThatButtonClick() {
var textbox = document.getElementById("year-textbox");
var year = parseInt(textbox.value);
var date = new Date();
date.setUTCFullYear(year);
tl.getBand(0).setCenterVisibleDate(date);
}

Let me know if it's not clear.

> I have begun a “History of Math” timeline. Got a ton of work to do but 
> this is a start.
>
> View it at: http://robertfant.com/TimeLines/MathHistory.htm
>
> Would be honored if you were to link this project on your “Live 
> Examples” page.
>
We'd be glad to do that! Thanks!

David

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

Reply via email to