Live data from Hacker News

Rebuild YouTube's mobile-like progress bar in jQuery

blog.ynh.io

1–10 of 13 posts

Re: Rebuild YouTube's mobile-like progress bar in jQuery

#3
Yep, I've also seen that. But your markup is wrong. You should use 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

#4
post #3

Yep, I've also seen that. But your markup is wrong. You should use 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)…

Use progress as html tag?

Re: Rebuild YouTube's mobile-like progress bar in jQuery

#5
post #4
post #3

Yep, I've also seen that. But your markup is wrong. You should use 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)…

Use progress as html tag?

It's a HTML5 form element: http://developers.whatwg.org/the-button-element.html#the-pro.... It might be somewhat difficult to style, though.

Re: Rebuild YouTube's mobile-like progress bar in jQuery

#10
post #3

Yep, I've also seen that. But your markup is wrong. You should use 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)…

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
Post reply on HN