So the issue is removeChild. If you reference this page:
http://support.microsoft.com/kb/925014
Here you will find an explanation from M$ that removeChild on a div
element that has a background-url set will cause IE to say the page
has insecure and secure content. I started digging through the code
and removeChild is used alll over the place. Now these locations might
not fit all of the criteria described in that article, but there are
some that do somewhere in the code. This is going to require a pretty
big change in the code. Also jcorreia the function that you are
calling in your code is not Timeline.loadJSON but actually
Timeline.DefaultEventSource.prototype.loadJSON = function(data, url) {
var base = this._getBaseURL(url);
var added = false;
if (data && data.events){
var wikiURL = ("wikiURL" in data) ? data.wikiURL : null;
var wikiSection = ("wikiSection" in data) ? data.wikiSection :
null;
var dateTimeFormat = ("dateTimeFormat" in data) ?
data.dateTimeFormat : null;
var parseDateTimeFunction =
this._events.getUnit().getParser(dateTimeFormat);
for (var i=0; i < data.events.length; i++){
var event = data.events[i];
var evt = new Timeline.DefaultEventSource.Event(
("id" in event) ?
event.id : undefined,
parseDateTimeFunction(event.start),
parseDateTimeFunction(event.end),
parseDateTimeFunction(event.latestStart),
parseDateTimeFunction(event.earliestEnd),
event.isDuration || false,
event.title,
event.description,
this._resolveRelativeURL(event.image, base),
this._resolveRelativeURL(event.link, base),
this._resolveRelativeURL(event.icon, base),
event.color,
event.textColor,
event.classname
);
evt._obj = event;
evt.getProperty = function(name) {
return this._obj[name];
};
evt.setWikiInfo(wikiURL, wikiSection);
this._events.add(evt);
added = true;
}
}
if (added) {
this._fire("onAddMany", []);
}
};
The solution might be writting this out to a file and loading it. This
is a terrible way to do it, and it may be my temporary fix.