Commit 480e4cb648c051ceb449b90b6ad96255b6674bad
1 parent
770ec7d9
Exists in
master
and in
7 other branches
Inclusão da biblioteca wpcumulus para geração de nuvem de tags em Flash
Showing
5 changed files
with
242 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,32 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
4 | +<head> | |
5 | + <title>WP-Cumulus example</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html" /> | |
7 | + <!-- SWFObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/swfobject/ --> | |
8 | + <script type="text/javascript" src="swfobject.js"></script> | |
9 | + <style type="text/css"> | |
10 | + body { background-color: #eee; padding: 20px; } | |
11 | + </style> | |
12 | +</head> | |
13 | + | |
14 | +<body> | |
15 | + | |
16 | + <div id="flashcontent">This will be shown to users with no Flash or Javascript.</div> | |
17 | + | |
18 | + <script type="text/javascript"> | |
19 | + var so = new SWFObject("tagcloud.swf", "tagcloud", "600", "400", "7", "#ffffff"); | |
20 | + // uncomment next line to enable transparency | |
21 | + //so.addParam("wmode", "transparent"); | |
22 | + so.addVariable("tcolor", "0x333333"); | |
23 | + so.addVariable("mode", "tags"); | |
24 | + so.addVariable("distr", "true"); | |
25 | + so.addVariable("tspeed", "100"); | |
26 | + so.addVariable("tagcloud", "<tags><a href='http://www.roytanck.com' style='22'>WordPress</a><a href='http://www.roytanck.com' style='12'>Flash</a><a href='http://www.roytanck.com' style='16'>Plugin</a><a href='http://www.roytanck.com' style='14'>WP-Cumulus</a><a href='http://www.roytanck.com' style='12'>3D</a><a href='http://www.roytanck.com' style='12'>Tag cloud</a><a href='http://www.roytanck.com' style='9'>Roy Tanck</a><a href='http://www.roytanck.com' style='10'>SWFObject</a><a href='http://www.roytanck.com' style='10'>Example</a><a href='http://www.roytanck.com' style='12'>Click</a><a href='http://www.roytanck.com' style='12'>Animation</a></tags>"); | |
27 | + so.write("flashcontent"); | |
28 | + </script> | |
29 | + | |
30 | +</body> | |
31 | + | |
32 | +</html> | ... | ... |
... | ... | @@ -0,0 +1,30 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml"> | |
4 | +<head> | |
5 | + <title>WP-Cumulus example</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html" /> | |
7 | + <!-- SWFObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/swfobject/ --> | |
8 | + <script type="text/javascript" src="swfobject.js"></script> | |
9 | + <style type="text/css"> | |
10 | + body { background-color: #eee; padding: 20px; } | |
11 | + </style> | |
12 | +</head> | |
13 | + | |
14 | +<body> | |
15 | + | |
16 | + <div id="flashcontent">This will be shown to users with no Flash or Javascript.</div> | |
17 | + | |
18 | + <script type="text/javascript"> | |
19 | + var so = new SWFObject("tagcloud.swf", "tagcloud", "600", "400", "7", "#ffffff"); | |
20 | + // uncomment next line to enable transparency | |
21 | + so.addParam("wmode", "transparent"); | |
22 | + so.addVariable("tcolor", "0x333333"); | |
23 | + so.addVariable("tspeed", "100"); | |
24 | + so.addVariable("distr", "true"); | |
25 | + so.write("flashcontent"); | |
26 | + </script> | |
27 | + | |
28 | +</body> | |
29 | + | |
30 | +</html> | ... | ... |
... | ... | @@ -0,0 +1,133 @@ |
1 | +/** | |
2 | + * SWFObject v1.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/ | |
3 | + * | |
4 | + * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License: | |
5 | + * http://www.opensource.org/licenses/mit-license.php | |
6 | + * | |
7 | + * **SWFObject is the SWF embed script formarly known as FlashObject. The name was changed for | |
8 | + * legal reasons. | |
9 | + */ | |
10 | +if(typeof deconcept=="undefined"){var deconcept=new Object();} | |
11 | +if(typeof deconcept.util=="undefined"){deconcept.util=new Object();} | |
12 | +if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();} | |
13 | +deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){ | |
14 | +if(!document.createElement||!document.getElementById){return;} | |
15 | +this.DETECT_KEY=_b?_b:"detectflash"; | |
16 | +this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY); | |
17 | +this.params=new Object(); | |
18 | +this.variables=new Object(); | |
19 | +this.attributes=new Array(); | |
20 | +if(_1){this.setAttribute("swf",_1);} | |
21 | +if(id){this.setAttribute("id",id);} | |
22 | +if(w){this.setAttribute("width",w);} | |
23 | +if(h){this.setAttribute("height",h);} | |
24 | +if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));} | |
25 | +this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"),_7); | |
26 | +if(c){this.addParam("bgcolor",c);} | |
27 | +var q=_8?_8:"high"; | |
28 | +this.addParam("quality",q); | |
29 | +this.setAttribute("useExpressInstall",_7); | |
30 | +this.setAttribute("doExpressInstall",false); | |
31 | +var _d=(_9)?_9:window.location; | |
32 | +this.setAttribute("xiRedirectUrl",_d); | |
33 | +this.setAttribute("redirectUrl",""); | |
34 | +if(_a){this.setAttribute("redirectUrl",_a);}}; | |
35 | +deconcept.SWFObject.prototype={setAttribute:function(_e,_f){ | |
36 | +this.attributes[_e]=_f; | |
37 | +},getAttribute:function(_10){ | |
38 | +return this.attributes[_10]; | |
39 | +},addParam:function(_11,_12){ | |
40 | +this.params[_11]=_12; | |
41 | +},getParams:function(){ | |
42 | +return this.params; | |
43 | +},addVariable:function(_13,_14){ | |
44 | +this.variables[_13]=_14; | |
45 | +},getVariable:function(_15){ | |
46 | +return this.variables[_15]; | |
47 | +},getVariables:function(){ | |
48 | +return this.variables; | |
49 | +},getVariablePairs:function(){ | |
50 | +var _16=new Array(); | |
51 | +var key; | |
52 | +var _18=this.getVariables(); | |
53 | +for(key in _18){ | |
54 | +_16.push(key+"="+_18[key]);} | |
55 | +return _16; | |
56 | +},getSWFHTML:function(){ | |
57 | +var _19=""; | |
58 | +if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){ | |
59 | +if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");} | |
60 | +_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\""; | |
61 | +_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" "; | |
62 | +var _1a=this.getParams(); | |
63 | +for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";} | |
64 | +var _1c=this.getVariablePairs().join("&"); | |
65 | +if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";} | |
66 | +_19+="/>"; | |
67 | +}else{ | |
68 | +if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");} | |
69 | +_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">"; | |
70 | +_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />"; | |
71 | +var _1d=this.getParams(); | |
72 | +for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";} | |
73 | +var _1f=this.getVariablePairs().join("&"); | |
74 | +if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";} | |
75 | +_19+="</object>";} | |
76 | +return _19; | |
77 | +},write:function(_20){ | |
78 | +if(this.getAttribute("useExpressInstall")){ | |
79 | +var _21=new deconcept.PlayerVersion([6,0,65]); | |
80 | +if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){ | |
81 | +this.setAttribute("doExpressInstall",true); | |
82 | +this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl"))); | |
83 | +document.title=document.title.slice(0,47)+" - Flash Player Installation"; | |
84 | +this.addVariable("MMdoctitle",document.title);}} | |
85 | +if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){ | |
86 | +var n=(typeof _20=="string")?document.getElementById(_20):_20; | |
87 | +n.innerHTML=this.getSWFHTML(); | |
88 | +return true; | |
89 | +}else{ | |
90 | +if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}} | |
91 | +return false;}}; | |
92 | +deconcept.SWFObjectUtil.getPlayerVersion=function(_23,_24){ | |
93 | +var _25=new deconcept.PlayerVersion([0,0,0]); | |
94 | +if(navigator.plugins&&navigator.mimeTypes.length){ | |
95 | +var x=navigator.plugins["Shockwave Flash"]; | |
96 | +if(x&&x.description){_25=new deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));} | |
97 | +}else{try{ | |
98 | +var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); | |
99 | +for(var i=3;axo!=null;i++){ | |
100 | +axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i); | |
101 | +_25=new deconcept.PlayerVersion([i,0,0]);}} | |
102 | +catch(e){} | |
103 | +if(_23&&_25.major>_23.major){return _25;} | |
104 | +if(!_23||((_23.minor!=0||_23.rev!=0)&&_25.major==_23.major)||_25.major!=6||_24){ | |
105 | +try{_25=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));} | |
106 | +catch(e){}}} | |
107 | +return _25;}; | |
108 | +deconcept.PlayerVersion=function(_29){ | |
109 | +this.major=parseInt(_29[0])!=null?parseInt(_29[0]):0; | |
110 | +this.minor=parseInt(_29[1])||0; | |
111 | +this.rev=parseInt(_29[2])||0;}; | |
112 | +deconcept.PlayerVersion.prototype.versionIsValid=function(fv){ | |
113 | +if(this.major<fv.major){return false;} | |
114 | +if(this.major>fv.major){return true;} | |
115 | +if(this.minor<fv.minor){return false;} | |
116 | +if(this.minor>fv.minor){return true;} | |
117 | +if(this.rev<fv.rev){return false;}return true;}; | |
118 | +deconcept.util={getRequestParameter:function(_2b){ | |
119 | +var q=document.location.search||document.location.hash; | |
120 | +if(q){ | |
121 | +var _2d=q.indexOf(_2b+"="); | |
122 | +var _2e=(q.indexOf("&",_2d)>-1)?q.indexOf("&",_2d):q.length; | |
123 | +if(q.length>1&&_2d>-1){ | |
124 | +return q.substring(q.indexOf("=",_2d)+1,_2e); | |
125 | +}}return "";}}; | |
126 | +if(Array.prototype.push==null){ | |
127 | +Array.prototype.push=function(_2f){ | |
128 | +this[this.length]=_2f; | |
129 | +return this.length;};} | |
130 | +var getQueryParamValue=deconcept.util.getRequestParameter; | |
131 | +var FlashObject=deconcept.SWFObject; // for backwards compatibility | |
132 | +var SWFObject=deconcept.SWFObject; | |
133 | + | ... | ... |
No preview for this file type
... | ... | @@ -0,0 +1,47 @@ |
1 | +<tags> | |
2 | +<a href="http://www.roytanck.com/tag/150/" class="tag-link-66" title="2 topics" rel="tag" style="font-size: 9.55556pt;">$150</a> | |
3 | +<a href="http://www.roytanck.com/tag/3d/" class="tag-link-39" title="1 topics" rel="tag" style="font-size: 8pt;">3D</a> | |
4 | +<a href="http://www.roytanck.com/tag/api/" class="tag-link-54" title="2 topics" rel="tag" style="font-size: 9.55556pt;">API</a> | |
5 | +<a href="http://www.roytanck.com/tag/avi/" class="tag-link-42" title="1 topics" rel="tag" style="font-size: 8pt;">AVI</a> | |
6 | +<a href="http://www.roytanck.com/tag/bank/" class="tag-link-25" title="1 topics" rel="tag" style="font-size: 8pt;">bank</a> | |
7 | +<a href="http://www.roytanck.com/tag/bizner/" class="tag-link-27" title="1 topics" rel="tag" style="font-size: 8pt;">Bizner</a> | |
8 | +<a href="http://www.roytanck.com/tag/calendar/" class="tag-link-29" title="1 topics" rel="tag" style="font-size: 8pt;">calendar</a> | |
9 | +<a href="http://www.roytanck.com/tag/convert/" class="tag-link-43" title="1 topics" rel="tag" style="font-size: 8pt;">convert</a> | |
10 | +<a href="http://www.roytanck.com/tag/design/" class="tag-link-24" title="1 topics" rel="tag" style="font-size: 8pt;">design</a> | |
11 | +<a href="http://www.roytanck.com/tag/drivers/" class="tag-link-48" title="2 topics" rel="tag" style="font-size: 9.55556pt;">drivers</a> | |
12 | +<a href="http://www.roytanck.com/tag/entrepreneurship/" class="tag-link-26" title="2 topics" rel="tag" style="font-size: 9.55556pt;">entrepreneurship</a> | |
13 | +<a href="http://www.roytanck.com/tag/firefox/" class="tag-link-37" title="3 topics" rel="tag" style="font-size: 11.1111pt;">Firefox</a> | |
14 | +<a href="http://www.roytanck.com/tag/flash/" class="tag-link-18" title="1 topics" rel="tag" style="font-size: 8pt;">Flash</a> | |
15 | +<a href="http://www.roytanck.com/tag/gadgets/" class="tag-link-4" title="4 topics" rel="tag" style="font-size: 12.6667pt;">Gadgets</a> | |
16 | +<a href="http://www.roytanck.com/tag/google/" class="tag-link-28" title="1 topics" rel="tag" style="font-size: 8pt;">Google</a> | |
17 | +<a href="http://www.roytanck.com/tag/goosync/" class="tag-link-32" title="1 topics" rel="tag" style="font-size: 8pt;">GooSync</a> | |
18 | +<a href="http://www.roytanck.com/tag/hub/" class="tag-link-56" title="2 topics" rel="tag" style="font-size: 9.55556pt;">hub</a> | |
19 | +<a href="http://www.roytanck.com/tag/idea/" class="tag-link-57" title="2 topics" rel="tag" style="font-size: 9.55556pt;">idea</a> | |
20 | +<a href="http://www.roytanck.com/tag/internet/" class="tag-link-8" title="1 topics" rel="tag" style="font-size: 8pt;">Internet</a> | |
21 | +<a href="http://www.roytanck.com/tag/lan/" class="tag-link-61" title="2 topics" rel="tag" style="font-size: 9.55556pt;">LAN</a> | |
22 | +<a href="http://www.roytanck.com/tag/laptop/" class="tag-link-65" title="2 topics" rel="tag" style="font-size: 9.55556pt;">laptop</a> | |
23 | +<a href="http://www.roytanck.com/tag/medison-celebrity/" class="tag-link-64" title="2 topics" rel="tag" style="font-size: 9.55556pt;">Medison Celebrity</a> | |
24 | +<a href="http://www.roytanck.com/tag/mobile-phone/" class="tag-link-34" title="2 topics" rel="tag" style="font-size: 9.55556pt;">mobile phone</a> | |
25 | +<a href="http://www.roytanck.com/tag/nabaztag/" class="tag-link-50" title="2 topics" rel="tag" style="font-size: 9.55556pt;">Nabaztag</a> | |
26 | +<a href="http://www.roytanck.com/tag/networking/" class="tag-link-62" title="2 topics" rel="tag" style="font-size: 9.55556pt;">networking</a> | |
27 | +<a href="http://www.roytanck.com/tag/nview/" class="tag-link-45" title="1 topics" rel="tag" style="font-size: 8pt;">nView</a> | |
28 | +<a href="http://www.roytanck.com/tag/photo-gallery/" class="tag-link-38" title="1 topics" rel="tag" style="font-size: 8pt;">photo gallery</a> | |
29 | +<a href="http://www.roytanck.com/tag/piclens/" class="tag-link-36" title="1 topics" rel="tag" style="font-size: 8pt;">PicLens</a> | |
30 | +<a href="http://www.roytanck.com/tag/plugin/" class="tag-link-40" title="3 topics" rel="tag" style="font-size: 11.1111pt;">plugin</a> | |
31 | +<a href="http://www.roytanck.com/tag/plugins/" class="tag-link-85" title="2 topics" rel="tag" style="font-size: 9.55556pt;">plugins</a> | |
32 | +<a href="http://www.roytanck.com/tag/quicktime/" class="tag-link-41" title="1 topics" rel="tag" style="font-size: 8pt;">QuickTime</a> | |
33 | +<a href="http://www.roytanck.com/tag/software/" class="tag-link-5" title="3 topics" rel="tag" style="font-size: 11.1111pt;">Software</a> | |
34 | +<a href="http://www.roytanck.com/tag/swf/" class="tag-link-84" title="2 topics" rel="tag" style="font-size: 9.55556pt;">SWF</a> | |
35 | +<a href="http://www.roytanck.com/tag/switches/" class="tag-link-58" title="2 topics" rel="tag" style="font-size: 9.55556pt;">switches</a> | |
36 | +<a href="http://www.roytanck.com/tag/sync/" class="tag-link-30" title="1 topics" rel="tag" style="font-size: 8pt;">sync</a> | |
37 | +<a href="http://www.roytanck.com/tag/syncml/" class="tag-link-35" title="1 topics" rel="tag" style="font-size: 8pt;">SyncML</a> | |
38 | +<a href="http://www.roytanck.com/tag/testing/" class="tag-link-23" title="1 topics" rel="tag" style="font-size: 8pt;">testing</a> | |
39 | +<a href="http://www.roytanck.com/tag/themes/" class="tag-link-22" title="4 topics" rel="tag" style="font-size: 12.6667pt;">themes</a> | |
40 | +<a href="http://www.roytanck.com/tag/usb/" class="tag-link-55" title="2 topics" rel="tag" style="font-size: 9.55556pt;">USB</a> | |
41 | +<a href="http://www.roytanck.com/tag/video/" class="tag-link-44" title="1 topics" rel="tag" style="font-size: 8pt;">video</a> | |
42 | +<a href="http://www.roytanck.com/tag/video-cards/" class="tag-link-49" title="1 topics" rel="tag" style="font-size: 8pt;">video cards</a> | |
43 | +<a href="http://www.roytanck.com/tag/vista/" class="tag-link-47" title="2 topics" rel="tag" style="font-size: 9.55556pt;">Vista</a> | |
44 | +<a href="http://www.roytanck.com/tag/wifi/" class="tag-link-51" title="2 topics" rel="tag" style="font-size: 9.55556pt;">wifi</a> | |
45 | +<a href="http://www.roytanck.com/tag/windows/" class="tag-link-46" title="1 topics" rel="tag" style="font-size: 8pt;">Windows</a> | |
46 | +<a href="http://www.roytanck.com/tag/wordpress/" class="tag-link-19" title="10 topics" rel="tag" style="font-size: 22pt;">WordPress</a> | |
47 | +</tags> | |
0 | 48 | \ No newline at end of file | ... | ... |