Hello everyone!

I'm using the 1.25.01 release of DynAPI 2.  I'm having a very odd problem
with NS4.5 where the source code disappears from the View Source option -
but only when I use the DynAPI.include() method.  It's very odd to say the
least.  I've included the source code from IE5 and NS4.5.  Does anyone know
why this might be happening?

Funny thing is I use the same *exact* code on other pages and it works fine
accross the board.  It's probably something else in my code, eh?

Thanks for any advice.

- Abre


<html>
<head>
<title>Assessment Review</title>
<STYLE type="text/css">
.columntext { font-size:10pt; font-family:; font-family: Helvetica; }
.columntitle { font-size:12pt; font-family:; font-family: Helvetica; font-weight:bold; 
}
.glossaryicontitle { font-size:12pt; font-family: Helvetica; font-weight:bold; 
color:#808080 }
.glossarytext { font-size:10pt; font-family: Arial; }
.glossarytitle { font-size:12pt; font-family: Helvetica; font-weight:bold; }
.imagecaption { font-size:8pt SF SmallVGA }
.imagetext { font-size:10pt; font-family: Helvetica; }
.imagetitle { font-size:12pt; font-family: Helvetica; font-weight: bold; }
.listtext { font-size:10pt; font-family: Helvetica; }
.maintext { font-size:12pt helvetica; }
.notetext { font-size:10pt; font-family: Arial; }
.notetitle { font-size:12pt; font-family: Helvetica; font-weight:bold; }
.noticontitle { font-size:12pt; font-family: Arial; font-weight:bold; color:#808080 }
.parameterdesctext { font-size:10pt; font-family: Helvetica; }
.parametertext { font-family: Courier New; font-size: 10pt; }
.parametertitle { font-size:12pt; font-family: Helvetica; font-weight: bold; }
.questionanswer { font-size:10pt; font-family: Helvetica; }
.questiontext { font-size:10pt; font-family: Helvetica; background-color: #FFFFCC; 
layer-background-color: #FFFFCC; }
.quotesubtext { font-size:8pt; font-family: Helvetica; }
.quotetext { font-size:10pt; font-family: Helvetica; }
.referencedesctext { font-size:10pt; font-family: Helvetica; }
.referencelabeltext { font-size:12pt; font-family: Helvetica; }
.slideshowcounter { font-size:10pt; font-family: Helvetica; width:50px; 
text-align:center; }
.slideshowtext { font-size:10pt; font-family:; font-family: Helvetica; 
background-color: #FFFFCC; }
.subtitle { font-size:12pt; font-family: Helvetica; font-weight:bold; color:#000000; }
.summarytext { font-size:10pt; font-family: Helvetica; background-color: #FFFFCC; 
layer-background-color: #FFFFCC; }
.surveylabeltext { font-size:12pt; font-family: Helvetica; font-weight:bold; }
.surveytext { font-size:10pt; font-family: Helvetica; }
.syntaxcommandtext { background-color: #FFFFCC; font-weight: bold;; font-family: 
Courier New; font-size: 10pt; layer-background-color: #FFFFCC; }
.syntaxcommandtitle { font-size:12pt; font-family: Helvetica; font-weight: bold; }
.syntaxdesctext { font-size:10pt; font-family: Helvetica; background-color: #FFFFCC; 
layer-background-color: #FFFFCC; }
.tabletext { font-size:10pt; font-family: Helvetica; }
.tabletitle { font-size:12pt; font-family: Helvetica; font-weight: bold; 
background-color: #FFFFCC; layer-background-color: #FFFFCC; }
.tipicontitle { font-size:12pt; font-family: Arial; font-weight:bold; color:#808080 }
.tiptext { font-size:10pt; font-family: Arial; }
.tiptitle { font-size:12pt; font-family: Helvetica; font-weight:bold; }
.title { font-size:14pt; font-family: Helvetica; font-weight:bold; }
</STYLE>

 <SCRIPT language=JavaScript> 
   function NewPage(TopicID,survey) { 
   sururl=""
 if (survey){sururl="&survey=true";}else{sururl="&survey=false";}      url = 
"../lo/LObody.stm?topicID=" +TopicID+ "&DocMode=NEWPAGE"+sururl; 
      popup = 
window.open(url,"TopicWin","scrollbars=yes,width=638,height=480,top=1,left=1,resizable=yes");
 
      if (popup.opener == null) popup.opener = window; 
      popup.focus(); 
   } 

   function NewContent(ContentID) { 
      url = "../lo/NewBody.stm?ContentID=" + ContentID+"&DocMode=NEWPAGE"; 
      popup = 
window.open(url,"ContentWin","scrollbars=yes,width=638,height=480,top=1,left=1,resizable=yes");
 
      if (popup.opener == null) popup.opener = window; 
      popup.focus(); 
   } 

   function NewExternalContent(oID,object_level,parent_id) {
      winExternal = 
"../portal/category/initexternal.ssc?oID="+oID+"&object_level="+object_level+"&object_id="+parent_id;
      
window.open(winExternal,oID,"resizable=yes,scrollbars=yes,location=1,directories=0,menubar=1,toolbar=1");
   }
   function NewExternalLink(URL,object_level,parent_id) {
      winExternal = 
"../lo/scripts/externallinklog.ssc?theURL="+URL+"&theID="+parent_id+"&level="+object_level;
      
window.open(winExternal,parent_id,"resizable=yes,scrollbars=yes,location=1,directories=0,menubar=1,toolbar=1");
   }
   function NewPrescription(assess_id,object_id,StudentAssessID,objecttype_id,level) {
      winAssessment = 
"../lo/assessment_prescription.stm?assess_id="+assess_id+"&object_id="+object_id+"&StudentAssessID="+StudentAssessID+"&objecttype_id="+objecttype_id+"&level="+level;
      
window.open(winAssessment,assess_id,"height=600,width=900,location=no,menubar=no,scrollbars=yes,left=0,top=0,toolbar=no,status=no,resizable=yes");
   }
   function NewAssessment(aID,objectID,objectTypeID,level) {
      winAssessment = 
"../lo/BuildAssessment.stm?assessID="+aID+"&objectID="+objectID+"&objectTypeID="+objectTypeID+"&level="+level;
      
window.open(winAssessment,aID,"height=600,width=900,location=no,menubar=no,scrollbars=yes,left=0,top=0,toolbar=no,status=no,resizable=yes");
   }
</SCRIPT> 

<script language="javascript">
  function cleanUp() {
    if (window.popup) {
      popup.close();
    }
  }
</script>
<script language="JavaScript" src="scripts/dynapi/src/dynapi.js"></script>
<script language="JavaScript">
DynAPI.setLibraryPath('scripts/dynapi/src/lib/')
DynAPI.include('dynapi.api.*')
DynAPI.include('dynapi.ext.inline.js')
DynAPI.include('dynapi.util.thread.js')
DynAPI.include('dynapi.util.pathanim.js')
DynAPI.onLoad=function() {
initDragDrop136314882(this.document.all['dragbase136314882'],this.document.all['tries136314882']);;

}
DynAPI.onResize=function() {
  if (is.ns4) {
    if (this.loaded) DynAPI.document.deleteAllChildren();
      top.frames['menu'].location.reload();
      top.frames['topiclist'].location.reload();
      top.frames['content'].location.reload();
    }
}
DynAPI.onUnload=function() {
  if (this.loaded) DynAPI.document.deleteAllChildren();
}
</script>
<style type="text/css">
 .trycounter  {font-size:10pt; font-family: "arial"; width:200px; text-align:left; }
</style>
<script language="Javascript" src="scripts/os_dragdrop.js"></script>
<script language="Javascript" src="scripts/questions.js"></script>
<script language="javascript">
var Correctfdbk136314882   = "Correct!";
var Incorrectfdbk136314882 = "Incorrect!";
var NumLinks136314882 = 1;
var CurHint136314882 = 0;
var Hints136314882 = 0;
var hintArray136314882 = new Array();
function initDragDrop136314882(base,tryCnt) {
  aryDrags136314882 = new Array();
  aryDrags136314882[2] = 
'410,5,104,128,15,13,233,133,"two",false,"../common/getmedia.ssc?id=136314826"';
  aryDrags136314882[1] = 
'410,143,120,54,21,145,191,58,"one",false,"../common/getmedia.ssc?id=136314818"';
  aryDrags136314882[3] = 
'410,207,96,48,0,0,0,0,"distractor",true,"../common/getmedia.ssc?id=136314828"';
  aryDrags136314882[5] = 
'410,265,128,124,0,0,0,0,"distractor",true,"../common/getmedia.ssc?id=136314821"';
  aryDrags136314882[4] = 
'410,399,80,128,0,0,0,0,"distractor",true,"../common/getmedia.ssc?id=136314820"';
  dragdrop136314882 = new osDragDrop('136314882',base,tryCnt,aryDrags136314882,2,400);
}
link136314882Array = new Array(1);
link136314882Array[0] = link1136314882Obj = new linkObj("link1136314882",136314882,"<a 
href='http://www.google.com' target='OutPortal'>google</a>",1);
CkMark = new Image(); 
CkMark.src = "../themes/outstart/check.gif"; 
XMark = new Image(); 
XMark.src = "../themes/outstart/check_x.gif"; 
Blank = new Image(); 
Blank.src = "../themes/thumb_clear.gif";
</script>

</HEAD>
<BODY class='contentbody' onResize="if (DynAPI) DynAPI.onResize();">
<A name="C136314882"></a><span class="title">Draggin and droppin</span><hr width="600" 
align="left" noshade></hr>
<table border="0" cellpadding="1" cellspacing="1" width="600"><tr><td>
<table align="center" border="0" cellpadding="1" cellspacing="1" width="90%">
<TR><td valign="top"><img SRC="../themes/outstart/qcolon.gif"></td>
<TD width=100% class="questiontext">&nbsp;this is the text and it rocks! <a 
href="javascript:alert('y');" onClick="alert('x');return false;">text</a></TD></TR>
<TR><TD colspan="2">&nbsp;</td></tr>
</table></td></tr></table>
<table border="0" width="559"><tr><td>&nbsp;</td></tr></table>
<DIV style="position:absolute;left:437; width:148px; height:537; 
border-left-width:1px; 
border-left-style:solid;border-color:#cccccc;border-top-width:1px; 
border-top-style:solid;"><img src="../themes/thumb_clear.gif" WIDTH="1" 
HEIGHT="532"></DIV>
<DIV ID="dragbase136314882" 
style="position:absolute;left:31;width:558;height:532;border-style:none;border-width:1px;border-color:#000000;padding:0px;margin:0px;">
  <IMG class="dragbaseimage" NAME="IMGdd_duplex_base" 
SRC="../common/getmedia.ssc?id=136314824" WIDTH="400" HEIGHT="312" alt="Drag Drop 
136314882 Base Image" border="0"></DIV>
<table border="0" width="100%" height="542"><tr><td>&nbsp;</td></tr></table>
<div id="tries136314882" style="position:absolute;left:40px;"><span 
class="trycounter">Tries Remaining: 2</span></div>
<center>
  <form name="controls136314882">
    <input type="button" value="Check" onclick="dragdrop136314882.check()">
    <input type="button" value="Reset" onclick="dragdrop136314882.reset()">
  </form>
</center>
<br><table width="100%"><tr><td align="center">
<FORM id="popform">
<INPUT value="Close" id="INPUT1" onclick="javascript:self.close(); 
window.opener.focus(); " type="button" align="top">
</FORM>
</td></tr></table>

<table width=600 cellpadding="0" cellspacing="0" border="0">
<tr>
<td bgcolor="#000000" height="4" colspan="2"><SPACER type = "block" width = "1" height 
= "4"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="5" width=600">
  <tr>
      <td><font size="-3" face="Arial">Copyright Outstart, Inc. <br>and its content 
providers<br>Powered by OutStart EvolutionT<br> 1.62 beta 7 - DB# 65</font></td>
  </tr>
</table>

</BODY>
</HTML>
<BASE HREF="http://birdman/162/lo/">
<html>
<head>
<title>Assessment Review</title>
<STYLE type="text/css">
.columntext { font-size:10pt; font-family:; font-family: Helvetica; }
.columntitle { font-size:12pt; font-family:; font-family: Helvetica; font-weight:bold; 
}
.glossaryicontitle { font-size:12pt; font-family: Helvetica; font-weight:bold; 
color:#808080 }
.glossarytext { font-size:10pt; font-family: Arial; }
.glossarytitle { font-size:12pt; font-family: Helvetica; font-weight:bold; }
.imagecaption { font-size:8pt SF SmallVGA }
.imagetext { font-size:10pt; font-family: Helvetica; }
.imagetitle { font-size:12pt; font-family: Helvetica; font-weight: bold; }
.listtext { font-size:10pt; font-family: Helvetica; }
.maintext { font-size:12pt helvetica; }
.notetext { font-size:10pt; font-family: Arial; }
.notetitle { font-size:12pt; font-family: Helvetica; font-weight:bold; }
.noticontitle { font-size:12pt; font-family: Arial; font-weight:bold; color:#808080 }
.parameterdesctext { font-size:10pt; font-family: Helvetica; }
.parametertext { font-family: Courier New; font-size: 10pt; }
.parametertitle { font-size:12pt; font-family: Helvetica; font-weight: bold; }
.questionanswer { font-size:10pt; font-family: Helvetica; }
.questiontext { font-size:10pt; font-family: Helvetica; background-color: #FFFFCC; 
layer-background-color: #FFFFCC; }
.quotesubtext { font-size:8pt; font-family: Helvetica; }
.quotetext { font-size:10pt; font-family: Helvetica; }
.referencedesctext { font-size:10pt; font-family: Helvetica; }
.referencelabeltext { font-size:12pt; font-family: Helvetica; }
.slideshowcounter { font-size:10pt; font-family: Helvetica; width:50px; 
text-align:center; }
.slideshowtext { font-size:10pt; font-family:; font-family: Helvetica; 
background-color: #FFFFCC; }
.subtitle { font-size:12pt; font-family: Helvetica; font-weight:bold; color:#000000; }
.summarytext { font-size:10pt; font-family: Helvetica; background-color: #FFFFCC; 
layer-background-color: #FFFFCC; }
.surveylabeltext { font-size:12pt; font-family: Helvetica; font-weight:bold; }
.surveytext { font-size:10pt; font-family: Helvetica; }
.syntaxcommandtext { background-color: #FFFFCC; font-weight: bold;; font-family: 
Courier New; font-size: 10pt; layer-background-color: #FFFFCC; }
.syntaxcommandtitle { font-size:12pt; font-family: Helvetica; font-weight: bold; }
.syntaxdesctext { font-size:10pt; font-family: Helvetica; background-color: #FFFFCC; 
layer-background-color: #FFFFCC; }
.tabletext { font-size:10pt; font-family: Helvetica; }
.tabletitle { font-size:12pt; font-family: Helvetica; font-weight: bold; 
background-color: #FFFFCC; layer-background-color: #FFFFCC; }
.tipicontitle { font-size:12pt; font-family: Arial; font-weight:bold; color:#808080 }
.tiptext { font-size:10pt; font-family: Arial; }
.tiptitle { font-size:12pt; font-family: Helvetica; font-weight:bold; }
.title { font-size:14pt; font-family: Helvetica; font-weight:bold; }
</STYLE>

 <SCRIPT language=JavaScript>

 
   function NewPage(TopicID,survey) { 
   sururl=""
 if (survey){sururl="&survey=true";}else{sururl="&survey=false";}      url = 
"../lo/LObody.stm?topicID=" +TopicID+ "&DocMode=NEWPAGE"+sururl; 
      popup = 
window.open(url,"TopicWin","scrollbars=yes,width=638,height=480,top=1,left=1,resizable=yes");
 
      if (popup.opener == null) popup.opener = window; 
      popup.focus(); 
   } 

   function NewContent(ContentID) { 
      url = "../lo/NewBody.stm?ContentID=" + ContentID+"&DocMode=NEWPAGE"; 
      popup = 
window.open(url,"ContentWin","scrollbars=yes,width=638,height=480,top=1,left=1,resizable=yes");
 
      if (popup.opener == null) popup.opener = window; 
      popup.focus(); 
   } 

   function NewExternalContent(oID,object_level,parent_id) {
      winExternal = 
"../portal/category/initexternal.ssc?oID="+oID+"&object_level="+object_level+"&object_id="+parent_id;
      
window.open(winExternal,oID,"resizable=yes,scrollbars=yes,location=1,directories=0,menubar=1,toolbar=1");
   }
   function NewExternalLink(URL,object_level,parent_id) {
      winExternal = 
"../lo/scripts/externallinklog.ssc?theURL="+URL+"&theID="+parent_id+"&level="+object_level;
      
window.open(winExternal,parent_id,"resizable=yes,scrollbars=yes,location=1,directories=0,menubar=1,toolbar=1");
   }
   function NewPrescription(assess_id,object_id,StudentAssessID,objecttype_id,level) {
      winAssessment = 
"../lo/assessment_prescription.stm?assess_id="+assess_id+"&object_id="+object_id+"&StudentAssessID="+StudentAssessID+"&objecttype_id="+objecttype_id+"&level="+level;
      
window.open(winAssessment,assess_id,"height=600,width=900,location=no,menubar=no,scrollbars=yes,left=0,top=0,toolbar=no,status=no,resizable=yes");
   }
   function NewAssessment(aID,objectID,objectTypeID,level) {
      winAssessment = 
"../lo/BuildAssessment.stm?assessID="+aID+"&objectID="+objectID+"&objectTypeID="+objectTypeID+"&level="+level;
      
window.open(winAssessment,aID,"height=600,width=900,location=no,menubar=no,scrollbars=yes,left=0,top=0,toolbar=no,status=no,resizable=yes");
   }

</SCRIPT> 

<script language="javascript">

  function cleanUp() {
    if (window.popup) {
      popup.close();
    }
  }

</script>
<script language="JavaScript" src="scripts/dynapi/src/dynapi.js">

</script>

<STYLE type="text/css">
 .trycounter  {font-size:10pt; font-family: "arial"; width:200px; text-align:left; }
</STYLE>




</HEAD>
<BODY class='contentbody' onResize="if (DynAPI) DynAPI.onResize();">
<A name="C136314882"></A><SPAN class="title">Draggin and droppin</SPAN><HR width="600" 
align="left" noshade></HR>
<TABLE border="0" cellpadding="1" cellspacing="1" width="600"><TR><TD>
<TABLE align="center" border="0" cellpadding="1" cellspacing="1" width="90%">
<TR><TD valign="top"><IMG SRC="../themes/outstart/qcolon.gif"></TD>
<TD width=100% class="questiontext"> this is the text and it rocks! <A 
href="javascript:alert('y');" onClick="alert('x');return false;">text</A></TD></TR>
<TR><TD colspan="2"> </TD></TR>
</TABLE></TD></TR></TABLE>
<TABLE border="0" width="559"><TR><TD> </TD></TR></TABLE>
<DIV style="position:absolute;left:437; width:148px; height:537; 
border-left-width:1px; 
border-left-style:solid;border-color:#cccccc;border-top-width:1px; 
border-top-style:solid;"><DIV Ttyle="position:absolute;left:437; width:148px; 
height:537; border-left-width:1px; 
border-left-style:solid;border-color:#cccccc;border-top-width:1px; 
border-top-style:solid;"><IMG src="../themes/thumb_clear.gif" WIDTH="1" 
HEIGHT="532"></DIV>
<DIV ID="dragbase136314882" 
style="position:absolute;left:31;width:558;height:532;border-style:none;border-width:1px;border-color:#000000;padding:0px;margin:0px;"><DIV
 ID="dragbase136314882" 
Ttyle="position:absolute;left:31;width:558;height:532;border-style:none;border-width:1px;border-color:#000000;padding:0px;margin:0px;">
  <IMG class="dragbaseimage" NAME="IMGdd_duplex_base" 
SRC="../common/getmedia.ssc?id=136314824" WIDTH="400" HEIGHT="312" alt="Drag Drop 
136314882 Base Image" border="0"></DIV>
<TABLE border="0" width="100%" height="542"><TR><TD> </TD></TR></TABLE>
<DIV id="tries136314882" style="position:absolute;left:40px;"><DIV id="tries136314882" 
Ttyle="position:absolute;left:40px;"><SPAN class="trycounter">Tries Remaining: 
2</SPAN></DIV>
<CENTER>
  <FORM name="controls136314882">
    <INPUT type="button" value="Check" onclick="dragdrop136314882.check()">
    <INPUT type="button" value="Reset" onclick="dragdrop136314882.reset()">
  </FORM>
</CENTER>
<BR><TABLE width="100%"><TR><TD align="center">
<FORM id="popform">
<INPUT value="Close" id="INPUT1" onclick="javascript:self.close(); 
window.opener.focus(); " type="button" align="top">
</FORM>
</TD></TR></TABLE>

<TABLE width=600 cellpadding="0" cellspacing="0" border="0">
<TR>
<TD bgcolor="#000000" height="4" colspan="2"><SPACER type = "block" width = "1" height 
= "4"></TD>
</TR>
</TABLE>
<TABLE border="0" cellpadding="0" cellspacing="5" width=600">
  <TR>
      <TD><FONT size="-3" face="Arial">Copyright Outstart, Inc. <BR>and its content 
providers<BR>Powered by OutStart EvolutionT<BR> 1.62 beta 7 - DB# 65</FONT></TD>
  </TR>
</TABLE>

</BODY>
</HTML>

Reply via email to