Hello Im using the jQuery UI calendar to display my events, the design is slick and it works perfectly.

However I'd like to add links to my events (highlighted days on my calendar) and I can't find anything to help me code this.

Here is my code to select the days I want and add a tooltip of the event name:

```
$("#div-calendar").datepicker({ beforeShowDay: highlightDays });
var dates = //Array Containing Events dates, names and link.

//Highlight days on the calendar
function highlightDays(date) {
    for (var i = 0; i < dates.length; i++) {
        if (date - dates[i][0] == 0) { return [true, '', dates[i][1]]; }
    }
    return [false];
}

```

The only syntax I found is : 

```
return [true, '', dates[i][1]];

```

1st parameter is highlight the date, 2nd is custom css and 3rd is tooltip.

So is it possible to add a link on those days? pretty much like I did with tooltips.

Thanks.