Hi all,

Timeline is a great product - really impressed with it! Thanks for your 
efforts developing it :)

Right now, I'm trying to work on filtering events using Prototype's 
getElementsByClassName to hide or show events of a certain class.
However, I notice that there is no way of setting a classname on each 
event via the loaded JSON data.
(I want to be able to filter events of a certain type, the text of which 
may not exist in the title or description fields)

The other option of course is to reload the JSON off the server with the 
filter criteria in place and redraw - but that could cost a bit more 
overhead in time in downloading/processing.

As I'm using the Web API version of Timeline (and would like to continue 
to do so, instead of grabbing a SVN version and modifying) I would like 
to request the feature of being able to set an id or class on the div of 
each event (and its label - eg. id of event div itself could be "test", 
and label could be "test_label" dynamically).

Also, an unrelated request; with the name="events" div .. can that be 
given an id="<something>" instead/as well as? Its just using 
getElementsByName in IE to select the timeline div only selects divs 
with elements that are allowed to have name tags (eg. a, input etc). FF 
doesn't care who has a name tag and will find it ok, but id is more 
reliable crossbrowser.

If other people think this is a good idea too, maybe I'll grab the SVN 
and do it myself and submit the code back in for inclusion? shouldn't be 
too difficult to achieve really?

Thanks & have a good christmas!

Ryan
 
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to