Well, I found a solution, I'm posting it here if someone has the same problem :
First, unminify the JS in :
components/com_artcalendar/js/fullcalendar.min.js
As the code is obfuscated, search for the lines :
| Code: |
J(aT, aG.find("td.c"));
if (w.eventRender)
{
...
|
Add an extra parameter corresponding to the width :
| Code: |
J(aT, aG.find("td.c"), aL - aN);
|
Then add the extra parameter in the function :
| Code: |
function J(aH, aG, width) { ...
|
to finish, replace the following line :
| Code: |
c("<span class='event-title' />").text(aH.title).appendTo(aG);
|
with
| Code: |
c("<div style='max-width: " + (width) + "px;overflow: auto;word-wrap: break-word;'><span class='event-title' /></div>").text(aH.title).appendTo(aG);
|
checked OK on FF3.5, IE8, chrome 5.0