Skip to content

Support grams applet #121

@IanMayo

Description

@IanMayo

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions