Hi,

My project required integrating the Timeline Widget into a
SalesForce.org instance. (never mind this if you don't understand).

It was required that we decide dynamically, the height of the
Calendar. So I inserted server side scripts to decide the height of
the <div> where the calendar is to be rendered. Also, we had an
initialize.js page which had a JSON object assigned to a variable
which in turn acts as the source. This JS include also initialized the
BandInfo etc.

Now, in some cases we have really tall calendars (> 2600px). In these
cases, I notice when I scroll (the timeline) or click anywhere inside
(mouseup) causes the screen to pan itself to display approximately the
centre of the calendar - this is really irritating when we have events
to be clicked, scrolled at the top or bottom of the band. This even
happens just after the page is loaded. (This behaviour occurs only in
the tallest of bands - with Timeline.DateTime.DAY. I have fixed the
other two bands to a maximum of of 50 or 30 pixels respectively)

Strangely enough, this happens only in Firefox[3.6.6] and Chrome[5]
and not in IE[8]. I suspect this is because of javascript's
scrollIntoView() is being called somewhere, though I couldn't find it
anywhere in the code.

Any ideas?

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

Reply via email to