Hi Tim,

After some evening software time....

Summary
Bad data caused the software to crash (throw an exception) on IE only.
Fixed now checked in, rev 1629--Timeline now checks the incoming event
data for bad dates and flags any problems for the user. Test cases
added to the test example.

Now all of the examples appear to work fine on IE. (Please send a
message if they don't work for you.)
See
http://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/examples/index.html

(This is the current development version. Will be part of the next
release.)

Details...
Turns out the problem was a lot more subtle than I thought it would
be...the Monet example had a typo in its XML file: the latestStart
date for an event was AFTER the earliestEnd date. That's not proper.
The result in the software was that the calculated width for the tape
div was a negative number. The result of setting a width style to a
neg number on FF and Safari is apparently indeterminate. But the IE
folks throw an exception. (Can't really blame them.)

I decided to solve the problem at the source, by checking the incoming
data in sources.js.

Thanks for the problem report, it was a tasty bug. I entered and
closed issue #34.

Regards,

Larry

On Oct 23, 8:15 pm, LarryK <[EMAIL PROTECTED]> wrote:
> Hi Tim,
>
> You're right, ver 2.2 Timeline's Monet example doesn't work in IE 7.
> (Oops!) I'll have to look into that.
>
> However, the JFK example does. (At least for me.) 
> Try:http://simile-widgets.googlecode.com/svn/timeline/tags/latest/src/web...
> in IE and let us know if it doesn't work for you.
>
> My guess is that the Monet example has a trailing comma somewhere, but
> in either case I'll track it down. If you could file an issue report
> thathttp://simile-widgets.googlecode.com/svn/timeline/tags/latest/src/web...
> (ver 2.2)
> does not work in IE, that'd be helpful. 
> Usehttp://code.google.com/p/simile-widgets/issues/list
> and select the "New Issue" link.
>
> Thanks for the bug report.
>
> Regards,
>
> Larry
>
> On Oct 23, 7:30 pm, "Tim Dimsdale" <[EMAIL PROTECTED]> wrote:
>
> > Hi Larry,
>
> > No, I was not using the release, sorry about that.
> > I couldn't get the release 2.2 or the trunk to work in IE (using the
> > monet example anyways).
> > So instead I just copied the script used on this page 
> > (http://simile.mit.edu/timeline/docs/create-timelines.html) as I knew
> > that worked in IE.
>
> > I think I'll go back to the 2.2, debug the problem with IE, and
> > formulate a better question (if still needed) instead.
>
> > Thanks for the response,
>
> > -Tim
>
> > On Thu, Oct 23, 2008 at 2:02 PM, LarryK <[EMAIL PROTECTED]> wrote:
>
> > > Hi Tim,
>
> > > I just spelunked the code base and could not find where you're
> > > referring to. Are you using the current software (version 2.2 or the
> > > Trunk version)?
>
> > > Since you are having a problem with one of the bundle files, I suggest
> > > that you use the unbundled javascript files. That will enable you to
> > > see where the bug is actually happening in the source.
>
> > > To use the regular, unbundled Timeline javascript, use "bundled=false"
> > > when you call the Timeline-api file. See the file's comments for more
> > > info.
> > > To use the regular, unbundled version of the Ajax libraries, add
> > > "&bundled=false" when setting variable Timeline_ajax_url. Eg
> > >  Timeline_ajax_url='http://#{URLHOST}/javascripts/timeline/src/ajax/
> > > api/simile-ajax-api.js?bundle=false';
>
> > > Remember that you'll need to use the source library since it includes
> > > the full source files.
> > > Seehttp://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/ap...
> > > for more on setting the bundling parameter.
>
> > > Regards,
>
> > > Larry
>
> > > On Oct 23, 11:28 am, "Tim Dimsdale" <[EMAIL PROTECTED]> wrote:
> > >> I think in bundle.js it should be:
> > >> Timeline.Debug.exception=function(e){
> > >> alert("Caught exception: "+(Timeline.Platform.browser.isIE?e.message:e));
>
> > >> };
>
> > >> Instead of "Timeline.Platform.isIE"
>
> > >> The effect is that when an error occurs inside of IE
> > >> "Timeline.Platform.isIE" gets resolved into "undefined", which causes
> > >> just "[object]" to be displayed instead of the message.
>
> > >> In bundle.js, the property is set as follows:
> > >> Timeline.Platform.browser.isIE=(an.indexOf("microsoft")!=-1);
>
> > >> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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