Sharepoint Tags cloud

效果:http://www.roytanck.com/tag-cloud/

需要 Jquery,Jquery,swfobject

文档资料:

http://www.roytanck.com/2008/05/19/how-to-repurpose-my-tag-cloud-flash-movie/

<tags><a href='http://www.roytanck.com/tag1' style='9'>Tag name</a><a href='http://www.roytanck.com/tag2' style='12'>Tag two</a></tags>

代码
<html>
<body>
<script src="jquery-1.4.2.min.js"></script>
<script src="jquery.swfobject.1-1-1.min.js"></script>

<script>
$(document).ready(
function () {
// #myFlashVars is the selector
$('#myFlashVars').flash(
{
// test_flashvars.swf is the flash document
swf: 'http://www.roytanck.com/wp-content/plugins/wp-cumulus/tagcloud.swf?r=7544641',
movie:
'http://www.roytanck.com/wp-content/plugins/wp-cumulus/tagcloud.swf?r=7544641',
// these arguments will be passed into the flash document
wmode: "transparent",
flashvars: {
mode:
'tags',
distr:
'true',
tcolor:
'0x111111',
hicolor:
'0x000000',
tagcloud:
"<tags><a href='http://www.roytanck.com/tag1' style='9'>Tag name</a><a href='http://www.roytanck.com/tag2' style='12'>Tag two</a></tags>"
}
}
);
}
);
</script>
<div id="myFlashVars"></div>
</body>
</html>
原文地址:https://www.cnblogs.com/frankzye/p/1836997.html