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 3 of 3
  1. #1
    dep
    dep is offline
    Regular Coder
    Join Date
    Nov 2005
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Making a solid border when the months change.

    hello. i have a table like this, created dynamically

    | a | jan | 129 |
    | s | jan | 302 |
    | r | jan | 293 |

    | w | feb | w92 |
    .
    .
    .
    .
    .
    | e | mar | 283 |

    What i need to do, with javascript and DOM is when the month changes (at an unset interval) to make a solid line.

    Now I know how to make the line. What I don't know is the best way to check if the month is a new month or not.

    Any ideas?

    dep

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,038
    Thanks
    0
    Thanked 250 Times in 246 Posts
    Do the insertion of a solid line on the server-side. As you create the table dynamically, check if the month is different than the previous one. If different, create a solid line. Can you post your code? This thread should be moved to the appropriate server-side language forum to get more useful answers.

  • #3
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Double thread, and it seems to have been solved.


  •  

    Posting Permissions

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