A legacy document contained Java Applets that allowed users to interact with images, measuring the distance between features on the image.
The document still contains the HTML sources to load the applet and provide configuration parameters.
These text snippets should be of value.
How to represent object in DITA, with users able to edit/maintain the relevant parameters:
<object outputclass="myClass" data="../images/Chrysanthemums.jpg">
<param name="x" value="y"/>
</object>
Here is the CSS necessary to display the image in the object in author mode. We would add it to the fieldman_author_styles.css file in the template.
*[class~="topic/object"][data][outputclass='myClass']{
content: oxy_url(oxy_base-uri(), attr(data));
}
We would use XSL to transform the object object into the HTML/CSS code necessary to display the dynamic component.
A legacy document contained Java Applets that allowed users to interact with images, measuring the distance between features on the image.
The document still contains the HTML sources to load the applet and provide configuration parameters.
These text snippets should be of value.
How to represent object in DITA, with users able to edit/maintain the relevant parameters:
Here is the CSS necessary to display the image in the
objectin author mode. We would add it to thefieldman_author_styles.cssfile in the template.We would use XSL to transform the object
objectinto the HTML/CSS code necessary to display the dynamic component.