[EventCalendar] Ajax not working?
Alex Tingle
alex at firetree.net
Sat Nov 4 15:37:50 UTC 2006
Hi Armyofclones,
On Sat, 04 Nov 2006 10:11:29 -0500
webmaster at armyofclones.ca wrote:
> Hi. Just installed your calendar in my sidebar to replace my previous one
> (LiveCalendar) and it works fine. except when I try to flip through months.
> It just loads the archive page associated with each month (when there is
> one, or a 404 error for future months) instead of refreshing the calendar
> through Ajax. I see on your webpage it should call a javascript
> "javascript:ec3.go_prev()" or "javascript:ec3.go_next()". What do I have to
> do to make it work? I even tried to use it as a widget with the default
> template, but it didn't help. My old calendar was also in Ajax and worked
> just fine.
The problem is caused by the "fw-blogroll" plugin you have loaded:
http://www.armyofclones.ca/wordpress/wp-content/plugins/fw-blogroll/includes/fw-blogroll.js
...contains this code:
window.onload=montre;
To see why that's dumb, and for my solution, go here:
http://blog.firetree.net/2005/07/17/javascript-onload/
I suggest that you go and beat the author of that plug-in about this
head with that URL. ;-)
You can fix it for yourself by replacing "window.onload=montre;" with
"WindowOnload(montre);"
-Alex
--
:: Let me solve your problems: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net +44-7901-552763
More information about the EventCalendar
mailing list