Difference between revisions of "Template:TagCloud"

From BITPlan Wiki
Jump to navigation Jump to search
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>This is the tagCloud template
 
<noinclude>This is the tagCloud template
<div id='tags' style='float:left'>
+
== Usage ==
 +
<pre>
 +
<div id='tags'>
 
* Sport
 
* Sport
 
* Spiel
 
* Spiel
Line 6: Line 8:
 
* Spannung
 
* Spannung
 
</div>
 
</div>
{{TagCloud|cols=12}}
+
{{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>
 
</noinclude><includeonly><html>
<div id="myCanvasContainer" >
+
<div class="row"><div id="myCanvasContainer" class="col-md-12">
  <canvas id="myCanvas" class="col-md-12" height="100vh">
+
  <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 17: 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 11: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