Difference between revisions of "Template:TagCloud"

From BITPlan Wiki
Jump to navigation Jump to search
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This is the tagCloud template</noinclude><includeonly><html>
+
<noinclude>This is the tagCloud template
<div id="myCanvasContainer" >
+
== Usage ==
  <canvas width="300" height="400" id="myCanvas" style='float:left'>
+
<pre>
 +
<div id='tags'>
 +
* Sport
 +
* Spiel
 +
* Spaß
 +
* Spannung
 +
</div>
 +
{{TagCloud}}
 +
</pre>
 +
<source lang='bash'>
 +
style="background:#FCFCFC;width:100%;height:300vh"
 +
</source>
 +
== Links ==
 +
* http://www.goat1000.com/tagcanvas.php
 +
[[Category:Template]]
 +
</noinclude><includeonly><html>
 +
<div class="row"><div id="myCanvasContainer" class="col-md-12">
 +
  <canvas id="myCanvas" width="1000vw" height="500vh" style="background:#FDFDFD">
 
   <p>In Internet Explorer versions up to 8, things inside the canvas are inaccessible!</p>
 
   <p>In Internet Explorer versions up to 8, things inside the canvas are inaccessible!</p>
 
  </canvas>
 
  </canvas>
 +
</div>
 
</div>
 
</div>
 
<script type="text/javascript">
 
<script type="text/javascript">
Line 9: Line 27:
 
     try {
 
     try {
 
       TagCanvas.textColour    = '#0000ff';
 
       TagCanvas.textColour    = '#0000ff';
       TagCanvas.outlineColour = '#ff8000'
+
       TagCanvas.outlineColour = '#ff8000';
 +
      TagCanvas.freezeActive = true;
 +
      TagCanvas.pinchZoom=true;
 
       TagCanvas.Start('myCanvas','tags');
 
       TagCanvas.Start('myCanvas','tags');
 
     } catch(e) {
 
     } catch(e) {

Latest revision as of 10:46, 31 December 2018

This is the tagCloud template

Usage

<div id='tags'>
* Sport
* Spiel
* Spaß
* Spannung
</div>
{{TagCloud}}
style="background:#FCFCFC;width:100%;height:300vh"

Links