Custom Date Ranges

14 views
Skip to first unread message

SteveP

unread,
Apr 18, 2012, 7:11:01 PM4/18/12
to simile-...@googlegroups.com
Hi All,

I'm trying to follow the tutorial for custom dat ranges located here: http://code.google.com/p/simile-widgets/wiki/Timeline_CustomDateRanges - which specifies the modification of date-time.js and labellers.js

I started with the min files necessary, the first Source file here: http://code.google.com/p/simile-widgets/downloads/list

Then set Timeline_parameters='bundle=false';

Based on this section within timeline-api.js:
            /*
             *  Include non-localized files
             */
            if (bundle) {
                includeJavascriptFiles(Timeline.urlPrefix, [ "timeline-bundle.js" ]);
                includeCssFiles(Timeline.urlPrefix, [ "timeline-bundle.css" ]);
            } else {
                includeJavascriptFiles(Timeline.urlPrefix + "scripts/", javascriptFiles);
                includeCssFiles(Timeline.urlPrefix + "styles/", cssFiles);
            }

I included all the necessary .js and css files specified by the arrays javascriptFiles and cssFiles, stated earlier in timeline-api.js. Similarly, with simile-ajax-api.js, I set params:                 { bundle:"false" } and included the necessary files as well.

So with date-time.js inside the timeline_ajax script files and labellers.js in the timeline_js script files.

My problem is, I still can't get my custom units to render. Just wanted to make sure there wasn't something obviously wrong with my setup.

Thanks!
Steve


Reply all
Reply to author
Forward
0 new messages