I donīt know if someone can answer this question here but I want to try.

I have a joomla site, for which I have created a calendar, it is built with javascript and php, there is also an ajax request to update the calendar.

The calendar works fine in the main page, but when I go to any other link the calendar stops working.

This is the site

Can anyone help me out with this?