Version 5, changed by admin. 03/28/2006. Show version history
<jot:include node="TagLib" />
Tag.EditBox({idPrefix: 'tester'});
//Let's pop the edit box up in place. Can style this by defining the class we pass in editClass
Tag.EditBox({idPrefix: 'tester2', editClass: 'tagEditBoxFormPopup', dynamic: 'popup'});
//And let's get WikiHome's tags in for good measure...
Tag.EditBox({idPrefix: 'tester3', node: 'WikiHome'});
//We could have a cloud where the links take you off to a different page called SimpleTagPivot...
var myCloud = new Tag.Cloud(page.main.tags);
myCloud.display({pivot: 'SimpleTagPivot', idPrefix: 'myCloud', dynamic: 'static', containerClass: 'myCoolStyle'});
//Or we could have it all dynamic and dojo-y...
//...and it will degrade nicely if there's no javascript.
var myCloud2 = new Tag.Cloud(page.main.tags);
myCloud2.display({pivot: 'SimpleTagPivot', dynamicPivot: 'MultiTagPivot', idPrefix: 'myCloud2'});
//Or we could make a global tag cloud...
var globalization = new Tag.Cloud(Tag.all());
globalization.display({pivot: 'SimpleTagPivot', dynamicPivot: 'MultiTagPivot', idPrefix: 'globalCloud'});