Hi
all,
Has anyone come across the problem of not being able to access the
HTML in a inline layer in NS4. It works in IE and NS6, however in NS4 it seems
to return no content.
Any suggestions ? (Sample code below)
<html>
<head>
<title>DynAPI Examples - ViewPort</title>
<script language="JavaScript" src=""></script>
<script language="Javascript">
DynAPI.setLibraryPath('/include_NGS/src/lib/');
DynAPI.include('dynapi.api.*');
DynAPI.include('dynapi.event.*');
DynAPI.include('dynapi.util.thread.js');
DynAPI.include('dynapi.util.pathanim.js');
DynAPI.include('dynapi.gui.viewport.js');
DynAPI.include('dynapi.gui.label.js');
DynAPI.include('dynapi.ext.inline.js');
</script>
<script language="Javascript">
<head>
<title>DynAPI Examples - ViewPort</title>
<script language="JavaScript" src=""></script>
<script language="Javascript">
DynAPI.setLibraryPath('/include_NGS/src/lib/');
DynAPI.include('dynapi.api.*');
DynAPI.include('dynapi.event.*');
DynAPI.include('dynapi.util.thread.js');
DynAPI.include('dynapi.util.pathanim.js');
DynAPI.include('dynapi.gui.viewport.js');
DynAPI.include('dynapi.gui.label.js');
DynAPI.include('dynapi.ext.inline.js');
</script>
<script language="Javascript">
DynAPI. {
var
divRefContent = this.document.getAll()['refdivContent'];
var strContent = divRefContent.getHTML();
alert(strContent);
var strContent = divRefContent.getHTML();
alert(strContent);
}
</script>
</head>
<body bgcolor="#ffffff">
<div name="refdivContent" id="refdivContent"
style="position:relative; visibility:hidden">
Content to Return in popup dialog
</div>
Content to Return in popup dialog
</div>
</body>
</html>
This message may contain confidential,
proprietary or
legally privileged information and is intended only for
the use of the addressee named above. No confidentiality
or privilege is waived or lost by any mistransmission.
legally privileged information and is intended only for
the use of the addressee named above. No confidentiality
or privilege is waived or lost by any mistransmission.
Any views expressed in this message are
those of the individual
sender, except where the message specifically states otherwise and the
sender is authorized to state them to be the views of true LOGIC.
sender, except where the message specifically states otherwise and the
sender is authorized to state them to be the views of true LOGIC.
