Calendar Events Spanning Table Cells

W

Webby

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
 
J

Jeff Cochran

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top