Re: Timeline Themes

2008-10-23 Thread Larry Kluger
Hi Greg, I just did a check of the code, and it looks to me like each event's painter has its theme set from the band's theme, as you'd expect. See: File: timeline.js Timeline.createBandInfo = function(params) { Lines: // get theme from the band info or use default var theme = (theme in

Re: Translations

2008-10-28 Thread Larry Kluger
Hi Marko, I'm not an Exhibit guy, so hopefully someone else who is will update Exhibit with your localization (L10N). You could also file an Issue against Exhibit asking for the L10N to be integrated. Regards, Larry From: Marko ... To: SIMILE Widgets

Re: Overview layout produces an error

2008-10-31 Thread Larry Kluger
Hi Greg, Glad it's working for you. Changing tape height (thickness) works for originalPainter: The example http://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/examples/test_example2/test_example2.html demonstrates how to do it and also shows that it works properly with the

Re: Old style layout of events.

2008-11-03 Thread Larry Kluger
is that people tend to read from left to right and top to bottom which would be mush easier in the first example. Thanks for your consideration in this matter. greg On Oct 24, 12:42 pm, Larry Kluger [EMAIL PROTECTED] wrote: Hi Greg and G F, Re: optional explicit (manual) track

Re: Displaying very short events fix

2008-11-10 Thread Larry Kluger
Hi Gabor, Oops, I didn't think of the label. The label doesn't show up when the tape width is 0? I'd think that's a bug and should be fixed. Please file a bug report using the issues system. I don't think the right fix would be a 1 px tape though. My thought is that a short event should have

Re: How to get a loading splash screen?

2008-11-14 Thread Larry Kluger
Hi TB, Are you using the current software (either 2.2.0 or the trunk version)? That software puts up the loading screen when Timeline is starting and takes it down after your callback function returns. See timeline.js lines 361 and 365 (for loadingXML) Regards, Larry

Re: How to get a loading splash screen?

2008-11-19 Thread Larry Kluger
Hi, Nothing has changed in regard to this between 2.1.0 and 2.2.0. If you are loading events dynamically, then you should put up (and take down), the loading screen yourself. Call tl.showLoadingMessage(); and tl.hideLoadingMessage(); where tl is your Timeline object returned from

Re: script events question

2008-11-22 Thread Larry Kluger
Hi Greg, Do you mean when has the Timeline finished its initial display of events? Or when has it finished displaying events after a Timeline band has been moved? Whenever a Timeline band is moved beyond the currently painted set of events, Timeline paints a new set of events. Note that not

Re: Is download version the latest?

2008-11-25 Thread Larry Kluger
Hi ysenath, The trunk version of Timeline does support variable tape thickness. See example 2 which demonstrates: http://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/examples/test_example2/test_example2.html Re: text on the tape. This can be done via css. A demo is at

Re: Is it possible to have a mouse-over function for Timeline?

2008-11-25 Thread Larry Kluger
Hi Katie, It can be done, but is rather complicated. In addition, it is not clear that the best UI is to have the ballons popping up all the time. Below is a message that describes one way of doing it. You'll need to change the source. In the message, the author talks about changing the

Re: Different coloring for weekends?

2008-12-05 Thread Larry Kluger
Hi Wayne, Congrats on your Timeline project! You can shade the background of a time period by using a decorator For an example, see the JFK timeline. I made some improvements to the decorator code that are currently only in the trunk version. In particular, you may want to use a null label

Re: Control Event Duration heigth

2008-12-08 Thread Larry Kluger
Hi Oliver, 1) Use the current software, either ver 2.2 or trunk version 2) See the examples, esp test_example2 (trunk version) for how to change the theme. Test_example 2 also increases the thickness of the tape for one of the bands. Please let us know if your completed Timeline can be posted

Re: Inspiration: http://allofme.com/

2008-12-09 Thread Larry Kluger
It's not working right now, probably too much traffic. But I believe that I looked at it in the past. Comments: I don't think it would be hard to add some of their UI (user interface) features to Timeline. Main change would be a different event painter. Good news is that part is the easy

Re: Inspiration: http://allofme.com/

2008-12-09 Thread Larry Kluger
Hi Mike, Thanks for your comment. I agree with you that a linear representation of the Timeline on a scrollbar would not be helpful. But at the same time, we need to explore additional visual cues about scrolling. I've been doing UI testing with Timeline and people just don't grasp the

Re: highlight broken with autoWidth

2008-12-09 Thread Larry Kluger
Hi Paul, Please post a publicly available html url that shows the error and I'll look into it. I'll probably need to link it to the full libraries, not the compressed ones. Something you should make sure of: * You are running against the trunk version of the ajax library as well as the

Re: multiple filters

2008-12-10 Thread Larry Kluger
Hi Paul, Unfortunately I don't have the time right now to assist. I suggest firebug if you're not using it already. When you have a revised version of the sw available, please post it and I'll update the wiki. Regards, Larry From: pepsipaul [EMAIL

Re: Events drag-and-drop

2008-12-11 Thread Larry Kluger
For drag and drop, I recommend that you check out the Yahoo library. It is far superior to anything on Dynamic Drive's site, imho. It is professionally developed by Yahoo engineers for use by Yahoo. In addition, it is free open source, well documented, and the community support is excellent.

Re: highlight broken with autoWidth

2008-12-11 Thread Larry Kluger
see several reports you will know that you have a problem. Hope this helps Paul On Dec 10, 2:43 pm, Larry Kluger wex...@kluger.com wrote: Hi Paul, Please post a publicly available html url that shows the error and I'll look into it. I'll probably need to link it to the full libraries

Re: Control Event Duration heigth

2008-12-17 Thread Larry Kluger
this timeline to the wiki (because it's a company one) But I have planned to implement one in an ASF project (continuum). -- Olivier On Dec 8, 10:00 pm, Larry Kluger wex...@kluger.com wrote: Hi Oliver, 1) Use the current software, either ver 2.2 or trunk version 2) See the examples, esp

Re: How to load the updated JSON file?

2008-12-17 Thread Larry Kluger
Hi Félix, The usual trick for overcoming unwanted caching is to include a changing reference to the file. Eg instead of referring to json data file datafiles/data_file1.json Use datafiles/data_file1.json?4567 And change the 4567 part each time. A usual method is to use the current time

Re: Does any host a pre-V2 version of Timeline on their machine?

2008-12-17 Thread Larry Kluger
Hi Mark, Versions 1 and 2.0 didn't have such great instructions for hosting Timeline locally. That's why I improved things for the later versions. Why do you want to use the old software? Regards, Larry From: Mark pomeg...@gmail.com To: SIMILE Widgets

Re: Version 2.2.0 and/or hosting Simile timeline issues

2008-12-17 Thread Larry Kluger
Hi Warf, Welcome to Timeline. Since you posted your url, it was easy for me to spot the problem: You're referencing http://www3.telus.net/warfsworld/timeline_js/bundle.js But nothing is there on your server. Or at least, nothing is being downloaded. So either you didn't upload the bundle

Re: Help with installation

2008-12-17 Thread Larry Kluger
Hi Mark, I'm empathetic. But, unfortunately, Timeline is very much a library for folks with at least limited web skills (HTML language, etc). The basic instructions for a standalone installation (no server) are: 1) Install Java from Sun. 2) Download and unzip the source library version of

Re: Does any host a pre-V2 version of Timeline on their machine?

2008-12-18 Thread Larry Kluger
be good to get previous version working (I previously used v1 hosted on your site using the JFK urls, worked fine, but can't always guarantee I'll have a network connection when demoing). Thanks Mark On Dec 17, 3:03 pm, Larry Kluger wex...@kluger.com wrote: Hi Mark, Versions 1 and 2.0 didn't have

Re: Version 2.2.0 and/or hosting Simile timeline issues

2008-12-18 Thread Larry Kluger
); }); } In FIREBUG it also points at tl is undefined var resizeTimerID = null; function onResize() { if (resizeTimerID == null) { resizeTimerID = window.setTimeout(function() { resizeTimerID = null; tl.layout(); }, 500); } } On Dec 17, 6:38 pm, Larry

Re: simile.mit.edu down?

2008-12-19 Thread Larry Kluger
failover. It'll take a few days at least to find things out. Larry Kluger wrote: Hi Eric, In my humble opinion, you are *far* better off hosting the libraries yourself rather than depending on an .mit.edu server. Like, night and day better off. The Yahoo folks have studied the issues

Re: entry level question

2008-12-21 Thread Larry Kluger
Hi Ricardo, Welcome back to Timeline. The Same origin policy may be biting you: http://en.wikipedia.org/wiki/Same_origin_policy To use http://xen.net/docs/xml/monet.xml, your html file containing the Timeline must also be on http://xen.net/ Hope this helps, Larry

Re: Version 2.2.0 and/or hosting Simile timeline issues

2008-12-21 Thread Larry Kluger
Hi Warf, Sorry for the less-than-stellar docs. I have updated the getting started wiki page to refer to overview:true, Note that there should not be quotations around true. It will work with them, but you're better off without. Also, on your Timeline web page you have a note at the

Re: entry level question

2008-12-21 Thread Larry Kluger
to delegate responsibility on database management on the groups that creating/curating them. Please, is not a way to get this while sticking with JavaScript? At least for using Simile software! Thanks. Best, Ricardo Larry Kluger wrote: Hi Ricardo, Welcome back to Timeline. The Same origin

Re: simile.mit.edu down?

2008-12-22 Thread Larry Kluger
down? Hi Larry, Fyi, here is what I did to host Exhibit. Feel free to post comments if there is anything I should clarify. http://www.stevetrefethen.com/blog/HostingMITsSimileExhibitOSProject.aspx -Steve On Dec 19, 10:45 am, Larry Kluger wex...@kluger.com wrote: Hi Steve, I was wondering

Re: Events With A Magnitude Value -- How To?

2008-12-22 Thread Larry Kluger
Hi Thaddeus, Consulting the famous book The Visual Display of Quantitative Information, leads to a couple of ideas: 1) Put the number after or before the event description (as part of the event's description). 2) create miniature graphs as different icons, one for each possible magnitude.

Re: Thank you! re: timeline_problems wiki page

2008-12-23 Thread Larry Kluger
Hi Sherri, Thanks very much for your kind note. Regards, Larry From: slwf creativesw...@gmail.com To: SIMILE Widgets simile-widgets@googlegroups.com Sent: Tuesday, December 23, 2008 9:54:57 AM Subject: Thank you! re: timeline_problems wiki page Just

Re: Why timeline can not recongonize 2008-08-08 in the XML file?

2008-12-24 Thread Larry Kluger
Greetings bjwujihua, If you tell Timeline that your dates are in Iso8601 format, then they'll be parsed that way. That's probably what you want. The default date parsing strategy is if the date string is less than 8 characters long, then parse it as being either just a year, or a year

Re: Presenting today Need Quick Help: console' is undefined error

2008-12-24 Thread Larry Kluger
Hi James, I believe that the problem is in your xml file: one (or more) of the events after 1831 is a problem. Suggested fix: Change your xml file. First delete all events after 1831. Run your html file and everything (hopefully) will work perfectly. Then start adding back in the events.

Re: Presenting today Need Quick Help: console' is undefined error

2008-12-24 Thread Larry Kluger
Good job David, The problem is that the Oregon Treaty has a start date that is after its end date. So the event lasts negative time. This crashes older versions of Timeline. The even better news is that I added checks into the current version of Timeline that will automatically spot this

Re: Presenting today Need Quick Help: console' is undefined error

2008-12-24 Thread Larry Kluger
educational for the sub-culture that we research (mixed aboriginal/european sub-culture) in mostly Canada, Northwestern USA. Merry Christmas from Canada! On Dec 24, 10:19 am, Larry Kluger wex...@kluger.com wrote: Hi James, I believe that the problem is in your xml file: one (or more

Re: Timeline: Is it possible to set the number of lines and assign specific type (or name) of events to these lines

2008-12-26 Thread Larry Kluger
Hi tiagosilva, Yes, you can specify which track an event should appear on. If you do this then you are responsible that one event does not overlap another on the Timeline. Current trunk version of Timeline includes support for the event attribute trackNum See

Re: Timeline - Character Encoding

2008-12-27 Thread Larry Kluger
Hi tiagosilva, In addition to David's tips, be sure that your html file (the page that is displaying the Timeline) is set to utf-8 1) No quirks browser setting: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; See: http://developer.yahoo.com/yui/3/cssgrids/

Re: Newbie json question

2008-12-27 Thread Larry Kluger
Hi GChiu, It is possible to include the data in the html file. Just include it, then eventSource.loadJSON(timeline_data, json_url); // load the events where timeline_data is the event data. json_url is the base url that should be used with the icon and wiki url references, if any, in the

Re: Timeline - Character Encoding

2008-12-27 Thread Larry Kluger
wrong, i added both lines like you showed on the wiki page, but i still get the same result. thank you for the help, is there something else i might be doing wrong? On Sun, Dec 28, 2008 at 1:09 AM, Larry Kluger wex...@kluger.com wrote: Hi tiagosilva, In addition to David's tips, be sure that your

Re: Timeline - Character Encoding

2008-12-27 Thread Larry Kluger
Remember that the idea is that the non-US character codes are being entered into the data. Not HTML entity codes. Eg, in the XML file, on windows, enter ALT-0147 Hello World ALT-0148 Where ALT-0147 means: hold down the alt key while typing 0147, then release the ALT key. If you use the

Re: Newbie json question

2008-12-28 Thread Larry Kluger
suggestion cobbling bits of various scripts together but I can't get it to work http://www.compkarori.com/timeline/timeline.html with a blank display On Sun, Dec 28, 2008 at 2:31 PM, Larry Kluger wex...@kluger.com wrote: Hi GChiu, It is possible to include the data in the html file. Just include

Re: Why this code not working in IE6 or IE7, but work fine in FireFox

2008-12-29 Thread Larry Kluger
Hi Ish, The usual problem when something works in FF but not-IE is extra trailing commas. See http://code.google.com/p/simile-widgets/wiki/Timeline_Problems The other problem for a dynamically supplied data set is an incorrect mime type on the response. But my understanding is that this is

Re: Version 2.2.0 and/or hosting Simile timeline issues

2008-12-29 Thread Larry Kluger
works when my page refer to simile.mit.edu but not work when it refer to my local files (v2.2.0) bundle.js from simile.mit.edu is 114k but my local timeline- bundle.js is 89k only. Why? What is the version of online Timeline library on timeline- bundle.js? Magic On 12月22日, 上午12時34分, Larry Kluger wex

Re: Piano roll for MIDI

2008-12-30 Thread Larry Kluger
Hi John, I think you could definately use the Timeline library architecture for displaying your data. You'll want to first explore the Timeline architecture to understand how it works and how to adapt it to your data sets. You'll need to change the original painter methods to paint your data

Re: Highlighting todays date

2008-12-30 Thread Larry Kluger
Hi Entangled, You would use a SpanHighlightDecorator function call from the Timeline library. See the jfk.html in the examples section for an example of how to do this. You'd want to highlight the span of time from the start of today's date through 11:59:59 pm (or somesuch) Regards, Larry

Re: Timeline: Is it possible to set the number of lines and assign specific type (or name) of events to these lines

2008-12-30 Thread Larry Kluger
On Fri, Dec 26, 2008 at 5:28 PM, Tiago Silva tiagosi...@gmail.com wrote: Thank you! On Fri, Dec 26, 2008 at 10:07 PM, Larry Kluger wex...@kluger.com wrote: Hi tiagosilva, Yes, you can specify which track an event should appear on. If you do this then you are responsible that one event does

Re: Piano roll for MIDI

2008-12-30 Thread Larry Kluger
reply. I realised it would not be a simple task to do what I want, but thanks for the pointers. What's the URL for downloading the Timeline library ? Will keep you posted on progress John On Tue, Dec 30, 2008 at 2:38 PM, Larry Kluger wex...@kluger.com wrote: Hi John, I think you could

Re: Highlighting todays date

2008-12-31 Thread Larry Kluger
a nice red line going up the middle of the timeline and it looks good. I wasn't clear in my request for help, though, and I apologize. What I meant to say was not how to highlight todays date, but how to make it so the present date is always highlighted. On Dec 30, 1:33 pm, Larry Kluger

Re: Timeline:FF and IE7 ok, Ie6 and Chrome broken

2009-01-04 Thread Larry Kluger
Excellent job Bill, I tested it in FF, IE 7, Safari/Win and Chrome. Worked fine in all of them. I don't test in IE 6 anymore. Sorry that I can't be of further help there. You may want to add overview: true to your second band definition. Regards, Larry ps. Please advise when you're

Re: Json date format

2009-01-07 Thread Larry Kluger
. We look forward to your report... Hope this helped, Larry From: Larry Kluger wex...@kluger.com To: simile-widgets@googlegroups.com Sent: Wednesday, January 7, 2009 9:58:18 AM Subject: Re: Json date format Hi Graham, Re: Timezones Could be a number

Re: Open the bubble of a given event programmatically

2009-01-08 Thread Larry Kluger
Hi Franz, For highlighting, you can either 1) change the css classes of the event's divs on the band, or 2) use the highlighting method call. The highlight method is described in the wiki, the jfk timeline provides an example. The trunk version of Timeline has every div with a specific id,

Re: Custom sort terms

2009-01-08 Thread Larry Kluger
Nice Exhibit Ted! I've added it to the Exhibit In-The-Wild wiki section. Regards, Larry From: Ted lawle...@gmail.com To: SIMILE Widgets simile-widgets@googlegroups.com Sent: Thursday, January 8, 2009 3:03:18 PM Subject: Re: Custom sort terms Thanks David.

Re: Fix for Firefox 3 on Mac wrapping issue on static

2009-01-12 Thread Larry Kluger
Hi Mike, There are several changes in the Ajax trunk. The fix for the Mac wrapping is there and is stable. The fix for wrapping when css is changed (eg add a bolding css rule) is there and stable. (There are issues in the issues tracker for the above, I just don't have the issue numbers

Re: Timeline: Different Icon Sizes based on zoom level

2009-01-13 Thread Larry Kluger
Sounds like an interesting UI to try out. Look in original-painter to see where the icon is painted. You'll replace the function with one of your own which will look at the current scale (zoom factor) of the Timeline band when deciding which icon file to paint onto the screen. I believe that

Re: New Timeline example: Photo Timeline

2009-01-20 Thread Larry Kluger
Hi Franz, Doesn't show a Timeline for me in Safari / Windows or IE7. Regards, Larry From: jqueryui-vienna fbuchin...@gmail.com To: SIMILE Widgets simile-widgets@googlegroups.com Sent: Tuesday, January 20, 2009 11:07:02 AM Subject: New Timeline example: Photo

Re: IE strikes again, but it's not my trailing commas...

2009-01-21 Thread Larry Kluger
Hi Phil, I feel your pain. -- I've felt it myself on far too many occasions. If you know the tricks for getting it to start up, there is a pretty good debugger for IE 7. See http://www.berniecode.com/blog/2007/03/08/how-to-debug-javascript-with-visual-web-developer-express/ and here is the

Re: Simile timeline to display radio spectrum

2009-01-22 Thread Larry Kluger
Hi Steve, Sounds like a great project. You'll need to re-work on the event storage and iterator software (in the Ajax directory) since you will be comparing frequencies, not dates. Currently the events are ordered by dates. You'll also need to change the labeling sw. Difficulty of the project

Re: timeline zoom function not working - bug in trunk?

2009-01-26 Thread Larry Kluger
Hi Ralph, Thank you for your kind comments. And thank you for your willingness to pitch in and help out. The Timeline library is truly a community project. A contributor added the zoom functionality a while ago and it has been there ever since. It is definately in ver 2.1 and in later

Re: Moving The Timeline Page By Page

2009-02-01 Thread Larry Kluger
Hi Robert, The problem is that the amount of Time shown on an html page is not a constant since HotZones (areas of different t-axis resolution), may or may not be present on the page. I suggest that you: a) get the band object for the band with the lowest t-axis (time axis) resolution. b)

Re: Exhibit with Timeline view as a confluence plugin and issues with exhibit timeline view

2009-02-02 Thread Larry Kluger
Hi Visu, I did a small investigation into adding Timelines to a wiki a while back. The main issue is that the page needs to make a Javascript call (to the Timeline library) to have a Timeline drawn on the page. And an important feature for wikis is to prevent wiki content from making

Re: Documentation

2009-02-04 Thread Larry Kluger
Hi Confringo, Information on running Timeline locally is in the timeline-api.js file itself, see http://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/api/timeline-api.js Changing themes is documented here: http://code.google.com/p/simile-widgets/wiki/Timeline_CreatingNewThemes I

Re: timelines on freebase

2009-02-05 Thread Larry Kluger
Looks fine on my copy of FF 3.0.6. at 1.30pm EST Larry From: Marko ar...@dds.nl To: SIMILE Widgets simile-widgets@googlegroups.com Sent: Thursday, February 5, 2009 9:16:46 AM Subject: Re: timelines on freebase Congrats! Looks cool. However, on Firefox 3.06

Re: How can I increase the thickness of the duration event bars on my Timeline?

2009-02-06 Thread Larry Kluger
Hi Jake, Re: How can I increase the thickness of the duration event bars on my Timeline? A: Increase the values for theme.event.track.height and theme.event.tape.height See http://code.google.com/p/simile-widgets/wiki/Timeline_CreatingNewThemes for how to change your Timeline's theme.

Re: Moving The Timeline Page By Page

2009-02-07 Thread Larry Kluger
PERFECTLY!! function pageForward() { var maxDate = tl.getBand(0).getMaxVisibleDate(); tl.getBand(0).setMinVisibleDate(maxDate); } function pageBack() { var minDate = tl.getBand(0).getMinVisibleDate(); tl.getBand(0).setMaxVisibleDate(minDate); } On Feb 1, 1:55 pm, Larry Kluger

Re: How can I increase the thickness of the duration event bars on my Timeline?

2009-02-08 Thread Larry Kluger
. /noscript /BODY /HTML On Feb 8, 3:26 am, Larry Kluger wex...@kluger.com wrote: Hmmm, I agree with Scott that it is a good idea to add layout: 'original' to your band info. But the other two settings are the correct ones to use. Try

Re: How can I increase the thickness of the duration event bars on my Timeline?

2009-02-08 Thread Larry Kluger
-timeline style=height: 500px; border: 1px solid #aaa/div noscript This page uses Javascript to show you a Timeline. Please enable Javascript in your browser to see the full page. Thank you. /noscript /BODY /HTML On Feb 8, 3:26 am, Larry Kluger wex...@kluger.com wrote: Hmmm, I

Re: CakePHP Helper for Timeline widget

2009-02-10 Thread Larry Kluger
Hi Ronny, I've updated the Wiki. Thank you for using Timeline. If you have any examples that use Timeline via the CakePHP sw, please let us know and I'll add them to the in-the-wild page. Regards, Larry From: Ronny Vindenes ronny.vinde...@gmail.com To:

Documentation

2009-02-11 Thread Larry Kluger
. On Feb 4, 11:59 pm, Larry Kluger wex...@kluger.com wrote: Hi, Information on running Timeline locally is in the timeline-api.js file itself, seehttp://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/ap... Changing themes is documented here:http://code.google.com/p/simile

Re: timeline as genome

2009-02-11 Thread Larry Kluger
Hi Kutbuddin, Thank you for the report! I've added a link to your Exhibits on the wiki. Regards, Larry From: ksd ksdoc...@fastmail.us To: SIMILE Widgets simile-widgets@googlegroups.com Sent: Wednesday, February 11, 2009 11:48:19 AM Subject: Re: timeline as

Re: timeline as genome

2009-02-13 Thread Larry Kluger
in the 10^6. Any ideas for solving this problem? Best regards On Feb 12, 6:32 pm, Larry Kluger wex...@kluger.com wrote: Hi Troels, Each band can have its own event source, or no event source (used for bands that just have the x-axis markers and decorators). Use the band attribute eventSource

Re: Timeline styling and event positioning

2009-02-13 Thread Larry Kluger
Hi Micky, Welcome to Timeline. Each band of the Timeline consists of a number of tracks. The events are laid out by the painter to use the minimum number of tracks. To make each track thicker, change the track height and event tape height in the theme. Another way to use up more vertical

Re: timeline as genome

2009-02-15 Thread Larry Kluger
in the genome, kilobase (1000 bp) and megabase (10^6 bp). Using a timeline for each chromosome no ranges would be above roughly 250 * 10^6 bp. On Feb 13, 7:15 pm, Larry Kluger wex...@kluger.com wrote: Hi Troels, Can you say more about the genome coordinates system? Is it just positive numbers? What

Re: How do I call a Javascript function when I click on an event?

2009-02-16 Thread Larry Kluger
Hi Mark, In my use of Timeline, I wanted to do the same as you. I think there's a couple of ways: 1) (Assuming that you're using Original Painter) -- check out the functions in Original Painter that add listeners to the tape, label and icon divs. You can substitute your own listeners or

Re: IE specific issues with Timeline

2009-02-16 Thread Larry Kluger
Hi Owen, Did you check the common problems page on the Timeline wiki? May be a trailing comma problem. Larry From: OwenC owen.cuta...@gmail.com To: SIMILE Widgets simile-widgets@googlegroups.com Sent: Monday, February 16, 2009 5:02:47 AM Subject: IE

Re: Need help adding image on left side of a band

2009-02-17 Thread Larry Kluger
Hi Malay, You want to add an image that does not move? -- The Timeline band should move behind your fixed image? If that's the case, I think that your idea of using the software which paints the Simile copyright onto the band is a good idea. The code is in the timeline.js file, search for

Re: Need help adding image on left side of a band

2009-02-17 Thread Larry Kluger
-- DETAILED BAND 2 NO IMAGE -- OVERVIEW BAND 1 I want tot achieve something like the above. Thank you again Larry. On Feb 17, 12:10 pm, Larry Kluger wex...@kluger.com wrote: Hi Malay, You want to add an image that does not move? -- The Timeline band should move behind your fixed image? If that's

Re: Help with transitioning from Timeline and Timeplot versions on simile.mit.edu to current/locally hosted versions?

2009-02-18 Thread Larry Kluger
Hi Julian, I suggest that you get first one, then the other library to load locally. For loading Timeline locally, use the version 2.2 zip files. They do work. The ones in the trunk need to be updated since the Ajax library has made some directory changes that need to be reflected in the trunk

Re: Simile's Timeline on Recovery.gov

2009-02-18 Thread Larry Kluger
on the home page of recovery.gov. I'm delighted that you're using it, but attribution on your copyright page or elsewhere would be appropriate and appreciated. Regards, Larry Kluger ~~~ We'll see if there's any reply...if not, I know folks in a Congressman's office who, I believe

Re: InfoBubble Display Error on jboss-4.0.2

2009-02-18 Thread Larry Kluger
Hi Scott, The images tend to get cached. I'd clear the browser's cache and see if the problem still persists. -- Maybe something got hosed. I'd also use firebug to see if the images are being requested by the browser when you open a bubble. You could also use fiddler or another peeker.

Re: Adjusting the theme for the tape height

2009-02-19 Thread Larry Kluger
Hi Paul, My guess is a change between 2.2 and 2.3. 2.3 is the current trunk version. I will work on getting it released, I think that will solve a lot of problems. Sorry for the issues, Larry ps theme.event.tape.height definitely works on the trunk version, there is an example that tests

Re: Double-click problems in IE

2009-02-19 Thread Larry Kluger
Hi Malay, The double-click behavior is controlled by the function Timeline._Band.prototype._onDblClick in the bands file. I'm not personally so keen on the UI of double-click. If it is giving you problems, you could turn off the behavior: The following is NOT tested: 1) After loading the

Re: Changing Icons Classname for Highlighted Events

2009-02-19 Thread Larry Kluger
Hi Maximum Bob, One of the features in the trunk version is that the original_painter now gives all of the event divs (tape, icon, label, highlighting) id's that include the event.id. So your js can change the divs as you describe in your email. See the top of original-painter.js for more on

Re: Newbie: SVN checkout of simile-widgets-read-only fails

2009-02-19 Thread Larry Kluger
Hi Ken, Glad you found the solution. What is the url for the wiki page that led you astray re downloading? (I searched but couldn't find it.) Thanks, Larry From: sa...@saic.com kens...@gmail.com To: SIMILE Widgets simile-widgets@googlegroups.com Sent:

Fw: AutoWidth, Zoom, Scroll, other issues

2009-02-22 Thread Larry Kluger
Hi Scott, I don't understand your email. The current version of Timeline, the trunk version, does include the checks for the variable type of band.width. (The issue is that the field is used for both distributing the relative sizes of the bands, using a string such as 20% and for a minimum

Re: Newbie: SVN checkout of simile-widgets-read-only fails

2009-02-23 Thread Larry Kluger
-widgets@googlegroups.com Sent: Friday, February 20, 2009 5:08:05 PM Subject: Re: Newbie: SVN checkout of simile-widgets-read-only fails Thanks, Larry. The svn cmd line I quoted can be found here: http://code.google.com/p/simile-widgets/source/checkout Ken Sall On Feb 19, 9:39 pm, Larry Kluger wex

Re: [timeline] open a bubble without an event

2009-02-25 Thread Larry Kluger
Hi Pascal, To create a bubble, check out the function Timeline.OriginalEventPainter.prototype._showBubble in original-painter. and copy what it does. I've added comments to the code: Timeline.OriginalEventPainter.prototype._showBubble = function(x, y, evt) { var div =

Re: Cubism example

2009-03-01 Thread Larry Kluger
Hi Steve, Jon's email is correct. To answer your direct question: to use the latest features you'll need to download the library from the source repository and host it on either your own machine or your own server. Depending on your background, this can be straight-forward or a bear. I'm

Re: Experimental compact event painter for Timeline

2009-03-02 Thread Larry Kluger
Absolutely David, I'll be working it this week. Larry From: David Huynh dfhu...@alum.mit.edu To: simile-widgets@googlegroups.com Sent: Monday, March 2, 2009 3:42:11 PM Subject: Re: Experimental compact event painter for Timeline Larry Kluger wrote: Hi

Re: Nothing coming up

2009-03-03 Thread Larry Kluger
Hi Matt, One thing I notice is that html element id's can't include spaces. They must start with a letter and contain letters, numbers and some special characters such as '_'. But no spaces. So try replacing div id=Grim Sea timeline with div id=Grim_Sea_timeline and also in your call to

Re: Nothing coming up

2009-03-03 Thread Larry Kluger
from from Timeline API code files. --- On Tue, 3/3/09, Larry Kluger wex...@kluger.com wrote: From: Larry Kluger wex...@kluger.com Subject: Re: Nothing coming up To: simile-widgets@googlegroups.com Date: Tuesday, 3 March, 2009, 3:23 PM Hi Matt, One thing I notice is that html element id's can't

Re: Bar color for imprecise events

2009-03-04 Thread Larry Kluger
Hi Elisabeth, Welcome to Timeline. You're using an older version of Timeline. I believe the tape colors were controlled in that version explicitly through the theme object. Current version of Timeline uses css in many more places to control appearance. However, even in the current version of

Re: Center timeline via extern link

2009-03-04 Thread Larry Kluger
Hi Polyboom, You'd need to write a javascript for your html file that would parse the document's search property. The search property is the question mark and what follows from your document's location url. Eg, in js, try alert (window.location.search) See

Re: Bar color for imprecise events

2009-03-04 Thread Larry Kluger
of the event is still that same blue. What would be the best way to upgrade to the newest version of timeline? Thanks again, Elisabeth On Mar 4, 10:58 am, Larry Kluger wex...@kluger.com wrote: Hi Elisabeth, Welcome to Timeline. You're using an older version of Timeline. I believe the tape colors were

Re: Bar color for imprecise events

2009-03-04 Thread Larry Kluger
and it's already looking better. I appreciate your help. Elisabeth On Mar 4, 11:30 am, Larry Kluger wex...@kluger.com wrote: Hi Elisabeth, To upgrade, I'd use one of the examples from the current release. Use it to compare / change your file. Current release is 2.2 and its examples

Re: Nothing coming up

2009-03-04 Thread Larry Kluger
-widgets@googlegroups.com Sent: Wednesday, March 4, 2009 4:36:49 AM Subject: Re: Nothing coming up Fixed but it still isn't doing anything --- On Tue, 3/3/09, Larry Kluger wex...@kluger.com wrote: From: Larry Kluger wex...@kluger.com Subject: Re: Nothing coming up To: simile-widgets

Re: Bar color for imprecise events

2009-03-04 Thread Larry Kluger
: http://calligraphyqalam.com/test/styles/index.html On Mar 4, 3:12 pm, Larry Kluger wex...@kluger.com wrote: Hi Elisabeth, In the current versions, css is used for the backgrounds. So to change the background color for the themes, add css rules: .timeline-band-0 .timeline-ether-bg{background

Re: Titles coming up next to duration tape

2009-03-04 Thread Larry Kluger
Hi Bob, Welcome to Timeline. You're using the 1.0 ver of the software, which is no longer supported. I suggest that you switch to the current ver, 2.2.0. In the current version, the labels are below the tapes. There is also a way, via CSS to get the labels inside the tapes as was the case

Re: WordPress plugin for SIMILE Timeline

2009-03-05 Thread Larry Kluger
Hi Tim, I've added the link. Regards, Larry From: Tim timisenh...@gmail.com To: SIMILE Widgets simile-widgets@googlegroups.com Sent: Thursday, March 5, 2009 3:42:05 PM Subject: WordPress plugin for SIMILE Timeline I've created a WordPress plugin for the

Re: Icon sizes: was Titles coming up next to duration tape

2009-03-05 Thread Larry Kluger
? Thanks so much for your help! -Bob On Mar 4, 11:14 pm, Larry Kluger wex...@kluger.com wrote: Hi Bob, Welcome to Timeline. You're using the 1.0 ver of the software, which is no longer supported. I suggest that you switch to the current ver, 2.2.0. In the current version, the labels

  1   2   >