Showing posts with label bootstrap. Show all posts
Showing posts with label bootstrap. Show all posts

Thursday, April 30, 2015

Update twitter typeahead to 0.11

Overall, I think the bloodhound/typeahead's API gets much better from 0.10 to 0.11. The limit option was moved from bloodhound to typeahead because it is more related to display than indexing and query. The DOM element classes were changed, and I update the styles after reading the www.js file. The javascript and CSS code is on gist.





Wednesday, February 4, 2015

Bootstrap progress bar with markers and labels

Here is a gist to generate a progress bar with markers and labels. It results a progress bar like the following.


The code snippets are on github. It is based on an answer on stackoverflow.