文件名称:flash-tag
-
所属分类:
- 标签属性:
- 上传时间:2012-09-04
-
文件大小:31.17kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
使用方法是:
使用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
js/tagcloud.swf
flash.png
index.html
js
js/tagcloud.swf
flash.png
index.html
js
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.