Make Title a Custom URL Link

How would I go about making the event title a custom URL link? I am currently evaluating this product for my organization’s calendar system and I have it set up for read only viewing, but I would like users to be able to click the title and direct them to a custom web page with details of the event.

After a little research, I was easily able to implement this functionality via a small bit of Javascript thanks to the API documentation on the onClick event.


    $(window).ready(function () {
        scheduler.attachEvent("onClick", function (id, e) {
            window.location = "/calendar/view/detail/" + id;
            return true;

When a user clicks the event text it will call my URL and pass the event id.