New Features:
|
Query ExamplesYou can type almost anything you want and should get some matches,but here are a few example queries:
|
|
| Go to the project's webpage here. | ||
This editor is without debug and allows any node to be input.
This editor is with debug and allows only competencies to be fed in.
Note: all links in these explanations are relative to this page. They are mostly generated by the GWT compiled for which an ant build file is used (thus far).
The generated javascript code is inserted by integrating in the header of your html code:
<script language='javascript' src='net.i2geo.skillstextbox.SkillsTextBox.nocache.js'></script>
<link rel="stylesheet" type="text/css" href="SkillsTextBox.css" />
The zone where the skills-text-box will appear is a div for which you give an id:
<div id="topicsOfThisConstruction"></div>
Next, each field that has to be "skills-text-box-edited" is to be made an input element, typically a hidden one such as follows. Some browsers prefer namme, some id, differentiate them with a trailing "_".
<input name="topicsField_" id="topicsField" value="Construct_rectangle"/>
You probably want to have a button or link to activate skills-text-box-edition, this is a javascript code:
<a href="javascript:window.skbEdit('topicsOfThisConstruction','topicsField', 'competency','true');">edit</a>
Note that the second parameter is the id of the input while the third is the comma-separated list of types you want to allow and the fourth is an indicating to display a debug console as well (goes quickly big).
Finally, you probably want to have the display visible from the start, so add a please:
<script type="text/javascript">window.skbPleaseReplaceMe = window.skbPleaseReplaceMe + ",topicsOfThisConstruction/topicsField"</script>
This javascript variable is read and split by commas into pairs of instructions where to run skills-text-box rendering for when starting.