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
/
IEERROR.DLG
< prev
next >
Wrap
Text File
|
2001-10-22
|
9KB
|
370 lines
<HTML id=dlgError STYLE="font-family:ms sans serif; font-size:8pt; width:42.0025em; height:17.2em;">
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
<TITLE id=dialogTitle>
Internet Explorer
</TITLE>
<style type="text/css">
p,td,input,button { font:8pt MS Shell Dlg; cursor:default}
body { font:8pt MS Shell Dlg; color: windowtext;
background:menu;}
</style>
<SCRIPT LANGUAGE="JavaScript" defer>
window.onerror = HandleError
document.ondragstart = NoDragging
function NoDragging()
{
window.event.returnValue = false;
}
var g_errList;
var g_detailsPaneOpen;
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 updateTabIndices()
{
if (g_detailsPaneOpen)
{
var nextIndex = 3;
if (!btnPrevErr.disabled)
{
btnPrevErr.tabindex = nextIndex++;
}
if (!btnNextErr.disabled)
{
btnNextErr.tabindex = nextIndex++;
}
chkAlwaysShowErrs.tabindex = nextIndex;
}
else
{
btnPrevErr.tabindex = -1;
btnNextErr.tabindex = -1;
chkAlwaysShowErrs.tabindex = 3;
}
}
function loadBdy()
{
g_errList = window.dialogArguments;
chkAlwaysShowErrs.checked = g_errList.getPerErrorDisplay();
g_errList.setPerErrorDisplay(chkAlwaysShowErrs.checked);
chkAlwaysShowErrs.disabled = g_errList.getAlwaysShowLockState();
g_detailsPaneOpen = g_errList.getDetailsPaneOpen();
assureControlState();
btnOK.onclick = new Function("btnOKClick()");
btnOK.onkeydown = new Function("SwitchFocus()");
btnDetails.onclick = new Function("btnDetailsClick()");
btnDetails.onkeydown = new Function("SwitchFocus()");
btnNextErr.onclick = new Function("btnNextErrClick()");
btnNextErr.onkeydown = new Function("SwitchFocus()");
btnPrevErr.onclick = new Function("btnPrevErrClick()");
btnPrevErr.onkeydown = new Function("SwitchFocus()");
updateErrorInfo();
if (!g_errList.canRetreatError())
{
btnPrevErr.disabled = true;
}
if (!g_errList.canAdvanceError())
{
btnNextErr.disabled = true;
}
btnOK.focus();
}
function updateErrorInfo()
{
spnLine.innerText = g_errList.getErrorLine();
spnCharacter.innerText = g_errList.getErrorChar();
spnCode.innerText = g_errList.getErrorCode();
divError.innerText = g_errList.getErrorMsg();
divURL.innerText = g_errList.getErrorUrl();
}
function SwitchFocus()
{
var HTML_KEY_ARROWLEFT = 37;
var HTML_KEY_ARROWUP = 38;
var HTML_KEY_ARROWRIGHT = 39;
var HTML_KEY_ARROWDOWN = 40;
var iCode = event.keyCode;
var strSourceID = event.srcElement.id;
var fTabForward;
if (iCode < HTML_KEY_ARROWLEFT || iCode > HTML_KEY_ARROWDOWN)
{
return;
}
var fTabForward = iCode == HTML_KEY_ARROWRIGHT ||
iCode == HTML_KEY_ARROWDOWN;
if (g_detailsPaneOpen)
{
if (fTabForward)
{
if (strSourceID == "btnPrevErr")
{
if (!btnNextErr.disabled)
{
btnNextErr.focus();
}
}
else if (strSourceID == "btnOK")
{
btnDetails.focus();
}
else if (strSourceID == "chkAlwaysShowErrs")
{
btnOK.focus();
}
}
else
{
if (strSourceID == "btnNextErr")
{
if (!btnPrevErr.disabled)
{
btnPrevErr.focus();
}
}
else if (strSourceID == "btnDetails")
{
btnOK.focus();
}
else if (strSourceID == "btnOK")
{
chkAlwaysShowErrs.focus();
}
}
}
}
function btnOKClick()
{
g_errList.setPerErrorDisplay(chkAlwaysShowErrs.checked);
g_errList.setDetailsPaneOpen(g_detailsPaneOpen);
window.close();
}
function assureControlState()
{
var L_DetailsExpand_Text = "Zobrazit p<u>o</u>drobnosti >>";
var L_DetailsCollapse_Text = "Skr²t p<u>o</u>drobnosti <<";
if (g_detailsPaneOpen)
{
btnDetails.innerHTML = L_DetailsCollapse_Text;
window.dialogHeight = 27.2;
divDetails.style.display = "";
divButtons2.style.display = "";
trHR.style.display = "";
}
else
{
btnDetails.innerHTML = L_DetailsExpand_Text;
divDetails.style.display = "none";
divButtons2.style.display = "none";
trHR.style.display = "none";
window.dialogHeight = 13.7;
}
}
function btnDetailsClick()
{
g_detailsPaneOpen = !g_detailsPaneOpen;
assureControlState();
if (g_detailsPaneOpen)
{
if (!btnNextErr.disabled)
{
btnNextErr.focus();
}
else if (!btnPrevErr.disabled)
{
btnPrevErr.focus();
}
else
{
btnOK.focus();
}
}
else
{
btnDetails.focus();
}
updateTabIndices();
}
function btnNextErrClick()
{
g_errList.advanceError();
updateErrorInfo();
if (btnPrevErr.disabled)
{
btnPrevErr.disabled = false;
}
if (!g_errList.canAdvanceError())
{
btnNextErr.disabled = true;
btnPrevErr.focus();
}
updateTabIndices();
}
function btnPrevErrClick()
{
g_errList.retreatError();
updateErrorInfo();
if (btnNextErr.disabled)
{
btnNextErr.disabled = false;
}
if (!g_errList.canRetreatError())
{
btnPrevErr.disabled = true;
btnNextErr.focus();
}
updateTabIndices();
}
function BodyOnKeyPress(nCode)
{
if (nCode == 27)
{
window.close();
return;
}
}
</SCRIPT>
</HEAD>
<BODY ID=bdy style="background: threedface" onLoad=loadBdy() onkeydown=BodyOnKeyPress(event.keyCode) onkeypress=BodyOnKeyPress(event.keyCode) topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0>
<table id=tblMain tabindex=-1 cellspacing=0 border=0 style="background:buttonface; border-collapse:collapse; width:26.1em;">
<TR>
<!-- Icon image -->
<TD id=tdIcon valign=top style="padding-left:0.9625em; padding-top:0.9295em; padding-right:0.385em;">
<img id=imgIcon src=warning.gif>
</TD>
<TD style="padding-top:0.5577em;">
<!-- Inner table start -->
<table tabindex=-1 cellspacing=0 border=0 style="background:buttonface; border-collapse:collapse">
<!-- Error message dialog -->
<TR>
<TD id=tdMsg style="padding-left:0.48125em; padding-right:0em">
Na zobrazovanΘ webovΘ strßnce nastaly
potφ₧e, a je proto mo₧nΘ, ₧e nebude zobrazena sprßvn∞ nebo nebude fungovat.
Tuto zprßvu m∙₧ete v budoucnu zobrazit
poklepßnφm na ikonu upozorn∞nφ na stavovΘm °ßdku.
</TD>
</TR>
<!-- Checkbox -->
<TR>
<TD style="padding-top:0.46475em;">
<input id=chkAlwaysShowErrs tabindex=5 accesskey=v type=checkbox>
<label for=chkAlwaysShowErrs id=labelChk>
<u>V</u>₧dy zobrazit tento dialog, pokud strßnka obsahuje chyby
</label>
</TD>
</TR>
<!-- OK button -->
<TR>
<TD id=Buttons align=right style="padding-top:1.20835em;">
<table id=tblMain tabindex=-1 cellspacing=0 border=0 style="background:buttonface; border-collapse:collapse;">
<tr>
<td style="padding-right:0.385em; padding-left:0em">
<button id=btnOK tabindex=1
style="width:8em; height:2.2em;"
type=submit>
OK
</button>
</td>
<td>
<button id=btnDetails tabindex=2
style="width:11.7em; height:2.2em;"
accesskey=o>
Zobrazit po<u>d</u>robnosti >>
</button>
</td>
</tr>
</table>
</TD>
</TR>
</TABLE>
<!-- Inner table end -->
</TD>
</TR>
<!-- HR -->
<TR id=trHR style="display:none;">
<TD colspan=2 style="padding-left:1.155em; padding-top:0.09295em; padding-right:0.28875em;">
<hr>
</TD>
</TR>
</TABLE>
<DIV id=divDetails tabindex=-1 style="border:inset; overflow:auto; position:absolute; background:threedface; font-family:ms sans serif;
font-size:8pt; top:12.0em; width:37.9em; height:9.7em; margin-left:1.155em; margin-right: 0em; display:none">
<TABLE id=tbl2 tabindex=-1 cellspacing=0 border=0 style="border-collapse:collapse; background:buttonface; font-family:ms sans serif;
font-size:8pt;">
<TBODY>
<TR valign=top>
<TD id=tdLine nowrap style="padding-top:0.3718em; padding-left:0.48125em; padding-right:0em">
╪ßdek:
</TD>
<TD id=tdSpanLine style="padding-top:0.46475em;">
<SPAN id=spnLine></SPAN>
</TD>
</TR>
<TR valign=top>
<TD id=tdChar nowrap style="padding-left:0.48125em; padding-right:0em">
Znak:
</TD>
<TD id=tdSpanCharacter>
<SPAN id=spnCharacter></SPAN>
</TD>
</TR>
<TR valign=top>
<TD id=tdError nowrap style="padding-left:0.48125em; padding-right:0em">
Chyba:
</TD>
<TD id=tdSpanError>
<DIV id=divError tabindex=-1 style="background: threedface;
font-family: ms sans serif; font-size:8pt; width:30.1em;"></DIV>
</TD>
</TR>
<TR valign=top>
<TD id=tdCode nowrap style="padding-left:0.48125em; padding-right:0em">
K≤d:
</TD>
<TD id=tdSpanCode>
<SPAN id=spnCode></SPAN>
</TD>
</TR>
<TR valign=top>
<TD id=tdURL nowrap style="padding-left:0.48125em; padding-right:0em; padding-bottom:0.09295em;">
Adresa URL:
</TD>
<TD id=tdSpanURL>
<DIV id=divURL tabindex=-1 style="background:threedface; font-family:ms sans serif; font-size:8pt; width:30.1em;"></DIV>
</TEXTAREA>
</TD>
</TR>
</TBODY>
</TABLE>
</DIV>
<DIV id=divButtons2 tabindex=-1 align=right style="background:buttonface; position:absolute; font-family:ms sans serif; font-size:8pt; top:22.1em;
width:38em; margin-left:1.155em; margin-right:0em; display:none">
<table id=tblMain tabindex=-1 cellspacing=0 border=0 style="background:buttonface; border-collapse:collapse;">
<tr>
<td style="padding-right:0.385em; padding-left:0em">
<button id=btnPrevErr tabindex=3 type=reset accesskey=P
style="font-family: ms sans serif; font-size:8pt; width:8em; height:2.2em;">
<u>P</U>°edchozφ
</button>
</td>
<td>
<button id=btnNextErr tabindex=4 type=reset accesskey=D
style="font-family: ms sans serif; font-size:8pt; width:8em; height:2.2em;">
<u>D</U>alÜφ
</button>
</td>
</tr>
</table>
</DIV>
</BODY>
</HTML>