Calendar Events Spanning Table Cells
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS ASP > Calendar Events Spanning Table Cells




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Calendar Events Spanning Table Cells  
Webby


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-04 10:55 PM

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





[ Post a follow-up to this message ]



    Re: Calendar Events Spanning Table Cells  
Jeff Cochran


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:15 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register