Tag Cloud Plugin For jQuery Shows Larger Tags | jquery.tagcloud

Tag cloud plugin for jQuery shows larger tags in the middle. tagcloud.js is a flexible, customizable, SEO-friendly cloud builder that dynamically determines the corresponding text size for each tag based on priority.

word cloud codepen, word cloud generator, interactive word cloud javascript, bootstrap tag cloud, jquery awesome cloud, tag cloud plugin jquery

More advantages:

  • Tag styles are configurable.
  • Semantic coding. Based on an unordered HTML list.
  • Apply random colors to the background of your signs.
  • Automatically set tag color based on the background color.

How to make use of it:

1. To get began, embrace the tagcloud.js jQuery plugin’s information on the web page.

<link rel="stylesheet" href="/path/to/jquery.tagcloud.css" />
<script src="/path/to/cdn/jquery.min.js"></script>
<script src="/path/to/jquery.tagcloud.js"></script>

2. Generate a tag cloud from a traditional HTML listing. The data-weight attribute.

<ul id="myTagCloud">
  <li data-weight="60"><a href="#">HTML</a></li>
  <li data-weight="35"><a href="#">CSS3</a></li>
  <li data-weight="85"><a href="#">JavaScript</a></li>
  <li data-weight="100"><a href="#">jQuery</a></li>
  <li data-weight="78"><a href="#">React.js</a></li>
  <li data-weight="62"><a href="#">Angular</a></li>
  <li data-weight="53"><a href="#">Vue.js</a></li>
  ...
</ul>
$('#myTagCloud').tagCloud({
  // configs here
});

3. You’re additionally allowed to outline the tag list in JavaScript as follows:

<div id="anotherTagCloud"></div>
const myTagList = [
      { 
        tag: 'HTML5',         
        link: '#', 
        weight: 90, 
        tooltip: 'Optional' 
      },
      { 
        tag: 'CSS3',
        link: '#', 
        weight: 35 
      },
      { 
        tag: 'JavaScript',    
        link: '#', 
        weight: 85 
      },
      // more tags here
  ]
$('#anotherTagCloud').tagCloud({
  data: myTagList
});

4. Customize the tag cloud with the following configs.

$('Selector').tagCloud({

  // tag cloud container options
  container: {
    width: 500,
    height: 'auto',
    backgroundColor: '#f0f0f0',
    color: '#666666',
    padding: '10px 5px',
    fontFamily: '"Helvetica Neue",Helvetica,Arial,sans-serif'
  },

  // tag options
  tag: {
    // min font size
    minFontSize: 10,     
    // max font size
    maxFontSize: 40,  
    // black for light background, white for dark background
    color: 'auto',
    // enable text shadow
    textShadow: false,
  },

  // an array pre-defined background colors
  backgroundColors: [
    '#db843d', '#92a8cd', '#a47d7c', '#058dc7', '#50b432', '#ed561b', '#24cbe5', '#64e572',
    '#ff9655', '#d6cb54', '#6af9c4', '#b5ca92', '#2f7ed8', '#5c40de', '#8bbc21', '#910000',
    '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a', '#db843d', '#92a8cd',
    '#a47d7c', '#058dc7', '#50b432', '#ed561b', '#24cbe5', '#64e572', '#ff9655', '#d6cb54',
    '#6af9c4', '#b5ca92', '#2f7ed8', '#5c40de', '#8bbc21', '#910000', '#1aadce', '#492970',
    '#f28f43', '#77a1e5', '#c42525', '#a6c96a', '#db843d', '#92a8cd', '#a47d7c', '#058dc7',
    '#50b432', '#ed561b', '#24cbe5', '#64e572', '#ff9655', '#d6cb54', '#6af9c4', '#b5ca92',
    '#2f7ed8', '#5c40de', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5'
  ],

  // black or white, based on background color
  defaultTagColor: 'auto',   

  // default background color
  defaultTagBackgroundColor:  '#ff9655',
  
});

Dynamic SEO-Friendly Tag Cloud Generator, Tag cloud plugin/Github


See Demo And Download

Official Website(peterthoeny): Click Here

This superior jQuery/javascript plugin is developed by peterthoeny. For extra Advanced Usages, please go to the official website.

Related Posts

Responsive-Multiple-Selection-Combo-Box-using-Bootstrap-3

Responsive Multiple Selection Combo Box using Bootstrap 3 | MagicSuggest

MagicSuggest is an easy-to-use jQuery plugin for creating a combo menu that allows you to select multiple items from a dropdown list with typing and auto-complete support….

material-design-tab-vanilla-js

Material Design Inspired Tab UI In Vanilla JavaScript

Material Design tab vanilla JS implements a material design-inspired tab component with a click ripple effect and an active sliding menu cursor. Must Read: Responsive Accessible Tabs…

countdown-timer-app

Simple Countdown Timer App In jQuery

The countdown is a front-end application that allows starting the countdown with two options: set a target date or write the number of countdown days. A countdown…

html5-animate-js

Add Animation to Your HTML5 Pages | animate.js

animate.js is a small JavaScript library that provides a convenient way to apply CSS animations powered by Animate.css to DOM elements without writing any CSS. Easily apply…

vue-responsive-parallax-cards

Responsive Hover Parallax Cards With Vuejs

Vue Responsive Parallax Cards Hover Create response cards with a scroll-triggered parallax effect in your Vue.js application. Must Read: jQuery Sliding Display Your Content Like a Deck…

pure-css-tabs-responsive

Responsive Pure CSS Only Accordion & Tabs Component

Responsive pure CSS accordion tabs and tabs will automatically convert to a vertical accordion interface on mobile devices. Must Read: Create Dynamic Accordion Giving JSON Data Using…