News for hackers. Stuff that matters.
Re:Rebuild YouTube's mobile-like progress bar in jQuery by X4 on Friday May 24, 2013 @07:24AM (#5762138)
Yep, I've also seen that. But your markup is wrong. You should use <progress> instead

I am using a kde widget called adjustable-clock which uses html5/css3/javascript and qml to render my system clock.

Here's the source for the current clock I use, it uses a progressbar for the seconds: http://htmlpaste.com/7e957bb5523fa58f98b6657073c4a544942a13c...

QML:

  Clock.setRule('#hour', Clock.Hour);
  Clock.setRule('#minute', Clock.Minute);
  Clock.setRule('#second', 'value', Clock.Second, {'short': true});
Re:Rebuild YouTube's mobile-like progress bar in jQuery by mistercow on Friday May 24, 2013 @11:03AM (#5763218)
Support for the progress element is still missing from a lot of browsers, so I don't know if it's right to say that the markup is "wrong" for not using it
Re:Rebuild YouTube's mobile-like progress bar in jQuery by ynh on Friday May 24, 2013 @07:32AM (#5762150)
Use progress as html tag?
Re:Rebuild YouTube's mobile-like progress bar in jQuery by mediumdeviation on Friday May 24, 2013 @07:44AM (#5762173)
It's a HTML5 form element: http://developers.whatwg.org/the-button-element.html#the-pro.... It might be somewhat difficult to style, though.