Professional Web Applications Themes

Highlight a Table Row based on Time and Date? - Macromedia Dynamic HTML

Hi, I have a Table structure containing Rows of info similar to a Schedule. It is possible to Highlight a Row of Date based on the Time and Date? cheers...

Sponsored Links
  1. #1

    Default Highlight a Table Row based on Time and Date?

    Hi,

    I have a Table structure containing Rows of info similar to a Schedule.

    It is possible to Highlight a Row of Date based on the Time and Date?

    cheers
    Sponsored Links
    Macnimation Guest

  2. #2

    Default Highlight a Table Row based on Time and Date?

    Hi,

    I have a Table structure containing Rows of info similar to a Schedule.

    It is possible to Highlight a Row of Data based on the Time and Date?

    cheers
    Macnimation Guest

  3. #3

    Default Re: Highlight a Table Row based on Time and Date?

    Yes it is but the difficulty depends on your platform.

    Philo Guest

  4. #4

    Default Re: Highlight a Table Row based on Time and Date?

    Sure - what server scripting are you using?

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "Macnimation" <com> wrote in message
    news:g3822p$et8$macromedia.com... 

    Murray Guest

  5. #5

    Default Re: Highlight a Table Row based on Time and Date?

    I'm using PHP with MySQL
    Macnimation Guest

  6. #6

    Default Re: Highlight a Table Row based on Time and Date?

    Then it would be simple.

    <tr<?php echo date("Y-m-d", "2008-06-17")?' class="highlight"':'
    class="regular"'; ?>>

    This will test today's date, and compare it to the hardwired data. If they
    match, the row will get the highlight class.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "Macnimation" <com> wrote in message
    news:g38lih$6ob$macromedia.com... 

    Murray Guest

  7. #7

    Default Re: Highlight a Table Row based on Time and Date?

    You have to use PHP or ASP for doing that. AJAX may also help you.
    yupieyi Guest

  8. #8

    Default Re: Highlight a Table Row based on Time and Date?

    I thinmk you should use AJAX to solve your problem.
    yupieyi Guest

  9. #9

    Default Re: Highlight a Table Row based on Time and Date?

    Cheers for the replies. I'll give it a go.

    Thanks again
    Macnimation Guest

Similar Threads

  1. get record based on date time
    By cybertek23 in forum Coldfusion Database Access
    Replies: 15
    Last Post: May 23rd, 02:59 PM
  2. Content generated based on date/time
    By Janean.J in forum Coldfusion - Getting Started
    Replies: 2
    Last Post: January 30th, 03:34 PM
  3. map based specular highlight?
    By urgrund in forum Macromedia Director 3D
    Replies: 0
    Last Post: May 11th, 06:06 AM
  4. Table / View - Last used date & time
    By Rath.Yelandur in forum Oracle Server
    Replies: 0
    Last Post: July 9th, 12:32 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139