jQuery Plugin To Display Your Tumblr Blog Tags On The Website Tumblr Cloud Tag - Download jQuery Plugin To Display Your Tumblr Blog's Tags On The Website - Tumblr Cloud Tag

Download jQuery Plugin To Display Your Tumblr Blog’s Tags On The Website – Tumblr Cloud Tag

Posted on

This time I will share jQuery Plugin and tutorial about jQuery Plugin To Display Your Tumblr Blog’s Tags On The Website – Tumblr Cloud Tag, hope it will help you in programming stack.

jQuery Plugin To Display Your Tumblr Blog Tags On The Website Tumblr Cloud Tag - Download jQuery Plugin To Display Your Tumblr Blog's Tags On The Website - Tumblr Cloud Tag
File Size: 6.35 KB
Views Total: 1106
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Tumblr Cloud Tag is a jQuery plugin used to retrieve all the available tags from your Tumblr blog and display them in an unordered list for further usage.

How to use it:

1. Include jQuery javascript library and jQuery tumblr cloud tag plugin in your web page.

2 <script src="./jquery.tumblr.cloud-tag.min.js"></script>

2. Create an UL element for the Tumblr’s tags.

1 <ul id="cloud-tag">
2 </ul>

3. Register an App here and insert the OAuth Consumer Key into your javascript. The entire javascript codes should be like this.

1 $(document).ready(function(){
2 $('#cloud-tag').cloudTag({
3 apiKey: 'EoIphLAekSSSFH1PMexsVUuad8ow13YywzkHRhpCBoTNbc2t3k',
4 tumblrSite: 'amazing-jquery-plugins.tumblr.com',
5 autoSize: true
6 });
7 });

4. The default options.

01 $(document).ready(function(){
02 $('#cloud-tag').cloudTag({
03 // tumblr API key
04 apiKey: '',
05  
06 // Your Tumblr Blog's URL
07 tumblrSite: location.hostname,
08  
09 // show a number of each tags used in posts
10 showCount: false,
11  
12 // left delimeter for a number of tags
13 countDelimeterLeft: '(',
14  
15 // right delimeter for a number of tags
16 countDelimeterRight: ')',
17  
18 // name or count.
19 // sort the list of tags by number of occurance or alphabeticaly
20 sortBy: 'name',
21  
22 // change font size according to tag frequency
23 autoSize: false,
24  
25 // how many tags to show
26 maxTags: null
27 });
28 });

5. Style the tags list in the CSS.

01 #cloud-tag {
02 ...
03 }
04 #cloud-tag li {
05 ...
06 }
07 #cloud-tag a {
08 ...
09 }
10 #cloud-tag a:hover {
11 ...
12 }
13 #cloud-tag a.freq-1 {
14 ...
15 }
16 #cloud-tag a.freq-2 {
17 ...
18 }
19 #cloud-tag a.freq-3 {
20 ...
21 }
22 #cloud-tag a.freq-4 {
23 ...
24 }
25 #cloud-tag a.freq-5 {
26 ...
27 }

Change log:

2015-10-15

  • Add maxTags parameter to change number of tags to show

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

source : jqueryscript.net