SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard
    Join Date
    May 2002
    Posts
    1,370
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    javascript clock set

    Looking at doing 'New York, 'London' & 'Tokyo' traditional round clocks (basic black outlines) should these really be done with javascript? ( and not to be too picky, but it would be great if it was compatible with nearly all browsers/the latest )

    Is there anything proprietary about this?

    Can real time updates be done with javascript -- also, what if I am not linked to an external site?

    I have noticed the graphic portion being done with a "canvas" tag that I am unfamilair with (html5)

    - Much much appreciate thoughts on this.

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,817
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by datadriven View Post
    Can real time updates be done with javascript
    JavaScript is the ideal choice for real time updates.

    It is even possible to do analog clocks entirely with JavaScript (or at least all of the actual content of the clockface - you might need an image to supply the rest of the clock)

    My page http://javascript.about.com/library/blclockm1.htm shows three analog clocks generated with nothing but JavaScript and the associated pages contain the script used along with instructions on how to add it to a web page and custimise the appearance. The only thing it doesn't show is how to apply a background image that supplies the rest of the clock.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


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
  •