home *** CD-ROM | disk | FTP | other *** search
/ Chip: Shareware for Win 95 / Chip-Shareware-Win95.bin / komunik / ie40 / ie4nt_s2.cab / IE4NT_2.CAB / MSHTML.DLL / 2110 / ERROR.DLG < prev    next >
Encoding:
Text File  |  1997-07-12  |  2.5 KB  |  106 lines

  1. <HTML id=dlgFind STYLE="font-family: ms sans serif; font-size: 8pt;
  2. width: 40em; height: 21.5em">
  3. <HEAD>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <TITLE id=dialogTitle>
  6. Internet Explorer Script Error
  7. </TITLE>
  8. <SCRIPT LANGUAGE="JavaScript" defer>
  9. function loadBdy()
  10. {
  11. var L_ContinueScript_Message = "Do you want to continue running scripts on this page?";
  12. var objOptions = window.dialogArguments; 
  13. btnNo.onclick = new Function("btnOKClick()");
  14. btnYes.onclick = new Function("btnYesClick()");
  15. spnLine.innerText  = objOptions.errorLine;
  16. spnCharacter.innerText = objOptions.errorCharacter;
  17. spnError.innerText  = objOptions.errorMessage;
  18. spnCode.innerText  = objOptions.errorCode;
  19. if (!objOptions.errorDebug)
  20. {
  21.  divDebug.innerText = L_ContinueScript_Message;
  22. }
  23. function btnOKClick()
  24. {
  25. window.close();
  26. function btnYesClick()
  27. {
  28. window.dialogArguments.errorDebug = true;
  29. window.close();
  30. </SCRIPT>
  31. </HEAD>
  32. <BODY ID=bdy onLoad="loadBdy()" style="font-family: 'ms sans serif';
  33. font-size: '8pt'; background: threedface;" topmargin=0>
  34. <table cellPadding=3 cellspacing=3 border=0 id=tbl1 
  35. style="background: buttonface; font-family: ms sans serif; font-size: 8pt;
  36. margin-left: 1.5em">
  37. <TR>
  38. <TD>
  39. <img src=warning.gif width=36 height=38 border=0 align=middle>
  40. </TD>
  41. <TD>
  42. An error has occurred in the script on this page.
  43. </TD>
  44. </TR>
  45. </TABLE>
  46. <TABLE border=0 id=tbl2
  47. style="background: buttonface; font-family: ms sans serif; font-size: 8pt;
  48. margin-left: 3em">
  49. <TR valign=top>
  50. <TD>
  51. Line:    
  52. </TD>
  53. <TD>
  54. <SPAN id=spnLine></SPAN>
  55. </TD>
  56. </TR>
  57. <TR valign=top>
  58. <TD>
  59. Char:    
  60. </TD>
  61. <TD>
  62. <SPAN id=spnCharacter></SPAN>
  63. </TD>
  64. </TR>
  65. <TR valign=top>
  66. <TD>
  67. Error:    
  68. </TD>
  69. <TD>
  70. <SPAN id=spnError></SPAN>
  71. </TD>
  72. </TR>
  73. <TR valign=top>
  74. <TD>
  75. Code:    
  76. </TD>
  77. <TD>
  78. <SPAN id=spnCode></SPAN>
  79. </TD>
  80. </TR>
  81. </TABLE>
  82. <BR>
  83. <DIV id=divDebug style="margin-left: 3.4em">
  84. Do you want to debug the current page?
  85. </DIV>
  86. <BR>
  87. <DIV id=divButttons style="background: buttonface; position: absolute;
  88. font-family: ms sans serif; font-size: 8pt; top: 16em">
  89. <CENTER>
  90. <BUTTON ID=btnYes style="font-family: ms sans serif; font-size: 8pt;
  91. width: 3.8em; height: 2.1294em;" type=submit accesskey=y>
  92. <U>Y</U>es
  93. </BUTTON>
  94.  
  95. <BUTTON ID=btnNo style="font-family: ms sans serif; font-size: 8pt;
  96. width: 3.8em; height: 2.1294em" type=reset accesskey=n>
  97. <U>N</U>o
  98. </BUTTON>
  99. </DIV>
  100. </CENTER>
  101. </BODY>
  102. </HTML>
  103.