Hi,

I'm sure I posted this yesterday but it hasn't appeared on the group page.

I'm hoping it's a very straight forward question, but I just can not find 
the answer in the documentation.  I have a very basic timeline, initiated 
using the code below:

<script>
  $(document).ready(function() {
    createStoryJS({
    type: 'timeline',
    width: '970',
    height: '600',
    start_at_slide: '1',
    source: '/about/timeline-page/TimelineItems',
    embed_id: 'my-timeline',
    debug: true,
    css: '/timelinejs/compiled/css/timeline.css',
    js: '/timelinejs/compiled/js/timeline.js'
  });
});
</script>

All I want to do is centre the timeline on the current day when it loads, 
as opposed to the first slide (tried removing 'start_at_slide' but it 
doesn't seem to change anything).  I'd also like to scale the timeline such 
that it only shows 1 year before the current date to 1 year after the 
current date in the view by default.

Can anyone suggest how to do this or point me in the direction of these 
settings in the documentation?  I've looked at some examples but just can't 
find anything I can understand to do this.

I've tried zoomIndex: 14 and date: "Jan 29 2013 10:01:43 GMT" but neither 
of these work.

Thanks folks!

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to