lucaong / jQCloud

jQuery plugin for drawing neat word clouds that actually look like clouds
MIT License
646 stars 293 forks source link

Read words in from unordered list #55

Open glenscott opened 9 years ago

glenscott commented 9 years ago

I added the ability to read word in from an unordered list to improve accessibility of this plugin. This means that words can be defined in the HTML using an unordered list within the cloud container. The plugin will look for the presence of a list if an empty word array is passed in when initialising jQCloud. For example:

$("#container7").jQCloud([]);

I've also corrected some minor issues with the documentation and updated the QUnit test suite.