SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    ComDude CryingWolf's Avatar
    Join Date
    Dec 2000
    Location
    I don't know the cat drug it in!!!
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey all,

    I am looking for a javascript to change an image based on the time of day.

    I.E. I have an image one for nightime one for daytime. I would like to display one or the other based on the time of the users computer.

    I would like to load the script in the header and then be able to call it from a line in the HTML body.

    And I hope to have it work in all browsers.

    I was going to write the script myself but I can't seem to find the time.

    Any help would be appreciated!!!

    Thanks in advance

    Late
    body { background:#000000; color:#000000 }
    HEY, WHO TURNED OUT THE LIGHTS?!?
    Easy come easy go!!!
    CryingWolf

  2. #2
    SitePoint Member
    Join Date
    Oct 2000
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I answered your question in the JS city forums.

  3. #3
    ComDude CryingWolf's Avatar
    Join Date
    Dec 2000
    Location
    I don't know the cat drug it in!!!
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep ya sure did

    Thanks again VB

    And welcome to SitePoint!!! Again???

    body { background:#000000; color:#000000 }
    HEY, WHO TURNED OUT THE LIGHTS?!?
    Easy come easy go!!!
    CryingWolf


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
  •