看到网上有那种标签云认为蛮炫的,想自己玩玩
/**
* 云标签 * * @author xuyw* @email xyw10000@163.com
* @date 2014-05-27 */无标题文档
ptsig=2dvj7jyA7IlnfX-otKXPfswTUrcHMBBP3BEdhR9g3GU_" class="tagc2">xuyw<a> <a href="http://www.baidu.com/" class="tagc2">银行利率</a> <a href="http://www.baidu.com/" class="tagc1">PHP</a> <a href="http://www.baidu.com/" class="tagc2">android</a> <a href="http://www.baidu.com/" class="tagc5">C</a> <a href="http://www.baidu.com/" class="tagc2">C#</a> <a href="http://www.baidu.com/" class="tagc2">ORACLE</a> <a href="http://www.baidu.com/" class="tagc5">Mysql</a> <a href="http://www.baidu.com/" class="tagc2">银行贷款利率表</a> <a href="http://www.baidu.com/" class="tagc1">银行存款利率</a> <a href="http://www.baidu.com/" class="tagc2">银行利率</a> <a href="http://www.baidu.com/" class="tagc5">银行贷款利率</a> <a href="http://www.baidu.com/" class="tagc2">银行存款利率<a> <a href="http://www.baidu.com/" class="tagc2">银行利率</a> <a href="http://www.baidu.com/" class="tagc1">VB</a> <a href="http://www.baidu.com/" class="tagc2">银行存款利率</a> <a href="http://www.baidu.com/" class="tagc5">银行贷款利率</a> <a href="http://www.baidu.com/" class="tagc2">银行利率</a> <a href="http://www.baidu.com/" class="tagc2">房贷利率2013</a> <a href="http://www.baidu.com/" class="tagc5">银行存款利率表</a> <a href="http://www.baidu.com/" class="tagc2">银行贷款利率表</a> </div> <script src='tag.js' type="text/javascript"></script> </body> </html>
var radius = 90;var d = 200;var dtr = Math.PI / 180;var mcList = [];var lasta = 1;var lastb = 1;var distr = true;var tspeed = 11;var size = 200;var mouseX = 0;var mouseY = 10;var howElliptical = 1;var aA = null;var oDiv = null;window.οnlοad=function (){ var i=0; var oTag=null; oDiv=document.getElementById('yuntags'); aA=oDiv.getElementsByTagName('a'); for(i=0;i0.1) { if (aAs.display != '') aAs.display = ''; } else { if (aAs.display != 'none') aAs.display = 'none'; continue; } aAs.left = mcList[i].cx + l - mcList[i].offsetWidth / 2 + 'px'; aAs.top = mcList[i].cy + t - mcList[i].offsetHeight / 2 + 'px'; //aAs.fontSize=Math.ceil(12*mcList[i].scale/2)+8+'px'; //aAs.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+100*mcList[i].alpha+")"; aAs.filter = "alpha(opacity=" + 100 * mcList[i].alpha + ")"; aAs.zIndex = mcList[i].zIndex; aAs.opacity = mcList[i].alpha; }}function sineCosine( a, b, c){ sa = Math.sin(a * dtr); ca = Math.cos(a * dtr); sb = Math.sin(b * dtr); cb = Math.cos(b * dtr); sc = Math.sin(c * dtr); cc = Math.cos(c * dtr);}