<div>
<iframe
id="appletIFrame"
src="/applet/SitePages/author-component/author-component-dita.aspx"
width="800px" height="850px">
</iframe>
<script type="text/JavaScript">
function openInAuthor(itemUrl) {
var appletFrame = document.getElementById("appletIFrame");
var appletWin = appletFrame.contentWindow;
appletWin.openListItemInAuthor(itemUrl);
}
</script>
</div>
The
above HTML fragment contains an IFrame that points to the page where the
Java applet resides. Replace the value of the src attribute with the path
of the author-component-dita.aspx HTML page that you added earlier to
the SitePages folder;