Closed GoogleCodeExporter closed 8 years ago
Hi Padrajan,
You can restrict the events that a Timeline shows in a number of different ways:
1) Change the source of the data to be a program instead of a file. Then have
the
program only include the events that the user is authorized to see. This would
be the
most secure method.
2) Download all of the data to the Timeline, but use additional Javascript to
show
only the authorized data.
In either case, your users will need to sign in to your Timeline application so
you
can tell who is who and what data they are authorized to view.
Regards,
Larry
Original comment by larryklu...@gmail.com
on 23 Mar 2009 at 3:29
thank u larry. i found the solution in new version of timeline. but in
timeline-api.js file ...for ajax and javascript its refering for site only. i
don
know how to run it in local.
http://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/api/timeline-
api.js
i have downloaded al the files using SVN s/w can u help me.
my local path is..
<script src="../../api/timeline-api.js?bundle=true"
type="text/javascript"></script>
<script src="../../ajax/timeline_ajax/simile-ajax-api.js"
type="text/javascript"></script>
<script>
var
Timeline_ajax_url="http://LOCALHOST/NEWTIMELINE_2.4.0/ajax/timeline_ajax/simile-
ajax-api.js";
var Timeline_urlPrefix='http://LOCALHOST/NEWTIMELINE_2.4.0/ajax/timeline_js/';
var Timeline_parameters='bundle=true';
</script>
<script src="http://LOCALHOST/NEWTIMELINE_2.4.0/ajax/timeline_js/timeline-api.js"
type="text/javascript">
i have given the above script in compact painter example but its not working
Original comment by padra...@gmail.com
on 24 Mar 2009 at 8:28
Original issue reported on code.google.com by
padra...@gmail.com
on 23 Mar 2009 at 10:39