Sorry Ian, I'm really really busy, startup mode and all that.
Anyhow, what is happening is that the timeline-ajax files are also in the "unbundled" mode--wanting to load the individual files for debug purposes. But the ajax files are not in the Timeline source zip file. You need to include the ajax source files into your directory. There is no zip file for the ajax src files. You can use svn and export them, or you can download them one at a time from the repository, see http://simile-widgets.googlecode.com/svn/ajax/trunk/src/webapp/api/scripts/ Or the easiest way might be to have your page load the ajax files from the google repo. For testing, it should be okay: Timeline_ajax_url = "http://simile-widgets.googlecode.com/svn/ajax/ trunk/src/webapp/api/simile-ajax-api.js?bundle=false"; Let us know how it goes. Larry On Nov 7, 10:51 am, "Ian Katz" <[EMAIL PROTECTED]> wrote: > @LarryK - > > EIther you're very busy, or I've said something really stupid and > you've moved on. There were some files missing from the timeline zip > file I downloaded, which I had taken directly from the SVN repository > (tagged 2.2.0). Can you send me a link to the zip file that I should > be using? > > -Ian > > On Wed, Nov 5, 2008 at 6:22 PM, Ian Katz <[EMAIL PROTECTED]> wrote: > > It looks like a lot of files are missing from the > > timeline_ajax/scripts directory. Here is a partial list of them: > > jquery-1.2.6.js > > platform.js > > debug.js > > xmlhttp.js > > json.js > > dom.js > > graphics.js > > date-time.js > > string.js > > ... > > > This is the file I got: > >http://simile-widgets.googlecode.com/svn/timeline/tags/2.2.0/timeline... > > > This is what's in it: > > timeline_2.2.0/ > > timeline_2.2.0/CHANGES.txt > > timeline_2.2.0/timeline_ajax > > timeline_2.2.0/timeline_ajax/simile-ajax-api.js > > timeline_2.2.0/timeline_ajax/images > > timeline_2.2.0/timeline_ajax/images/bubble-bottom-right.png > > timeline_2.2.0/timeline_ajax/images/message-right.png > > timeline_2.2.0/timeline_ajax/images/bubble-top-right.png > > timeline_2.2.0/timeline_ajax/images/bubble-bottom-left.png > > timeline_2.2.0/timeline_ajax/images/bubble-left-arrow.png > > timeline_2.2.0/timeline_ajax/images/bubble-top-arrow.png > > timeline_2.2.0/timeline_ajax/images/message-left.png > > timeline_2.2.0/timeline_ajax/images/bubble-top.png > > timeline_2.2.0/timeline_ajax/images/message-top-left.png > > timeline_2.2.0/timeline_ajax/images/close-button.png > > timeline_2.2.0/timeline_ajax/images/message-top-right.png > > timeline_2.2.0/timeline_ajax/images/message-bottom-left.png > > timeline_2.2.0/timeline_ajax/images/message-bottom-right.png > > timeline_2.2.0/timeline_ajax/images/bubble-bottom-arrow.png > > timeline_2.2.0/timeline_ajax/images/bubble-top-left.png > > timeline_2.2.0/timeline_ajax/images/bubble-left.png > > timeline_2.2.0/timeline_ajax/images/bubble-bottom.png > > timeline_2.2.0/timeline_ajax/images/bubble-right-arrow.png > > timeline_2.2.0/timeline_ajax/images/copy.png > > timeline_2.2.0/timeline_ajax/images/bubble-right.png > > timeline_2.2.0/timeline_ajax/scripts > > timeline_2.2.0/timeline_ajax/scripts/signal.js > > timeline_2.2.0/timeline_ajax/simile-ajax-bundle.js > > timeline_2.2.0/timeline_js > > timeline_2.2.0/timeline_js/timeline-api.js > > timeline_2.2.0/timeline_js/images > > timeline_2.2.0/timeline_js/images/green-circle.png > > timeline_2.2.0/timeline_js/images/bubble-bottom-right.png > > timeline_2.2.0/timeline_js/images/message-right.png > > timeline_2.2.0/timeline_js/images/bubble-top-right.png > > timeline_2.2.0/timeline_js/images/bubble-bottom-left.png > > timeline_2.2.0/timeline_js/images/bubble-left-arrow.png > > timeline_2.2.0/timeline_js/images/top-bubble.png > > timeline_2.2.0/timeline_js/images/dark-blue-circle.png > > timeline_2.2.0/timeline_js/images/bubble-top-arrow.png > > timeline_2.2.0/timeline_js/images/message-left.png > > timeline_2.2.0/timeline_js/images/dull-blue-circle.png > > timeline_2.2.0/timeline_js/images/gray-circle.png > > timeline_2.2.0/timeline_js/images/dark-green-circle.png > > timeline_2.2.0/timeline_js/images/bubble-top.png > > timeline_2.2.0/timeline_js/images/message-top-left.png > > timeline_2.2.0/timeline_js/images/progress-running.gif > > timeline_2.2.0/timeline_js/images/blue-circle.png > > timeline_2.2.0/timeline_js/images/close-button.png > > timeline_2.2.0/timeline_js/images/dull-red-circle.png > > timeline_2.2.0/timeline_js/images/message-top-right.png > > timeline_2.2.0/timeline_js/images/red-circle.png > > timeline_2.2.0/timeline_js/images/copyright.png > > timeline_2.2.0/timeline_js/images/message-bottom-left.png > > timeline_2.2.0/timeline_js/images/message-bottom-right.png > > timeline_2.2.0/timeline_js/images/bubble-bottom-arrow.png > > timeline_2.2.0/timeline_js/images/copyright-vertical.png > > timeline_2.2.0/timeline_js/images/bubble-top-left.png > > timeline_2.2.0/timeline_js/images/dull-green-circle.png > > timeline_2.2.0/timeline_js/images/dark-red-circle.png > > timeline_2.2.0/timeline_js/images/bubble-left.png > > timeline_2.2.0/timeline_js/images/bubble-bottom.png > > timeline_2.2.0/timeline_js/images/bubble-right-arrow.png > > timeline_2.2.0/timeline_js/images/bubble-right.png > > timeline_2.2.0/timeline_js/scripts > > timeline_2.2.0/timeline_js/scripts/l10n > > timeline_2.2.0/timeline_js/scripts/l10n/vi > > timeline_2.2.0/timeline_js/scripts/l10n/vi/timeline.js > > timeline_2.2.0/timeline_js/scripts/l10n/vi/labellers.js > > timeline_2.2.0/timeline_js/scripts/l10n/nl > > timeline_2.2.0/timeline_js/scripts/l10n/nl/timeline.js > > timeline_2.2.0/timeline_js/scripts/l10n/nl/labellers.js > > timeline_2.2.0/timeline_js/scripts/l10n/es > > timeline_2.2.0/timeline_js/scripts/l10n/es/timeline.js > > timeline_2.2.0/timeline_js/scripts/l10n/es/labellers.js > > timeline_2.2.0/timeline_js/scripts/l10n/de > > timeline_2.2.0/timeline_js/scripts/l10n/de/timeline.js > > timeline_2.2.0/timeline_js/scripts/l10n/de/labellers.js > > timeline_2.2.0/timeline_js/scripts/l10n/tr > > timeline_2.2.0/timeline_js/scripts/l10n/tr/timeline.js > > timeline_2.2.0/timeline_js/scripts/l10n/tr/labellers.js > > timeline_2.2.0/timeline_js/scripts/l10n/ru > > timeline_2.2.0/timeline_js/scripts/l10n/ru/timeline.js > > timeline_2.2.0/timeline_js/scripts/l10n/ru/labellers.js > > timeline_2.2.0/timeline_js/scripts/l10n/cs > > timeline_2.2.0/timeline_js/scripts/l10n/cs/timeline.js > > timeline_2.2.0/timeline_js/scripts/l10n/cs/labellers.js > > timeline_2.2.0/timeline_js/scripts/l10n/se > > timeline_2.2.0/timeline_js/scripts/l10n/se/timeline.js > > timeline_2.2.0/timeline_js/scripts/l10n/se/labellers.js > > timeline_2.2.0/timeline_js/scripts/l10n/zh > > timeline_2.2.0/timeline_js/scripts/l10n/zh/timeline.js > > timeline_2.2.0/timeline_js/scripts/l10n/zh/labellers.js > > timeline_2.2.0/timeline_js/scripts/l10n/fr > > timeline_2.2.0/timeline_js/scripts/l10n/fr/timeline.js > > timeline_2.2.0/timeline_js/scripts/l10n/fr/labellers.js > > timeline_2.2.0/timeline_js/scripts/l10n/it > > timeline_2.2.0/timeline_js/scripts/l10n/it/timeline.js > > timeline_2.2.0/timeline_js/scripts/l10n/it/labellers.js > > timeline_2.2.0/timeline_js/scripts/l10n/en > > timeline_2.2.0/timeline_js/scripts/l10n/en/timeline.js > > timeline_2.2.0/timeline_js/scripts/l10n/en/labellers.js > > timeline_2.2.0/timeline_js/timeline-bundle.js > > timeline_2.2.0/timeline_js/timeline-bundle.css > > timeline_2.2.0/README.txt > > timeline_2.2.0/LICENSE.txt > > > Did I download the wrong zip file? > > > -Ian > > > On Wed, Nov 5, 2008 at 5:35 PM, LarryK <[EMAIL PROTECTED]> wrote: > > >> Hi Ian, > > >> Re errors: > > >> Look in the FF Firebug 'Net" tab. Then click the All button. You > >> should see a list of all the files loaded and attempted to be loaded > >> by the browser. > >> Also, when you do your load in the browser (after having made the > >> change), use shift-load (shift key and the load button). That way your > >> cache will be refreshed. > >> Usually the cause for the error you're getting is a missing source > >> file--you need all of the source when you run unbundled. > >> You'll see it on the firebug list in bright red since the browser > >> couldn't load it. > > >> I certainly agree with you about having it partly work than not at > >> all. > > >> If you can't solve the unbundled issue then you can send me a login > >> via private reply. > > >> Re: the xml file looks ok along with the content-type -- > >> I agree -- and the fact that they look fine is why I'm interested in > >> helping debug your problem. > > >> Regards, > > >> Larry > > >> On Nov 5, 4:33 pm, "Ian Katz" <[EMAIL PROTECTED]> wrote: > >>> With "bundle=false", it doesn't work in any browser; I get an empty > >>> div. The firefox error console gives me this: > > >>> Error: Timeline.strings is undefined > >>> Source > >>> File:http://auvac-staging.auvac.org/libs/simile/timeline/timeline_js/scrip... > >>> Line: 7 > > >>> Error: Timeline.GregorianDateLabeller is undefined > >>> Source > >>> File:http://auvac-staging.auvac.org/libs/simile/timeline/timeline_js/scrip... > >>> Line: 6 > > >>> Error: Timeline.DefaultEventSource is not a constructor > >>> Source > >>> File:http://auvac-staging.auvac.org/resources/infographic/timeline/timelin... > >>> Line: 3 > > >>> Let me know if you need to see this in action, and I'll set up a > >>> user/password for you on our preview site. (I'd rather have a > >>> half-functioning timeline than a non-functioning timeline) > > >>> As for the xml file > >>> (http://auvac.org/resources/infographic/xml/auv_system_timeline.xml.php), > >>> I'm not sure what could be wrong with it. The content-type is > >>> "text/xml" and firefox doesn't complain about the syntax. What else > >>> should I be looking for? > > >>> -Ian > > >>> On Wed, Nov 5, 2008 at 4:09 PM, LarryK <[EMAIL PROTECTED]> wrote: > >>> > @ Ian, > >>> > I'm interested to see why you're having the problem. I tried to debug > >>> > it but you're using the mini-fied bundle files. For development and > >>> > debugging, you need to use the full source and no bundling. > > >>> > Currently your timeline-init.js file is > >>> > Timeline_ajax_url="/libs/simile/timeline/timeline_ajax/simile-ajax- > >>> > api.js"; > >>> > Timeline_urlPrefix='/libs/simile/timeline/timeline_js/'; > >>> > Timeline_parameters='bundle=true'; > > >>> > Please change it to > >>> > Timeline_ajax_url="/libs/simile/timeline/timeline_ajax/simile-ajax- > >>> > api.js?bundle=false"; > >>> > Timeline_urlPrefix='/libs/simile/timeline/timeline_js/'; > >>> > Timeline_parameters='bundle=false'; > > >>> > That should make the system use the individual files for both Timeline > >>> > and the Simile Ajax lib. > >>> > It should work exactly the same as it does now, on all the browsers. > >>> > Then send another note to this list and I'll have another look at it. > > >>> > My guess is that the IE Ajax lib is not happy about some aspect of > >>> > your data file's transmission format or xml content. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
