|
Home > Archive > IIS ASP > June 2004 > Calendar Events Spanning Table Cells
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Calendar Events Spanning Table Cells
|
|
|
| I've decided after several failed attempts this is too difficult to do
on my own. I know it's been done before and a tutorial or code must
by lying around somewhere.
I have a Weekly Calendar
It's in a table with 7 columns and 22 rows
Across the top I have Monday thru Sunday
Down the side I have half-hour time increments - 8:00am - 10:00pm
I would like to display my events on the table, corresponding to their
day and time. If it spans several hours I would like the event to
span several rows.
Basically look like an Outlook Calendar.
I've tried this myself with five dozen if/then statments and embedded
loops but it's a huge mess.
I'd like to find out how to simply do this in asp (not ready for .net yet), any
ideas?
Thanks in advance,
Jaz
| |
| Jeff Cochran 2004-06-30, 6:01 pm |
| On 29 Jun 2004 16:02:52 -0700, jaz@gday2u.com (Webby) wrote:
>I've decided after several failed attempts this is too difficult to do
>on my own. I know it's been done before and a tutorial or code must
>by lying around somewhere.
>
>I have a Weekly Calendar
>
>It's in a table with 7 columns and 22 rows
>
>Across the top I have Monday thru Sunday
>
>Down the side I have half-hour time increments - 8:00am - 10:00pm
>
>I would like to display my events on the table, corresponding to their
>day and time. If it spans several hours I would like the event to
>span several rows.
>
>Basically look like an Outlook Calendar.
>
>I've tried this myself with five dozen if/then statments and embedded
>loops but it's a huge mess.
>
>I'd like to find out how to simply do this in asp (not ready for .net yet), any
>ideas?
There are any number of these apps out there, try ASPIN.COM for
examples. Then look at the code and learn.
This also depends on what you mean by "span" rows. Do you need the
same text in each, the text to flow, or just a color change to
indicate the time is poccupied? Most common method would be to create
the table based on the time increments occupied, using a ROWSPAN in
the table to change your table, but you could use counters and loop
throughas you build each cell or whatever works best for you.
Jeff
|
|
|
|
|