Back to vBulletin 3.7 Template Modifications

MFF Tag Cloud In Footer
Mod Version: 1.00, by mcyates

This modification is in the archives.
vB Version: 3.7.2 Rating: (0 vote - 0 average) Installs: 3
Released: 10 Aug 2008 Last Update: Never Downloads: 0
Not Supported Template Edits  

This is a really simple script which will add a tag cloud in the footer of your site (or wherever you put the code). Simply add this code:

Code:
<!-- TAG CLOUD -->
<center><script>
var advertiser = new Array();
advertiser[0]=["http://islandforum.net"," The Island"];
advertiser[1]=["http://www.myfootballforum.com"," My Football Forum"];
advertiser[2]=["http://www.myfootballforum.com"," Add Your Link Here"];
for( i=0; i<advertiser.length; i++){size = 8+(Math.random()*10);if( size < 9 ){color = 'red'}else if( size > 9 && size < 11 ){color = '#ffffff'}else if( size > 12 && size < 13 ){ color = 'yellow'}else if( size > 14 && size < 16 ){ color = '#ffffff'}else{color = '#ffffff';}document.write("<span style='font-size:"+size+"px;margin: 15px;'>");document.write("<a href='"+advertiser[i][0]+"' style='color:"+color+";text-decoration: none;' target='_blank'>"+advertiser[i][1]+"</a>");document.write("</span> ");}</script>
</center><br>
<!-- TAG CLOUD -->
It is all manual and to add or remove links you will have to edit the template where you add the code. Its a great hack as each time the page reloads, the links will be a different colour and size each time. You can change the size and the colour of the links in the bottom part of the code to whatever you want.

Demo is here, look at the footer:

http://www.myfootballforum.com/links.php

Download

No files for download.

Similar Mods

Word Cloud: Display Most Common Words from Posts in Cloud vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024