home *** CD-ROM | disk | FTP | other *** search
/ DOKAN 17 / DOKAN17.iso / IE5 / IE_S2.CAB / IE_2.CAB / SHDOCLC.DLL / HTML / ERROR.DLG < prev    next >
Text File  |  1999-03-15  |  5KB  |  175 lines

  1. <HTML id=dlgError STYLE="font-family: MS Sans Serif; font-size: 8pt;
  2. width: 42em; height: 23em">
  3. <HEAD>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <TITLE id=dialogTitle>
  6. Error de secuencia de comandos de Internet Explorer
  7. </TITLE>
  8. <SCRIPT LANGUAGE="JavaScript" defer>
  9. window.onerror = HandleError
  10. function HandleError(message, url, line)
  11. {
  12. var L_Dialog_ErrorMessage = "Error en este dißlogo.";
  13. var L_ErrorNumber_Text = "Error:";
  14. var str = L_Dialog_ErrorMessage + "\n\n" 
  15.  + L_ErrorNumber_Text + line + "\n"
  16.  + message;
  17. alert (str);
  18. window.close();
  19. return true;
  20. }
  21. function loadBdy()
  22. {
  23. var L_ContinueScript_Message = "┐Desea depurar la pßgina actual?";
  24. var objOptions = window.dialogArguments; 
  25. btnNo.onclick = new Function("btnOKClick()");
  26. btnNo.onkeydown = new Function("SwitchFocus()");
  27. btnYes.onclick = new Function("btnYesClick()");
  28. btnYes.onkeydown = new Function("SwitchFocus()");
  29. document.onkeypress = new Function("docKeypress()");
  30. spnLine.innerText  = objOptions.errorLine;
  31. spnCharacter.innerText = objOptions.errorCharacter;
  32. spnError.innerText  = objOptions.errorMessage;
  33. spnCode.innerText  = objOptions.errorCode;
  34. txaURL.innerText  = objOptions.errorUrl;
  35. if (objOptions.errorDebug)
  36. {
  37.  divDebug.innerText = L_ContinueScript_Message;
  38. }
  39. btnYes.focus();
  40. function SwitchFocus()
  41. {
  42. var HTML_KEY_ARROWLEFT = 37;
  43. var HTML_KEY_ARROWDOWN = 40;
  44. var iCode = event.keyCode;
  45. var strSourceID = event.srcElement.id;
  46. if (iCode < HTML_KEY_ARROWLEFT || iCode > HTML_KEY_ARROWDOWN)
  47.  return;
  48. if (strSourceID == "btnYes")
  49. {
  50.  btnNo.focus();
  51. }
  52. else
  53. {
  54.  btnYes.focus();
  55. }
  56. function btnOKClick()
  57. {
  58. window.close();
  59. function btnYesClick()
  60. {
  61. window.returnValue = true;
  62. window.close();
  63. function docKeypress()
  64. {
  65. var L_AffirmativeKeyCodeLowerCase_Number = 121;
  66. var L_AffirmativeKeyCodeUpperCase_Number = 89;
  67. var L_NegativeKeyCodeLowerCase_Number  = 110;
  68. var L_NegativeKeyCodeUpperCase_Number  = 78;
  69. var intKeyCode = window.event.keyCode;
  70. if (intKeyCode == L_AffirmativeKeyCodeLowerCase_Number
  71.  || intKeyCode == L_AffirmativeKeyCodeUpperCase_Number)
  72. {
  73.  btnYesClick();
  74. }
  75. if (intKeyCode == L_NegativeKeyCodeLowerCase_Number
  76.  || intKeyCode == L_NegativeKeyCodeUpperCase_Number)
  77. {
  78.  btnOKClick();
  79. }
  80. </SCRIPT>
  81. </HEAD>
  82. <BODY ID=bdy onLoad="loadBdy()" style="font-family: 'MS Sans Serif';
  83. font-size: 8pt; background: threedface; color: windowtext;" topmargin=0>
  84. <CENTER id=ctrErrorMessage>
  85. <table id=tbl1 cellPadding=3 cellspacing=3 border=0 
  86. style="background: buttonface; font-family: MS Sans Serif; font-size: 8pt;">
  87. <TR>
  88. <TD id=tdImage>
  89. <img id=imgWarning src=warning.gif width=36 height=38 border=0 align=middle>
  90. </TD>
  91. <TD id=tdErrorMessage>
  92. Se ha producido un error en la secuencia de comandos de esta pßgina.
  93. </TD>
  94. </TR>
  95. </TABLE>
  96. </CENTER>
  97. <DIV id=divTop style="background: threedface; font-family: MS Sans Serif; 
  98. font-size: 8pt; margin-left: 1.5em">
  99. <TABLE border=0 id=tbl2
  100. style="background: buttonface; font-family: MS Sans Serif; font-size: 8pt;
  101. margin-left: 1em;">
  102. <TBODY>
  103. <TR valign=top>
  104. <TD id=tdLine nowrap>
  105. Lφnea:    
  106. </TD>
  107. <TD id=tdSpanLine>
  108. <SPAN id=spnLine></SPAN>
  109. </TD>
  110. </TR>
  111. <TR valign=top>
  112. <TD id=tdChar nowrap>
  113. Carßcter:    
  114. </TD>
  115. <TD id=tdSpanCharacter>
  116. <SPAN id=spnCharacter></SPAN>
  117. </TD>
  118. </TR>
  119. <TR valign=top>
  120. <TD id=tdError nowrap>
  121. Error:    
  122. </TD>
  123. <TD id=tdSpanError>
  124. <DIV id=spnError style="background: threedface;
  125. font-family: MS Sans Serif; font-size: 8pt; width: 31em;"></DIV>
  126. </TD>
  127. </TR>
  128. <TR valign=top>
  129. <TD id=tdCode nowrap>
  130. C≤digo:    
  131. </TD>
  132. <TD id=tdSpanCode>
  133. <SPAN id=spnCode></SPAN>
  134. </TD>
  135. </TR>
  136. <TR valign=top>
  137. <TD id=tdURL nowrap>
  138. URL:    
  139. </TD>
  140. <TD id=tdSpanURL>
  141. <TEXTAREA id=txaURL style="font-family: MS Shell Dlg; font-size: 8pt; 
  142. background: buttonface; overflow: hidden; width: 28em; height: 3.9em; 
  143. border: 0px;" readonly wrap=physical tabindex=-1>
  144. </TEXTAREA>
  145. </TD>
  146. </TR>
  147. </TBODY>
  148. </TABLE>
  149. </DIV>
  150. <DIV id=divDebug style="background: threedface; position: absolute;
  151. font-family: MS Sans Serif; font-size: 8pt; top: 17em;
  152. text-align: center; width=100%;">
  153. ┐Desea continuar ejecutando los archivos de comandos de esta pßgina?
  154. </DIV>
  155. <DIV id=divButttons style="background: buttonface; position: absolute;
  156. font-family: MS Sans Serif; font-size: 8pt; top: 14.5em; width: 100%">
  157. <CENTER id=ctrButtons>
  158. <BUTTON ID=btnYes style="font-family: MS Sans Serif; font-size: 8pt;
  159. width: 3.8em; height: 2.2em;" type=submit accesskey=i>
  160. <U id=undYes>S</U>φ
  161. </BUTTON>
  162. <BUTTON ID=btnNo style="font-family: MS Sans Serif; font-size: 8pt;
  163. width: 3.8em; height: 2.2em" type=reset accesskey=d>
  164. <U id=undNo>N</U>o
  165. </BUTTON>
  166. </CENTER>
  167. </DIV>
  168. </BODY>
  169. </HTML>
  170.