Giter Club home page Giter Club logo

jquery.tagcloud.js's People

Contributors

addywaddy avatar christianvuerings avatar natacado avatar rarila avatar robinmalburn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery.tagcloud.js's Issues

W3C (x)HTML Validator issues

The value of the "rel" attribute is not accepted by the W3C (x)HTML Validator:

Bad value 1 for attribute rel on element a: Not an absolute IRI.

I just replaced the 2 occurences of $(this).attr("rel") with $(this).data("weight") and use the data-attribute "data-weight" instead. Works perfectly both from a functional as from the W3C validation side.

Great plugin BTW - appreciate it a lot! ^^

Iibrary update

This is a very useful library. Simple and works.
It will be very helpful if it is updated with following wish list.

  1. UMD support // UMD dance - https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js
  2. Raw file from github can not be used in jsfiddle because of mime type, there is no cdn available for it
  3. Library forces to use rel attribute for weight calculation. This must be configurable.
  4. 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/

jQuery 1.4.2

Plugin isn't compatible with the latest version of the jquery 1.4.2

Unable to make tagcloud fit a div

Given a fixed sized area to display the tag cloud I can't find a way of setting the font size to fit the size of the div. This means that more words in the cloud would shrink the fontsize and less words would increase it. The cloud should always fill the box / div.

Is there currently a way of doing this?

complete callback or event

Hi,
there should be callback or event when completed.
required in case of lots of tags like 500 or more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.