This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

Gallery Pastebin - Paste and link to it

Posted by floridave Thu 3rd Jul 2008 19:32

  1.         <script type="text/javascript"
  2.         var tags = "<tags>";
  3.         {foreach from=$block.tags.taglist item=tag key=rawTagName name=tags}
  4.         {if empty($showAbove) || !is_numeric($showAbove) || $tag.rawCount > $showAbove}
  5.                 tags += "%3Ca+href%3D%22{g->url arg1="view=tags.VirtualAlbum" arg2="tagName=$rawTagName" htmlEntities=true}%22+class%3D%22tag-link-66%22+title%3D%22{$tag.name}%22+rel%3D%22tag%22+style=%22font-size:+{$tag.count*$Magnification}pt%3B%22%3E{$tag.name}%3C%2Fa%3E%0A";
  6.                 {/if}
  7.                 {/foreach}
  8.        
  9.                 tags = tags.replace(/\?/g, "%3F");
  10.                 tags = tags.replace(/&amp;/g, "%26");
  11.                 tags = tags.replace(/+%26+/g, "%26");         
  12.                 tags += "</tags>";
  13.                 var so = new SWFObject("{g->url href="modules/tags/flash/tagcloud.swf"}", "tagcloudflash", "{$divwidth|default:'500'}", "{$divheight|default:'400'}", "7", "#{$bgcolor|default:'292929'}");
  14.                 so.addVariable("tcolor", "0x{$fontcolor|default:'EBAF00'}");
  15.                 so.addVariable("tspeed", "{$speed|default:'100'}");
  16.                 {if !empty($bgcolor)}{else}so.addParam("wmode", "transparent");{/if}
  17.                 so.addVariable("tagcloud", tags);
  18.                 so.write("tagcloudflash");
  19.         </script>

PermaLink to this entry http://tools.gallery2.org/pastebin/2007 Download 2007.txt
Submit a correction or amendment below. (click here to make a fresh posting)

Your Name
Syntax:
For (optional)
Leave permalink as note for user. Remember my name in a cookie

Select channel for announcement:
#gallery#gallery-support

Code: To ensure legibility, keep your code lines under 80 characters long.

You can highlight lines: start with "@#" and end with "!#"

Description: You can leave a small description for your code. (Errors, etc)

Please note that your script will be available publicly.
Page generated in 0.141 seconds.