Announcement

Collapse
No announcement yet.

Real Time Clock adding a clock icon

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Real Time Clock adding a clock icon

    I tried adding this into the line, the clock shows up, but I get an error.

    PHP Code:
    clock.innerHTML '<img src=/Images/Homeseer/clock.gif' 'intMonth+'/'+intDay+'/'+intYear+' '+intHours+':'+intMins+':'+intSec+' '+strAmPm;


    #2
    Did you mean to have the time stuff appear inside the < img > tag?
    Last edited by Hunter Green; January 10, 2006, 02:54 PM. Reason: Board tried to interpret my tag
    News, support, and updates for Rover, Network Monitor, TimeIcons, and more

    Comment


      #3
      No I'd like the image to be seperate and before the time stuff, but all on the same line across the top of my webpage.

      clock pic | then the javascript clock | javascript scrolling weather display | sunrise pic | sunrise time | moon pic | sunset time

      Comment


        #4
        Right, then there's your problem. End the image tag before you put in all the time stuff.
        News, support, and updates for Rover, Network Monitor, TimeIcons, and more

        Comment


          #5
          thanks..

          Comment

          Working...
          X