Hi Naimesh,

I'm not precisely sure what you want to do, but I think you should take 
a look at the end of

http://simile.mit.edu/timeline/api/scripts/sources.js

Find "fillWikiInfo". This is the function responsible for filling in 
that Discuss link. You can override it by adding your own javascript 
code after you include timeline-api.js.

<script>
Timeline.DefaultEventSource.Event.prototype.fillWikiInfo = function(elmt) {
... do whatever you want here ...
}
</script>

Cheers,

David

Naimesh (Hotmail) wrote:
>
> Dear Sir,
>
> Hello ! Well I am new to timeline, I would need to change the default 
> url it points to while clicking on ‘Discuss window’ on event.
>
> I changed wiki sections in xml file to wiki-url="postview.php?id=" 
> wiki-section=" " , but it prefix url like
>
> http://demo.rajmicro.com/timeline/postview.php?id=/This is my event 
> where This is my even is the <title> attribute of the xml. Where as I 
> want to pass the id of the event table while clicking on Discuss.
>
> Please guide me.
>
> Thanks & Regards,
>
> Naimesh Trivedi
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to