Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jul 2007
    Posts
    72
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Netscape Display alternating days

    Hi, I am attempting to make a website "widget" to display day 1s and day 2s for my school (they have an alternating schedule, ex. Monday would be a day 1, Tuesday a day 2, Wednesday a day 3, etc). Saturday and Sunday don't apply, and I also need to account for anomalies such as snow days and scheduled teacher plan days where we don't attend school. Any ideas? I assumed this would be a javascript project but I am open to other languages as well.

    Thanks!

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,078
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    Show your code, then request assistance where necessary.

  • #3
    New Coder
    Join Date
    Jul 2007
    Posts
    72
    Thanks
    3
    Thanked 0 Times in 0 Posts
    that's the problem, i was hoping for a suggestion as to where to find something like this that already exists, or for a suggestion for where to begin learning javascript. I would prefer the former though.

  • #4
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,078
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    You should post this in the Web Projects forum. CF is not intended to be a free coding service.

  • #5
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,799
    Thanks
    78
    Thanked 4,411 Times in 4,376 Posts
    Just FYI, I don't see any practical way to do this with JavaScript alone, since SURELY you will need to have a database of SOME kind that tells the code which days are holidays, snow days, etc. And JavaScript, running in the browser on the client machine, can't "reach into" the database sitting on some server to get that information.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •