Sorry for the late reply.
Here is the code

/**********************************************/
       var myhash = new Object();

        myhash.start = time;
        myhash.end = time;
        myhash.latestStart = time;
        myhash.earliestEnd =
time;
        myhash.instant = true;
        myhash.text = title;
        myhash.description = uri;

        var evt = new Timeline.DefaultEventSource.Event(myhash);
        eventSource.add(evt);
/**********************************************/

On Nov 7, 6:33 pm, Brian <[EMAIL PROTECTED]> wrote:
> Can you please send over the working code?
>
> Thanks,
>
> On Nov 7, 8:18 am, Abhinav Asthana <[EMAIL PROTECTED]> wrote:
>
> > Thanks a lot!
> > Its working now.
>
> > On Nov 6, 9:51 pm, pepsipaul <[EMAIL PROTECTED]> wrote:
>
> > > If you are using the latest version of timeline you will have to add
> > > events differently
>
> > >                   var myhash = new Object();
>
> > > then use different parameters to set the information such as:
>
> > >                   myhash.id =
> > >                   myhash.start =
> > >                   myhash.instant =
> > >                   myhash.text =
> > >                   myhash.description =
> > >                   myhash.link =
> > >                   myhash.icon =
> > >                   myhash.textColor =
> > >                   myhash.hoverText =
>
> > > Then add the create the event with the object.
>
> > >               var evt = new Timeline.DefaultEventSource.Event(myhash);
>
> > > see this function in sources.js for more info :
> > > Timeline.DefaultEventSource.Event = function(args) {
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to