06-30-04 11: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
[ Post a follow-up to this message ]
|