perkee's blog

I heard you like science. tags
Mar 11
Permalink

Collapsible Tag cloud in tumblr

Hey, so maybe you want a sweet collapsible tag could in your tumblr page like mine. I took the tag cloud code from here and the collapsing javascript from here and rolled them up into this. Drop this in your Customize → Info → Description as you see fit.

<a href="javascript:;" onmousedown="if(document.getElementById('tags').style.display == 'none'){ document.getElementById('tags').style.display = 'block'; }else{ document.getElementById('tags').style.display = 'none'; }">tags</a> 

<div id="tags" style="display:none">
<!-- Start Tumblr Tag Cloud -->
<script type="text/javascript" src="http://code.hr1v.com/jquery.1.2.6.min.js"></script><script type="text/javascript" src="http://tumblrtags.hr1v.com/widget.js?css=default&minsize=120&maxsize=280"></script>
<!-- End Tumblr Tag Cloud -->
</div>
Comments (View)
1 note
  1. perkee posted this
blog comments powered by Disqus