SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Zealot Sesran's Avatar
    Join Date
    May 2000
    Location
    Connecticut USA
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does anyone know of a java script that can do the following?
    When I go off line, I want to set a time that I will be back online, so when people come to my site and want to talk to me via live chat, they know how much longer until I return.
    It needs to be a count down script of hours and minutes. But the hard part is that I want to use images for the numbers.
    I have found many, many scripts that count down with a test number, but none with a graphical numbers. I am not capable enough to write my own yet.
    Thanks in advance.
    Sesran Site Solutions - Web Site Hosting & Design

  2. #2
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    This isn't something you're going to find ready-made, I don't think. I'd have to recommend that you learn JavaScript, or find someone willing to write the script for you.
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference

  3. #3
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Sesran,

    You might be able to achieve a countdown by using the built-in time functions. Essentially, you need to upload a new page every time you go offline with the new time you will be on. That number would then be checked against the user's time and the difference displayed in a textbox. Or,if you are intent on using images, you can pull the image source from an array, using each number as an index (hh:mm).
    If you do not know enough javascript to start the task, find a script that shows the current time and try modifying it. When you run into problems post back here.

    Vinny
    Where the World Once Stood
    the blades of grass
    cut me still


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
  •