Adding javascript to paint an HTML element
Hello
I'm attempting to help a colleague who wants to buy Captivate.
My colleague wants to use Jsme (JSME Homepage ) which is a javascript library to display chemistry bonds based on alphanumeric (text) in an HTML element e.g. to use it on an HTML page you would do the following below:
To use it, you would add a div tag e.g.
<div id="jsme_container"></div>
and use javascript to apply the library to the id
<script type="text/javascript" language="javascript" src="jsme/jsme.nocache.js"></script>
<script>
//this function will be called after the JavaScriptApplet code has been loaded.
function jsmeOnLoad() {
jsmeApplet = new JSApplet.JSME("jsme_container", "380px", "340px");
}
</script>
Is it possible to add HTML to a ?slide? and use javascript to "paint" the tag. I've read that captivate can use javascript but I'm not sure if this is possible.
We could just create HTML but captivate appears to offer more for our needs i.e. SCORM packaging and a better all round environment. We would want to create a quiz where the library is used to display chemistry things and students answer by using the javascript editor. The actual answer given is just supplied as text to a textbox. I guess this is similar to using TinyMCE on a text area.
Again this would give us the ability to create new learning objects that would integrate with our Blackboard Gradcentre.
Any ideas.
Thanks
Jason (off to see in TinyMCE would work and captivate as that's a similar idea and probably more google-able)
