[EventCalendar] Calendars stacking up in IE 7

Rob Hess robwhess at gmail.com
Tue May 29 07:17:05 UTC 2007


Hi,
        I am using EventCalendar 3.1.1._rc1 with Wordpress 2.2.  I am
getting a strange error in IE 7 under Windows XP.  When I first navigate to
my website and click on the EC navigation links, instead of having the
calendar for the next or previous month take the place of the calendar for
the current month, the previous or next calendar shows up either above or
below the one for the current month.  As I keep pressing navigation buttons,
the calendars keep stacking up on top of each other instead of replacing the
one that is currently there.
        This only happens on my first entry to the site.  If I navigate to
another page, the calendar works normally.  If I navigate back to the
homepage, the calendar works normally.  The calendar works normally under
Firefox.
        To get a better idea of what is happening, visit my site:
http://groups.engr.orst.edu/ewb/.  When you first enter the site using IE,
try navigating through the calendar.
        If anyone sees the same behavior, do you know what is happening?
I've looked through the source a bit.  It looks like the function go_next()
is called when the 'next' button is pressed.  In ec3.js, in function
go_next(), on line 339, it looks like the current calendar is supposed to be
hidden by setting its style.display field to 'none':

    calendars[0].style.display='none';

There is a similar statement on line 293 in go_prev().  I am not very
proficient in JavaScript.  Is there any reason why this assignment might
fail to have an effect under IE?

Thanks if you can help.

-Rob



More information about the EventCalendar mailing list