php - Circle div bar for rating html5 js -
hi using bar rating system in page, shows percentage how many points usear has simple php code examle:
if($points>50){ $level = "full user"; $level_bar = "100%"; } and time of load bar showed 100% filled color.
the problem doing filled bar circular, had idea of doing html5 , failed, idea how it?
im trying work: circular rating bar
a demo made canvas element : http://jsfiddle.net/x4pvy/
if want show different percentage, change value stored on data-completeness attribute on canvas
the percentage value can written inside canvas (through filltext() function) or dom element place on canvas (with css)
Comments
Post a Comment