Please note that this version had some issues on IE8 and chrome.  I've
boiled it down to a problem in SIMILE only under IE8 with the
repainting code split from the reload part.  I have a second version
for IE8 where the dynamic JSON part works in afaik every browser.   So
the issue in this example is painting the weekends dynamically.  Also
note that in the current form the dates in the url are different under
Chrome than under IE8.  It looks like IE8 isn't respecting my locale
(see included date js) where FF is , the language inside the url is
different.   All I really need from this library is the .clone()
method for the date loop.  Alternatives are welcome.  Thanks for the
response I get over email, I'm working on improvents and a universial
version.

See here:

http://www2.synctrace.com/sandbox/dynamictimelineie.php -> This one
works for IE8, Chrome and FF (no weekends painting)

When I switch on the decorateWeekend functions I get an unhandled
error in IE8 throwing the alert:

Object expect line 1545/52 in file: simile-ajax-bundle.js

SimileAjax.Debug.exception=function(B,D){var
A,C=SimileAjax.parseURLParameters();
if(C.errors=="throw"||SimileAjax.params.errors=="throw")
{A=function(F,E){throw (F);
};
}else{if("console" in window&&"error" in window.console)
{A=function(F,E){if(E!=null){console.error(E+" %o",F);
}else{console.error(F);
}throw (F);
};
}else{A=function(F,E){if(!SimileAjax.Debug.silent){alert("Caught
exception: "+E+"\n\nDetails: "+("description" in F?F.description:F));
}throw (F);
};

Deeper down, I see:
Error: Illegal argument. XmlHttp: Error handling onReadyStateChange
Exception activated but not handled.  (line 2590/3 )

Inside the request I can see that the object has status 200/OK and the
responseText is also loaded fine....

Could sure use some pointers on this.

Glenn



On Mar 29, 5:58 pm, GPLV2 <[email protected]> wrote:
> Hi,
>
> I saw a lot of people asking about dynamic loading of a timeline
> data.  I have a json version/example at the following location,
> everything except the backend is dynamic. (but the url is).
>
> Also added,  on the fly weekend highlighting on the client side which
> wasn't as hard as I thought it was reading the newsgroups.  I hope
> this link will help some people to cut of corners on the way to
> timeline happyness.
>
> http://www2.synctrace.com/sandbox/dynamictimeline.php
>
> It uses jquery (small portion but isn't really needed  for the core).
>
> Feel free to comment.  I would for example love to know how to control
> the cursor on the timeline itself (mousedown etc...)  my trials didn't
> really work for the tl element.

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