Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityEverything ElseGeneral Use (Moderators: scott, DanO, Marty)Dates of first week are offset wrong
Pages: [1]   Go Down
Print
Author Topic: Dates of first week are offset wrong  (Read 281 times)
0 Members and 1 Guest are viewing this topic.
WACSC
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: February 24, 2003, 01:58:00 PM »

While updating my calendar and upgrading the scripts to 3.2, I noticed a bug that I can't find any reference to here in the forums...

For every month I view, the 1st is on a Sunday, first block of the grid. The excess space that should preceed that day is at the end of the first row. All other weeks are correct. I've checked in both Mozilla 1.3 and IE6, same result. Debug.pl gives me a zillion 'file missing' errors, but that *seems* unrelated as far as I can tell. This might have occured during my half-botched update, I guess I'll never know how long it's been like that. Nothing in the config has been changed recently, so I'm at a loss.

Thanks in advance, etc., etc., etc.

Logged
WACSC
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #1 on: February 28, 2003, 06:25:00 AM »

I've found the incorrect HTML causing this problem. There's a TD tag that's missing the letters TD.

code:

   ...
   ...
   <TH WIDTH=14% BGCOLOR="#1d1d97">Fri</TH>
   <TH WIDTH=14% BGCOLOR="#1d1d97">Sat</TH>
</TR>

<TR><COLSPAN=6 > </TD>
   <TD VALIGN=TOP>
   <FONT SIZE=+1><B><a href="javascript:viewday(2003,2,1);">1</a></B></FONT>
   <!-- FONT SIZE="-2" --><br>
      <br> <br> 
   </FONT>
   </TD>


That's the end of the first TR and the beginning of the second. The tag that says:

code:
<COLSPAN=6 >

should read:
code:
<TD COLSPAN=6>

Anybody have any idea what's gone wrong here?

Bueller?

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: