Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-Day Events #3

Open
jasondavis opened this issue Sep 21, 2013 · 2 comments
Open

Multi-Day Events #3

jasondavis opened this issue Sep 21, 2013 · 2 comments

Comments

@jasondavis
Copy link

I love this little simple calendar class and recently used it in a Timeclock application I built to show user's time clock entries in a Calendar format.

I have tweaked a few minor things but something I would like to do or if someone else can do it with more time that would be great too...

I would like to add the ability for an even to span multiple days just like in the image below

2013-09-21_09-33-55

UPDATE

After some testing, I now see that the class is capable of spanning multiple days for an event, I just need to figure out the best way to make the UI show that in the image

@donatj
Copy link
Owner

donatj commented Sep 21, 2013

Currently the calendar does support multi-day events, they're just not that pretty.

I would love to see this as well and it has been on my todo list for a few years, in fact the site I developed the library for originally wanted this feature but at the time i couldn't come up with a good way to do it.

I don't know a good way that wouldn't require fragile JavaScript or CSS.

I imagine one could do it by further subdividing the table but that starts to get complicated too.

I wrote a JavaScript calendar as part of a job application process a while ago - here's a screen shot, it would be nice to get some of this style layout into it - again though I'd hate for the CSS to be too fragile, a problem I find with a lot of these kinds of things.

screen shot 2013-09-21 at 3 41 31 pm

@BrendonKoz
Copy link

This might be a possible starting point for that type of feature:
http://snook.ca/archives/javascript/creative-use-bitwise-operators

Still not entirely sure how to avoid fragile CSS/JS though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants