HighDots Forums  

Calendar Events Spanning Table Cells

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Calendar Events Spanning Table Cells in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Webby
 
Posts: n/a

Default Calendar Events Spanning Table Cells - 06-29-2004 , 07:01 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 in dreamweaver, any
ideas?

Thanks in advance,
Jaz

Reply With Quote
  #2  
Old   
Mick White
 
Posts: n/a

Default Re: Calendar Events Spanning Table Cells - 06-29-2004 , 08:25 PM






Why not in HTML?
You could do it js, too.
Mick

Webby wrote:

Quote:
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 in dreamweaver, any
ideas?

Thanks in advance,
Jaz

Reply With Quote
  #3  
Old   
Alan
 
Posts: n/a

Default Re: Calendar Events Spanning Table Cells - 06-29-2004 , 08:42 PM




Quote:
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.
suggestion that might make it simpler, or conceptually simpler?
I'm guessing that your currently trying to figure colspans and that's
causing the complexity??
How about Not doing that- instead always have the same number of cells.
But- if an event spans several hours, have the cells in the adjoining row
say "con't" or contain a dashed line or similar? Or change color, or some
other visual indication.

it could be simple or tough depending on how and in what form you are
storing the data.

rough rough decision tree might be
if current record = start_hour print description- step to next cell
else if continuation do continue_color- step to next cell
else if null leave blank- step to next cell



Reply With Quote
  #4  
Old   
Webby
 
Posts: n/a

Default Re: Calendar Events Spanning Table Cells - 06-30-2004 , 11:28 AM



I forgot to mention that the calendar is connected to an access
database.

The access database has a table called "events"

I'm dynamically pulling records from the database using asp and trying
to get them to display on my calendar.

If the events is on a Tuesday from 1pm - 5:30pm

I want it to show up on the table under the column "Tuesday" and I
want it to span a couple rows so you see a block that stretches from
1pm - 5:30pm

Thanks again to everyone who's taken the time to reply, I appreciate
all the help I can get.

Thank you,
Jaz

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.