|
MFF Tag Cloud In Footer
This modification is in the archives.
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 -->
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 |