This is a very useful library. Simple and works.
It will be very helpful if it is updated with following wish list.
- UMD support
// UMD dance - https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js
- Raw file from github can not be used in jsfiddle because of mime type, there is no cdn available for it
- Library forces to use rel attribute for weight calculation. This must be configurable.
- More example , for example which color range to use which is very much readable on white background, black-background
For weight Selector:
$.fn.tagcloud.defaults = {
size: {start: 14, end: 18, unit: 'pt'},
color: {start: '#cde', end: '#f52'},
wieghtSelector: 'rel' // 'data-weight' etc
};
the colors on demo page are not very readable on white background. Can you suggest which colors Can I Use that are very bright for white-bg?
Here is my Fiddle:
https://jsfiddle.net/bababalcksheep/2ms5hqro/
This is a very useful library. Simple and works.
It will be very helpful if it is updated with following wish list.
// UMD dance - https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.jsFor weight Selector:
$.fn.tagcloud.defaults = {
size: {start: 14, end: 18, unit: 'pt'},
color: {start: '#cde', end: '#f52'},
wieghtSelector: 'rel' // 'data-weight' etc
};
the colors on demo page are not very readable on white background. Can you suggest which colors Can I Use that are very bright for white-bg?
Here is my Fiddle:
https://jsfiddle.net/bababalcksheep/2ms5hqro/