3D Sphere Tag Cloud With Touch Support - jQuery Rotator.js

File Size: 44 KB
Views Total: 1062
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
3D Sphere Tag Cloud With Touch Support - jQuery Rotator.js

Rotator.js is a jQuery plugin used to generate an interactive, touch-enabled 3D sphere tag cloud using plain HTML/JavaScript/CSS. No SVG, Canvas, and Image needed.

How to use it:

1. Load the required jQuery and jQuery Mobile (for touch support) libraries in the document.

<script src="/path/to/cdn/jquery.min.js"></script>
<script src="/path/to/cdn/jquery.mobile.min.js"></script>

2. Load the jQuery Rotator.js plugin's files in the document.

<link rel="stylesheet" href="rotator.css" />
<script src="rotator.js"></script>

3. Add tag links to a DIV container with the CSS class of div-rotator and specify the weight factor using 'big', 'small', and 'medium' classes:

<div class="div-rotator">

  <a class="big" href="#">Tag 1</a>

  <a class="medium" href="#">Tag 2</a>

  <a class="small" href="#">Tag 3</a>
 
  ... more tags here ...

</div>

4. Not only plain text links, the plugin supports almost all HTML elements such as images, videos, and more.

<div class="div-rotator">

  <a class="big" href="#">Tag 1</a>

  <a class="medium" href="#">Tag 2</a>

  <a class="small" href="#">Tag 3</a>

  <a class="medium" href="#">
    <img src="tag.png">
  </a>
 
  ... more tags here ...

</div>

This awesome jQuery plugin is developed by ernesto-sun. For more Advanced Usages, please check the demo page or visit the official website.