[EventCalendar] AJAX Not Working
Alex Tingle
alex at firetree.net
Tue Nov 14 21:25:08 UTC 2006
Hi Dave,
On Tue, 14 Nov 2006 15:51:41 -0500
"Dave Sabol" <desabol at gmail.com> wrote:
> I am trying so hard to work through this but it seems like the solution is
> eluding me. I upgraded to all of the latest and greatest stuff and still I
> am having problems with my calendar navigation.
>
> I suspect it is javascript error that is messing it up, but I can't say for
> certain.
>
> If you troll over to http://www.sprcc.net/ and take a look at the calendar,
> could you (or anyone else) suggest what is throwing my calendar navigation
> ajax into a tailspin?
Darrell has pointed out errors that are worth fixing. However, your
problem is actually caused by...
http://www.sprcc.net/wp-content/plugins/blockquotes.js
It contains this gem...
window.onload = function(e) {
extractBlockquoteInfo();
}
...which tramples over any preceding script that has the temerity to set
window.onload.
Replace that code with...
WindowOnload( function(e) { extractBlockquoteInfo(); } );
...and you should be good to go. Or you could just disable the plugin
that includes that buggy file.
WindowOnload() is a function from EventCalendar's JavaScript, so this is
not a general solution, but it should work for you in this case.
-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