On Tue, 9 Sep 2008, LarryK wrote: > Hi Jon, > > Re: >> Oops, sorry, Mac OS X 10.5.4. (Safari runs on windows?) >> > > Yes, Safari 3 runs well on MS Windows. Current version is 3.1.2
Larry et al. Huh, yet another in the rapidly growing list of things I don't know. Yes. It appears to be a Mac only problem. I just tested http://home.myuw.net/jjcrump/Timelines/itinerary/FFwrappingTest.html on a windows box using FF 3.0.1, Safari 3.1.2, and IE 7.0.5730.13 and did not see the wrapping problem in the event labels. On my MacBook, using FF 3.0.1 the problem looks like this: http://home.myuw.net/jjcrump/Timelines/itinerary/FFfailed.jpg If I override computeSize() from http://static.simile.mit.edu/ajax/api-2.0/scripts/graphics.js as David suggested by adding 5 to the offsetWidth, thus: SimileAjax.Graphics._FontRenderingContext.prototype.computeSize = function(text) { this._elmt.innerHTML = text; return { width: this._elmt.offsetWidth + 5, height: this._elmt.offsetHeight }; }; I then get the desired behavior which looks like this: http://home.myuw.net/jjcrump/Timelines/itinerary/FFcorrected.jpg As you can see from the screenshots, not all of the event labels are incorrectly wrapped. It's not clear to me why most are wrapped, but some are not. I'm not sure how I might frame this as a bug report to the FF people. By the way, I'm pleased to see some knowledgeable folks picking up the torch on this API. I appreciate your scroll-wheel contribution. You may be interested to know that the examples you're serving from your own site work fine when I'm using a mouse. Here's an interesting bug however: I have my MacBook set to use the two fingered gesture to scroll (hmm, that might read a little differently in the UK ;-) ). When I do that, I get the default behavior, scroll the window, AND scroll the timeline at the same time. Weird. Kudos all on the continued development; I look forward to more. I wonder if you, or someone, would clarify the future course of timeline. Is http://static.simile.mit.edu/timeline/api-2.0/timeline-api.js now frozen, or will the new changes be committed to it at some future date; or, is such a decision tabled until the outcome of discussions with google about hosting the api? Best, Jon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
