PonteIneptique / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

TIMELINE. IE7 / Firefox differences #149

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I noted another issue where IE problems were noted in cases where timelines
worked in Firefox. I've had similar problems. Here's another: In IE, a
group of events with identical times don't all show up. They group by their
titles; if you have three different titles and six of each, you'll only see
three instances -- not 18. Another issue -- information between <event> and
</event> is not reliably showing up in IE -- but it's quite reliably
showing up in Firefox. Just now, in fact, I can't get a darned bit of it to
show when I click an event in IE, and I can't get it to NOT show up when I
do so in Firefox.

Other weirdnesses with IE7. Inexplicable.

[Submitted by Scott Marquardt on simile.mit.edu] 

One other question while I'm at it; is there a limit on the number of items
in a timeline? I'm getting an odd error about "v1" when I have a few
thousand items.

Microsoft Vista using Internet Explorer 7 and Firefox 

IE is a lot stricter in parsing Javascript than Firefox. That means you
should watch out for trailing commas in arrays and objects, e.g.,

[ 1, 2, 3, ]
  { name: "john", age: 26, }

Try to use this service to check your files:
http://simile.mit.edu/babel/validator
[ Show » ]
David F. Huynh - 11/Jan/07 11:01 AM IE is a lot stricter in parsing
Javascript than Firefox. That means you should watch out for trailing
commas in arrays and objects, e.g., [ 1, 2, 3, ]   { name: "john", age: 26,
} Try to use this service to check your files:
http://simile.mit.edu/babel/validator

[ Permlink | « Hide ]
nicolaus bauman - 04/Aug/08 05:48 PM
My timeline allows viewing scores of thousands of events. I make this
possible by adding scroll listeners that load chunks as the user scrolls
into the past. Everything works fine in Firefox, Safari and Opera. But I
have inconsistent results in IE6 and IE7. Most of the time, some chunk is
causing a "Exception caught [Object error]", it's pretty random, but some
files seem more consistent than others, with the occasional "runtime error"
or whatnot. The chunks are lazily loaded via a scroll listener as static
JSON-encoded files that are generated offline as a batch (to prevent
overwhelming the database). It seems that the problem is not anything to do
with encoding, but has something to do with a threading issue or a
reentrance problem or some kind of race condition.
[ Show » ]
nicolaus bauman - 04/Aug/08 05:48 PM My timeline allows viewing scores of
thousands of events. I make this possible by adding scroll listeners that
load chunks as the user scrolls into the past. Everything works fine in
Firefox, Safari and Opera. But I have inconsistent results in IE6 and IE7.
Most of the time, some chunk is causing a "Exception caught [Object
error]", it's pretty random, but some files seem more consistent than
others, with the occasional "runtime error" or whatnot. The chunks are
lazily loaded via a scroll listener as static JSON-encoded files that are
generated offline as a batch (to prevent overwhelming the database). It
seems that the problem is not anything to do with encoding, but has
something to do with a threading issue or a reentrance problem or some kind
of race condition.

[ Permlink | « Hide ]
nicolaus bauman - 04/Aug/08 05:49 PM
Oh, I also used the babel validator on the content. It says the content is
fine.

Original issue reported on code.google.com by GabrielR...@googlemail.com on 5 Apr 2009 at 2:36