文件名称:flash-tag
介绍说明--下载内容均来自于网络,请自行研究使用
使用方法是:
使用SWFObject引用tagcloud.swf时,通过addVariable方法,给其传入tagcloud参数,此参数的值即为标签云需要显示的内容,注意传给 tagcloud 的值必需进行URL编码,可以使用JS的 encodeURIComponent 函数对字符串进行URL编码后赋值给 tagcloud ,也可以直接通过编码工具转码后将编码后的字符串直接传递给tagcloud变量。
代码中 id="cloud" 标签内的内容和需要在flash标签云中显示的内容是相同的,当flash标签云显示时,flash会取代此ID标签的内容。这样做的目的是为了在浏览器不支持JS即不能显示flash标签云时,将内容显示为链接。 -Use is:
Using SWFObject reference tagcloud.swf methods by addVariable, its incoming tagcloud parameters, the value of this parameter is the tag cloud to display the content, pay attention to the value passed to the tagcloud necessary URL encoding, you can use the encodeURIComponent function of JS on assigned to the string URL encoded tagcloud, but also directly through coding tools to turn the code will be encoded string is passed directly to the tagcloud variable.
Code id = "cloud" the contents of the tag and in the flash tag cloud is the same as when the flash tag cloud display, the flash will replace the contents of this ID tag. The aim is to JS that can not display the flash tag cloud will appear as links in the browser does not support.
使用SWFObject引用tagcloud.swf时,通过addVariable方法,给其传入tagcloud参数,此参数的值即为标签云需要显示的内容,注意传给 tagcloud 的值必需进行URL编码,可以使用JS的 encodeURIComponent 函数对字符串进行URL编码后赋值给 tagcloud ,也可以直接通过编码工具转码后将编码后的字符串直接传递给tagcloud变量。
代码中 id="cloud" 标签内的内容和需要在flash标签云中显示的内容是相同的,当flash标签云显示时,flash会取代此ID标签的内容。这样做的目的是为了在浏览器不支持JS即不能显示flash标签云时,将内容显示为链接。 -Use is:
Using SWFObject reference tagcloud.swf methods by addVariable, its incoming tagcloud parameters, the value of this parameter is the tag cloud to display the content, pay attention to the value passed to the tagcloud necessary URL encoding, you can use the encodeURIComponent function of JS on assigned to the string URL encoded tagcloud, but also directly through coding tools to turn the code will be encoded string is passed directly to the tagcloud variable.
Code id = "cloud" the contents of the tag and in the flash tag cloud is the same as when the flash tag cloud display, the flash will replace the contents of this ID tag. The aim is to JS that can not display the flash tag cloud will appear as links in the browser does not support.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
js\swfobject.js
..\tagcloud.swf
flash.png
index.html
js
..\tagcloud.swf
flash.png
index.html
js