Jump to content

jQuery sliding week selector?


Recommended Posts

Hi Guys,


First off let me say I've googled/searched this site for the answer to my question and couldn't find exactly what I want.


Basically, I'm building a website for a friend and one the things he wants is a table with 7 columns with column representing a different day (including the date). Under each column he has a list of times (You don't have to worry about that)


So it'll be like this:


Monday (6/1/2009) Tuesday (6/2/2009) Wednesday (6/3/2009) .... ... "Next Week"

5pm - 6pm 6pm - 8pm 9pm - 10pm

6pm - 8pm ... ...



Now the thing is that the header part of the table has to scroll. Meaning that when a person clicks next week the dates change and display the next week. Only the dates would change. Also he'd like it if the first column was the current day of the week (For example instead of Monday as first today Friday would be first)


This calendar will be part of a form, and the the time that the user clicks will be passed on.


Now I've thought about this a while, but I can't really determine the best method to approach this problem. Any ideas?


BTW, we're using Cake PHP and jQuery


Thank You!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...