home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kompuutteri Kaikille K-CD 2001 #4
/
K-CD_2001-04.iso
/
Explorer5
/
DA
/
IE_S2.CAB
/
IE_2.CAB
/
SHDOCLC.DLL
/
HTML
/
IEERROR.DLG
< prev
next >
Wrap
Text File
|
2000-11-15
|
10KB
|
368 lines
<HTML id=dlgError STYLE="font-family:ms sans serif; font-size:8pt; width:41.0025em; height:13.7em;">
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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 = "Der opstod en fejl i denne dialogboks.";
var L_ErrorNumber_Text = "Fejl: ";
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 = "Vis <u>d</u>etaljer >>";
var L_DetailsCollapse_Text = "Skjule <u>d</u>etaljer <<";
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">
Problemer med denne Webside kan forhindre den
i at blive vist korrekt eller fungere korrekt. Fremover
kan du fσ vist denne meddelelse ved at dobbeltklikke pσ
det advarselsikon, der vises pσ statuslinjen.
</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>is altid denne meddelelse, nσr en side indeholder fejl.
</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:8em; height:2.2em;"
accesskey=d>
Vis <u>d</u>etaljer >>
</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.4553em; width:37.9225em; height:8.1796em; 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">
Linje:
</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">
Tegn:
</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">
Fejl:
</TD>
<TD id=tdSpanError>
<DIV id=divError tabindex=-1 style="background: threedface;
font-family: ms sans serif; font-size:8pt; width:32.1475em;"></DIV>
</TD>
</TR>
<TR valign=top>
<TD id=tdCode nowrap style="padding-left:0.48125em; padding-right:0em">
Kode:
</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;">
URL:
</TD>
<TD id=tdSpanURL>
<DIV id=divURL tabindex=-1 style="background:threedface; font-family:ms sans serif; font-size:8pt; width:32.1475em;"></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:21.1926em;
width:38.01875em; 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=f
style="font-family: ms sans serif; font-size:8pt; width:8em; height:2.2em;">
<u>F</u>orrige
</button>
</td>
<td>
<button id=btnNextErr tabindex=4 type=reset accesskey=n
style="font-family: ms sans serif; font-size:8pt; width:8em; height:2.2em;">
<u>N</u>µste
</button>
</td>
</tr>
</table>
</DIV>
</BODY>
</HTML>