Difference between revisions of "Template:TagCloud"

From BITPlan Wiki
Jump to navigation Jump to search
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>This is the tagCloud template
 
<noinclude>This is the tagCloud template
== Example ==
+
== Usage ==
<div id='tags' style='float:left'>
+
<pre>
 +
<div id='tags'>
 
* Sport
 
* Sport
 
* Spiel
 
* Spiel
Line 8: Line 9:
 
</div>
 
</div>
 
{{TagCloud}}
 
{{TagCloud}}
 +
</pre>
 +
<source lang='bash'>
 +
style="background:#FCFCFC;width:100%;height:300vh"
 +
</source>
 
== Links ==
 
== Links ==
 
* http://www.goat1000.com/tagcanvas.php
 
* http://www.goat1000.com/tagcanvas.php
 
+
[[Category:Template]]
 
</noinclude><includeonly><html>
 
</noinclude><includeonly><html>
<div id="myCanvasContainer" class="container" >
+
<div class="row"><div id="myCanvasContainer" class="col-md-12">
  <canvas id="myCanvas" class="col-md-12" height="350vh">
+
  <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 23: Line 29:
 
       TagCanvas.outlineColour = '#ff8000';
 
       TagCanvas.outlineColour = '#ff8000';
 
       TagCanvas.freezeActive = true;
 
       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