home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Di Gi Charat Mail
/
disc1.iso
/
ie5
/
IENT_S2.CAB
/
IENT_2.CAB
/
SHDOCLC.DLL
/
HTML
/
ORGFAV.DLG
< prev
next >
Wrap
Text File
|
1999-04-01
|
10KB
|
380 lines
<HTML id=dlgOrganizeFavorites STYLE="font-family: MS UI Gothic; font-size: 9pt; width: 41.2em; height: 31.0em">
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
<head>
<style>
.button {color: BUTTONTEXT; font-size: 9pt}
.info {font-size: 9pt; color: WINDOWTEXT}
.btext {color: BUTTONTEXT}
LI {line-height:10pt}
A {text-decoration: none; color: WINDOWTEXT}
</style>
<TITLE id=txtTitleOrgFavsDialog>
é¿ïCé╔ôⁿéΦé╠É«ù¥
</TITLE>
<script>
window.onerror = HandleError;
var g_strUrl;
var g_rgUrlsToSynch = new Array(0);
var g_fSubscriptionsEnabled;
var g_dxEllipses = 0;
var g_dxEllipsesBold = 0;
var L_Ellipses_Text = "...";
function callHelp(elm)
{
if (null != elm.helpid)
{
window.showHelp(elm.helpfile, "" + parseInt(elm.helpid), "popup");
}
else
{
if ("BODY" != elm.tagName)
{
callHelp(elm.parentElement);
}
}
}
document.onhelp = new Function("callHelp(window.event.srcElement)");
function documentMouseUp()
{
if (window.event.button == 2)
{
callHelp(window.event.srcElement);
}
}
document.onmouseup = new Function("documentMouseUp()");
function HandleError(message, url, line)
{
var L_Dialog_ErrorMessage = "é▒é╠â_âCâAâìâOé┼âGâëü[é¬ö¡É╢é╡é▄é╡é╜üB";
var L_ErrorNumber_Text = "âGâëü[: ";
var str = L_Dialog_ErrorMessage + "\n\n"
+ L_ErrorNumber_Text + line + "\n"
+ message;
alert (str);
window.close();
return true;
}
function BodyOnKeyPress(nCode)
{
if (nCode == 27)
{
window.close();
return;
}
}
function MeasureText(strText, fBold, widthMaximum)
{
if (spanMeasure.offsetWidth < widthMaximum)
return strText;
var dxEllipses = (fBold ? g_dxEllipsesBold : g_dxEllipses);
var iCutoff = strText.length * (widthMaximum / (spanMeasure.offsetWidth + dxEllipses));
if (fBold)
{
spanMeasure.innerHTML = "<B>" + strText.substring(0, iCutoff - 1) + L_Ellipses_Text + "</B>"
iCutoff += 3;
}
else
spanMeasure.innerHTML = strText.substring(0, iCutoff - 1) + L_Ellipses_Text;
for (cExtraCutoff = 1; (spanMeasure.offsetWidth > widthMaximum) && (cExtraCutoff < 30); cExtraCutoff++)
{
spanMeasure.innerHTML = spanMeasure.innerHTML.substring(0, iCutoff-cExtraCutoff) + L_Ellipses_Text + (fBold ? "</B>" : "");
}
return spanMeasure.innerHTML;
}
function OnSelectionChange(cItems, hItem, strName, strUrl, cVisits, strDate, fAvailableOffline)
{
if (cItems == -1)
{
BodyOnKeyPress(27);
return;
}
if (cItems == 0)
{
textProperties.innerHTML = "";
return;
}
g_strUrl = strUrl;
if (g_dxEllipses == 0)
{
spanMeasure.innerHTML = L_Ellipses_Text;
g_dxEllipses = spanMeasure.offsetWidth;
spanMeasure.innerHTML = "<B>" + L_Ellipses_Text + "</B>";
g_dxEllipsesBold = spanMeasure.offsetWidth;
}
spanMeasure.innerHTML = "<B>" + strName + "</B>";
strNameShort = MeasureText(spanMeasure.innerText, true, textProperties.offsetWidth - 4);
spanMeasure.innerHTML = strUrl;
strUrlShort = MeasureText(spanMeasure.innerText, false, textProperties.offsetWidth - 4);
spanMeasure.innerHTML = "";
var L_FavoritesFolder_Text = "é¿ïCé╔ôⁿéΦé╠âtâHâïâ_";
var L_ModifiedColon_Text = "ìXÉVô·Ä₧:";
if (cVisits != -1)
{
var strOffline = "";
var L_MakeAvailableOffline_Text = "âIâtâëâCâôé┼Ägùpé╖éΘ(<U>O</U>)";
var L_MakeAvailableOfflineAccesskey_Text = "o";
var L_Properties_Text = "âvâìâpâeâB(<U>P</U>)...";
var L_PropertiesAccesskey_Text = "p";
if (g_fSubscriptionsEnabled && (strUrl.substring(0,4) == "http") )
{
strOffline = "<input type=checkbox align=left TABINDEX=5 ACCESSKEY=" + L_MakeAvailableOfflineAccesskey_Text + " id=chkOffline "
if (fAvailableOffline != 0)
strOffline += "CHECKED"
strOffline += " onclick='ToggleOffline(this)' helpid=50486 helpfile='iexplore.hlp'><LABEL FOR=chkOffline TABINDEX=-1>" + L_MakeAvailableOffline_Text + "</LABEL>";
strOffline += "<BR><BR><BUTTON id=btnProperties TABINDEX=6 style='visibility: "
if (fAvailableOffline != 0)
strOffline += "visible"
else
strOffline += "hidden"
strOffline += "' class=button ACCESSKEY=" + L_PropertiesAccesskey_Text + " onclick='Properties()' helpid=50489 helpfile='iexplore.hlp'>" + L_Properties_Text + "</BUTTON><BR>";
}
var L_TimesVisited_Text = "ò\Īë±Éö: ";
var L_LastVisited_Text = "ì┼ÅIò\Īô·Ä₧: ";
var L_LastVisitedNeedsLineBreak_Text = "";
var strTemp = strName + "\n" + strUrl;
var re = /'/g;
strTemp = strTemp.replace(re, "üL");
textProperties.innerHTML = "<A TITLE='" + strTemp +"'><B>" + strNameShort + "</B><BR>" + strUrlShort + "</A><BR>" + L_TimesVisited_Text + cVisits + "<BR>" + L_LastVisited_Text + L_LastVisitedNeedsLineBreak_Text + strDate + "<BR>" + strOffline;
}
else
{
textProperties.innerHTML = "<B>" + strNameShort + "</B><BR>" + L_FavoritesFolder_Text + "<BR><BR>" +
"<B>" + L_ModifiedColon_Text + "</B><BR>" + strDate;
}
tdProperties.noWrap=true;
textProperties.noWrap=true;
}
function EnableButtons()
{
g_fSubscriptionsEnabled = nsc.FOfflinePackInstalled;
var pszInitialDir = window.dialogArguments;
if (pszInitialDir && (pszInitialDir.length > 0))
{
nsc.SetRoot(pszInitialDir);
}
tdNsc.blur();
tdNewFolder.focus();
}
function ToggleOffline(chkOffline)
{
if (chkOffline.checked)
{
if (!nsc.CreateSubscriptionForSelection())
chkOffline.checked = false;
else
{
g_rgUrlsToSynch[g_strUrl] = true;
}
}
else
{
if (!nsc.DeleteSubscriptionForSelection())
chkOffline.checked = true;
else
delete g_rgUrlsToSynch[g_strUrl];
}
btnProperties.style.visibility = (chkOffline.checked ? "visible" : "hidden");
}
function BuildSynchList()
{
window.returnValue = "";
for (strUrl in g_rgUrlsToSynch)
{
window.returnValue += strUrl + "\0";
}
}
function Properties()
{
nsc.InvokeContextMenuCommand("properties");
}
function OnResize()
{
document.recalc(true);
}
function TdNscWidth()
{
return Math.max(0, document.body.offsetWidth - tableButtons.offsetWidth - (tableMain.border * 3) - (2 * parseInt(tdNsc.style.borderWidth)) - 6);
}
function TdPropertiesHeight()
{
return Math.max(0, document.body.offsetHeight - (tableMain.border * 2) - tdProperties.offsetTop - tdDone.offsetHeight - 8);
}
</script>
</HEAD>
<body style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; background: threedface; align: center"
scroll="no" onkeydown="BodyOnKeyPress(event.keyCode)" onkeypress="BodyOnKeyPress(event.keyCode)" onload="EnableButtons()" onunload="BuildSynchList()" onresize="OnResize()">
<table id=tableMain cols=3 border=10 bordercolor=THREEDFACE>
<TR id=mainrow>
<TD valign=top id=infotext class=info>
ÉVé╡éóâtâHâïâ_é≡ì∞ɼé╖éΘé╔é═üA[âtâHâïâ_é╠ì∞ɼ] â{â^âôé≡âNâèâbâNé╡é─é¡é╛é│éóüBìÇû┌é╠û╝æOé≡ò╧ìXé▄é╜é═ìφÅ£é╖éΘé╔é═üAìÇû┌é≡æIæ≡é╡é─é⌐éτ [û╝æOé╠ò╧ìX] â{â^âôüAé▄é╜é═ [ìφÅ£] â{â^âôé≡âNâèâbâNé╡é─é¡é╛é│éóüB
</TD>
<TD id=tdColSpacing width=0>
</TD>
<TD id=tdNscHolder rowspan=3>
<TABLE cols=1 width=100% height=100%>
<TD id=tdNsc style="border:2px inset WINDOW;">
<object id=nsc TABINDEX=10 title="é¿ïCé╔ôⁿéΦé╠êΩùù" accesskey="t" CLASSID='clsid:55136805-B2DE-11D1-B9F2-00A0C98BC547' onkeypress="BodyOnKeyPress(event.keyCode)" HEIGHT=100% WIDTH=100% helpid=50490 helpfile="iexplore.hlp"></OBJECT>
</TD>
</TABLE>
</TD>
</TR>
<TR id=rowButtons>
<TD>
<table id=tableButtons cols=2 width=200>
<tr height=20>
<TD align=center width=50%>
<BUTTON id=tdNewFolder TABINDEX=1 style="width: 9em;" ACCESSKEY=c class=button onclick="nsc.NewFolder(); event.returnValue = false" helpid=50484 helpfile="iexplore.hlp">
âtâHâïâ_é╠ì∞ɼ(<U>C</U>)
</BUTTON>
</TD>