I think you must catch onBeforeViewPanelSwitch.exhibit event and set
display: None to the actual div before changing to the next view.
I'll try to give you an example later.


[1] https://github.com/zepheira/exhibit3/wiki/Scripted-Event-API#view-panel


-- luismiguel  (@lmorillas)


2015-04-01 22:00 GMT+02:00  <[email protected]>:
> Thanks for your response.
>
>>
>> >Maybe you must catch the event changing from timeline to map or other
>> > view.
>
>
> Unfortunately, I don't know how to do this - my JS knowledge is minimal. I
> can try to look into it though.
>
>>
>> > The main reason that I need to customize the timeline is that I really
>> > want
>> > the timeline to automatically center on either the first date in my JSON
>> > file, or on the center of the events, rather than the last date as the
>> > default does.
>>
>> >Does ScrollToCenter works? I've never used it but it's documented
>>
>> > >http://simile-widgets.org/wiki/Timeline_Moving_the_Timeline_via_Javascript
>>
>> -- luismiguel
>
>
> Thanks for the link and suggestion. I did try ScrollToCenter (as well as
> some of the other options listed on that page), but they do not work for me.
> My understanding is that these commands will only work with a custom created
> Timeline, rather than the default one embedded in Exhibit. However, I
> haven't been able to get it to work correctly.
>
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to