Hi Steve,

I see a large number of errors in the Firebug console on a recent Firefox. The Timeline still shows up, but I'm not sure the inline scripts are taking effect (which is where all of the errors lie). You may want to consider rectifying them all before coming back to the issue you describe, it may be related.

Briefly, the line your error message cites indicates that your Timeline creation is taking place against an undefined DOM element. This could be because it's running before the DOM is available or because you're actually passing it an undefined object.

Despite the script errors, IE8 still managed to load your Timeline correctly (working popup links and all) on each refresh I did, so I'm not quite sure what else to look into. Did you happen to fix this between your initial report and now?

On 2012-05-10 08:44 , Steve wrote:
There is a caching issue in IE8 with links in the National Science
Foundation Timeline at 
http://www.nsf.gov/news/special_reports/history-nsf/timeline/index.jsp.
The links in the bubbles and horizontal green lines delineating the
tenure of NSF directors work the first time, but not after that.
Cleaning and refreshing the browser cache doesn’t help. Resetting
compatibility view has no effect.

There is no caching issue in IE7, IE9, FF, Chrome, and Safari.

Javascript debugging yielded the following error message in IE8:

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E; InfoPath.2)
Timestamp: Wed, 9 May 2012 11:06:30 UTC

Message: Object required
Line: 466
Char: 5
Code: 0
URI: http://static.simile.mit.edu/timeline/api-2.3.0/scripts/timeline.js

We tried the following, none, of which, were successful:

1. Add IE7-emulation meta tag to the timeline/index.jsp page just
under opening <head> tag:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

2. Generate a Javascript patch generating random URL parameters to
trick the browser into not catching.

var r1=Math.floor(Math.random()*11) ;
var r2 = Math.floor(Math.random()* 1000000) ;
var r3 = String.fromCharCode(r1)+r2 ;

Timeline.loadJS(
     "nsfhistory.js?" + r3,
     function(js, url) { eventSource.loadJS(js, url); });

3. Add no-cache and expires http tags
<meta http-equiv ="Pragma" CONTENT="no-cache">
<meta http-equiv ="Expires" CONTENT="-1">

Any suggestions would be greatly appreciated.



--
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