Getting Started

jqxTagCloud is a jQuery widget is a flexible UI component that displays a collection of user-generated tags accompanying the articles, posts, or videos on your website. Each tag has weight value which corresponds to its popularity, importance or recurrence on the page. The keywords in the cloud can have their own URL which navigates to a collection of items associated with the relevant tag. The user can easily customize the appearance of the control, choose the items that will be displayed in the cloud, their font size and color, sort the tags alphabetically or by value, in ascending or descending order.
Every UI widget from jQWidgets toolkit needs its JavaScript files to be included in order to work properly.

The first step is to create html page and add links to the javascript files and css dependencies to your project. The jqxTagCloud widget requires the following files:


The next step is to create a DIV element within the body of the html document where the jqxTagCloud widget will be.

The last step is to initialize the widget by adding the following script to the html document:

Be sure to specify a valid source for the tag information.

To bind to an event of a UI widget, you can use basic jQuery syntax. The example code below demonstrates how to bind to the "itemClicked" event of jqxFileUpload.

Basic Sample

The result of the above code is: