home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Novinky
/
msie
/
Setup
/
IEMIL_3.CAB
/
SHDOCLC.DLL
/
HTML
/
ERROR.DLG
< prev
next >
Wrap
Text File
|
2001-10-22
|
5KB
|
176 lines
<HTML id=dlgError STYLE="font-family: ms sans serif; font-size: 8pt;
width: 42em; height: 27em">
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
<TITLE id=dialogTitle>
Chyba skriptu aplikace Internet Explorer
</TITLE>
<SCRIPT LANGUAGE="JavaScript" defer>
window.onerror = HandleError
function HandleError(message, url, line)
{
var L_Dialog_ErrorMessage = "Vátomto dialogovΘm okn∞ doÜlo káchyb∞.";
var L_ErrorNumber_Text = "Chyba: ";
var str = L_Dialog_ErrorMessage + "\n\n"
+ L_ErrorNumber_Text + line + "\n"
+ message;
alert (str);
window.close();
return true;
}
function loadBdy()
{
var L_ContinueScript_Message = "Chcete ladit aktußlnφ strßnku?";
var objOptions = window.dialogArguments;
btnNo.onclick = new Function("btnOKClick()");
btnNo.onkeydown = new Function("SwitchFocus()");
btnYes.onclick = new Function("btnYesClick()");
btnYes.onkeydown = new Function("SwitchFocus()");
document.onkeypress = new Function("docKeypress()");
spnLine.innerText = objOptions.errorLine;
spnCharacter.innerText = objOptions.errorCharacter;
spnError.innerText = objOptions.errorMessage;
spnCode.innerText = objOptions.errorCode;
txaURL.innerText = objOptions.errorUrl;
if (objOptions.errorDebug)
{
divDebug.innerText = L_ContinueScript_Message;
}
btnYes.focus();
}
function SwitchFocus()
{
var HTML_KEY_ARROWLEFT = 37;
var HTML_KEY_ARROWDOWN = 40;
var iCode = event.keyCode;
var strSourceID = event.srcElement.id;
if (iCode < HTML_KEY_ARROWLEFT || iCode > HTML_KEY_ARROWDOWN)
return;
if (strSourceID == "btnYes")
{
btnNo.focus();
}
else
{
btnYes.focus();
}
}
function btnOKClick()
{
window.close();
}
function btnYesClick()
{
window.returnValue = true;
window.close();
}
function docKeypress()
{
var L_AffirmativeKeyCodeLowerCase_Number = 121;
var L_AffirmativeKeyCodeUpperCase_Number = 89;
var L_NegativeKeyCodeLowerCase_Number = 110;
var L_NegativeKeyCodeUpperCase_Number = 78;
var intKeyCode = window.event.keyCode;
if (intKeyCode == L_AffirmativeKeyCodeLowerCase_Number
|| intKeyCode == L_AffirmativeKeyCodeUpperCase_Number)
{
btnYesClick();
}
if (intKeyCode == L_NegativeKeyCodeLowerCase_Number
|| intKeyCode == L_NegativeKeyCodeUpperCase_Number)
{
btnOKClick();
}
}
</SCRIPT>
</HEAD>
<BODY ID=bdy onLoad="loadBdy()" style="font-family: 'ms sans serif';
font-size: 8pt; background: threedface; color: windowtext;" topmargin=0>
<CENTER id=ctrErrorMessage>
<table id=tbl1 cellPadding=3 cellspacing=3 border=0
style="background: buttonface; font-family: ms sans serif; font-size: 8pt;">
<TR>
<TD id=tdImage>
<img id=imgWarning src=warning.gif width=36 height=38 border=0 align=middle>
</TD>
<TD id=tdErrorMessage>
Ve skriptu na tΘto strßnce doÜlo k chyb∞.
</TD>
</TR>
</TABLE>
</CENTER>
<DIV id=divTop style="background: threedface; font-family: ms sans serif;
font-size: 8pt; margin-left: 1.5em">
<TABLE border=0 id=tbl2
style="background: buttonface; font-family: ms sans serif; font-size: 8pt;
margin-left: 1em;">
<TBODY>
<TR valign=top>
<TD id=tdLine nowrap>
╪ßdek:
</TD>
<TD id=tdSpanLine>
<SPAN id=spnLine></SPAN>
</TD>
</TR>
<TR valign=top>
<TD id=tdChar nowrap>
Znak:
</TD>
<TD id=tdSpanCharacter>
<SPAN id=spnCharacter></SPAN>
</TD>
</TR>
<TR valign=top>
<TD id=tdError nowrap>
Chyba:
</TD>
<TD id=tdSpanError>
<DIV id=spnError style="background: threedface;
font-family: ms sans serif; font-size: 8pt; width: 31em;"></DIV>
</TD>
</TR>
<TR valign=top>
<TD id=tdCode nowrap>
K≤d:
</TD>
<TD id=tdSpanCode>
<SPAN id=spnCode></SPAN>
</TD>
</TR>
<TR valign=top>
<TD id=tdURL nowrap>
URL:
</TD>
<TD id=tdSpanURL>
<TEXTAREA id=txaURL style="font-family: MS Shell Dlg; font-size: 8pt;
background: buttonface; overflow: hidden; width: 28em; height: 3.9em;
border: 0px;" readonly wrap=physical tabindex=-1>
</TEXTAREA>
</TD>
</TR>
</TBODY>
</TABLE>
</DIV>
<DIV id=divDebug style="background: threedface; position: absolute;
font-family: ms sans serif; font-size: 8pt; top: 17em;
text-align: center; width=100%;">
Chcete na tΘto strßnce i nadßle spouÜt∞t skripty?
</DIV>
<DIV id=divButttons style="background: buttonface; position: absolute;
font-family: ms sans serif; font-size: 8pt; top: 20em; width: 100%">
<CENTER id=ctrButtons>
<BUTTON ID=btnYes style="font-family: ms sans serif; font-size: 8pt;
width: 3.8em; height: 2.2em;" type=submit accesskey=a>
<U id=undYes>A</U>no
</BUTTON>
<BUTTON ID=btnNo style="font-family: ms sans serif; font-size: 8pt;
width: 3.8em; height: 2.2em" type=reset accesskey=n>
<U id=undNo>N</U>e
</BUTTON>
</CENTER>
</DIV>
</BODY>
</HTML>