📄 about.js
字号:
/*
##############################################
# BigMole Dynamic Discussion Board 2.0 #
# By Emil A Eklund (http://BigMole.5188.org/contact.html#emil) #
# and Erik Arvidson (http://BigMole.5188.org/contact.html#erik) #
# April 24, 1999 #
##############################################
# Feel free to use this script for personal #
# and non-profit organisation's websites, #
# as long as you're giving us credits for it #
# in other words, not removing nur modifying #
# this notice in any of the files it apperes #
##############################################
# For comercial use contact Emil or Erik #
##############################################
This file is for for displaying the About box.
This must be kept intact and available from
the web board
*/
var splashWin;
function showSplash() {
var w = window.screen.width;
var h = window.screen.height;
var str = "<html>";
str += "<head>";
str += "<title>About</title>";
str += "<style type=\"text/css\"> ";
str += "body {border: 1px solid black; background: white; color: black;";
str += " cursor: default; overflow: hidden;}";
str += "#border {border: 18px solid navy;";
str += " position: absolute;";
str += " top: 0; left: 0;";
str += " height: 198; width: 298;";
str += " filter: Alpha(Opacity=100, FinishOpacity=10, Style=1, StartX=0, StartY=0, FinishX=100, FinishY=100, ) ";
str += " } ";
str += "#line1 {position: absolute; top: 53; left: 3; height: 2; width: 255; color: navy;}";
str += "#line2 {position: absolute; top: 88; left: 20; height: 1; width: 205; color: navy;}";
str += "#line3 {position: absolute; top: 89; left: 20; height: 40; width: 1; color: navy;}";
str += "#line4 {position: absolute; top: 53; left: 3; height: 2; width: 255; color: navy;}";
str += "#line5 {position: absolute; top: 53; left: 3; height: 2; width: 255; color: navy;}";
str += " ";
str += "#closeButton {position: absolute;";
str += " top: 2; left: 282; width: 16; height: 16;";
str += " overflow: hidden;";
str += " cursor: default;";
str += " border: 0px solid navy;";
str += " color: white;";
str += " font-family: \"webdings\"; font-size: 12px;}";
str += "#BigMole {position: absolute; top: 20; left: 20; font-family: verdana; font-size: 14px; font-weight: bold; font-style: italic;";
str += " letter-spacing: -1; cursor: hand;}";
str += "#webBoard {position: absolute; top: 28; left: 20; font-family: arial black; font-size: 25px;";
str += " font-weight: bold; font-style: italic; letter-spacing: -2;}";
str += "#version {position: absolute; top: 57; left: 212; font-family: arial; font-size: 10px; font-weight: bold;}";
str += "#mainText {position: absolute; top: 80; left: 25; width: 247;font-family: verdana; font-size: 12px;}";
str += "#eaeName {position: absolute; top: 117; left: 45; width: 190;font-family: verdana; font-size: 12px; cursor: hand;}";
str += "#BigMole2 {position: absolute; top: 145; left: 177; font-family: arial black; font-size: 25px;";
str += " font-weight: bold; font-style: italic; letter-spacing: -2; cursor: hand;}";
str += "</style>";
str += "<script type=\"text/javascript\">";
str += "document.onmouseover = handleOver;";
str += "document.onmouseout = handleOut;";
str += "function handleOver() {";
str += " var toEl = getReal(window.event.toElement, \"tagName\", \"DIV\");";
str += " var fromEl = getReal(window.event.fromElement, \"tagName\", \"DIV\");";
str += " if (toEl == fromEl) return;";
str += " var el = toEl;";
str += " ";
str += " if (el.id == \"closeButton\") {";
str += " with (closeButton.style) {";
str += " color = \"white\";";
str += " background = \"navy\";";
str += " border = \"1px outset white\";";
str += " top = 1;";
str += " left = 281;";
str += " }";
str += " }";
str += " if (el.id == \"BigMole\" || el.id == \"BigMole2\") {";
str += " el.style.textDecoration = \"underline\";";
str += " el.style.color = \"blue\";";
str += " }";
str += " if (el.id == \"eaeName\") {";
str += " el.children[0].style.textDecoration = \"underline\";";
str += " el.children[0].style.color = \"blue\";";
str += " }";
str += " if (el.id == \"BigMole2\") {";
str += " with (BigMole2.style) {";
str += " color = \"white\";";
str += " background = \"navy\";";
str += " border = \"1px outset white\";";
str += " top = 144;";
str += " left = 176;";
str += " }";
str += " }";
str += "}";
str += "function handleOut() {";
str += " var toEl = getReal(window.event.toElement, \"tagName\", \"DIV\");";
str += " var fromEl = getReal(window.event.fromElement, \"tagName\", \"DIV\");";
str += " if (toEl == fromEl) return;";
str += " var el = fromEl;";
str += " ";
str += " if (el.id == \"closeButton\") {";
str += " with (closeButton.style) {";
str += " color = \"white\";";
str += " background = \"\";";
str += " border = \"0px\";";
str += " top = 2;";
str += " left = 282;";
str += " }";
str += " }";
str += " if (el.id == \"BigMole\" || el.id == \"BigMole2\") {";
str += " el.style.textDecoration = \"none\";";
str += " el.style.color = \"black\";";
str += " }";
str += " if (el.id == \"eaeName\") {";
str += " el.children[0].style.textDecoration = \"none\";";
str += " el.children[0].style.color = \"black\";";
str += " }";
str += "}";
str += "function getReal(el, type, value) {";
str += " temp = el;";
str += " while ((temp != null) && (temp.tagName != \"BODY\")) {";
str += " if (eval(\"temp.\" + type) == value) {";
str += " el = temp;";
str += " return el;";
str += " }";
str += " temp = temp.parentElement;";
str += " }";
str += " return el;";
str += "}";
str += "window.setInterval(\"opener.splashWin.focus()\", 500);";
str += "</script>";
str += "</head>";
if (ieVersion() == 4)
str += "<body scroll=no>"; // IE4 doesn't support overflow on body
else
str += "<body>"; // IE5 flickers in the left edge if scroll is et to no
str += "<!--<div id=\"fakeBody\">-->";
str += "<div id=\"border\">";
str += "<hr id=\"line1\">";
str += "<hr id=\"line2\">";
str += "<hr id=\"line3\">";
str += "<hr id=\"line4\">";
str += "<hr id=\"line5\">";
str += "</div>";
str += "<div id=\"closeButton\" onclick=\"window.close()\" title=\"Close\"><span style=\"position: relative; top: -3; left: 1;\">r</span></div>";
str += "<div id=\"webBoard\">Dynamic Webboard</div>";
str += "<div id=\"BigMole\" title=\"BigMole.5188.org\" onclick=\"opener.window.open('http://BigMole.5188.org');\">BigMole</div>";
str += "<div id=\"version\" title=\"25th of Oct 2003\">Version 1.0</div>";
str += "<div id=\"mainText\" nowrap>This Webboard was designed by:</div>";
str += "<div id=\"eaeName\" onclick=\"window.location='mailto:bamboobird" + "@" + "163.com'\"><span>force BigMole </span><span style=\"width: 9px; font-size: 1;\"></span>(bamboobird" + "@" + "163.com)</div>";
str += "<div id=\"BigMole2\" title=\"BigMole.5188.org\" onclick=\"opener.window.open('http://BigMole.5188.org');\">BigMole</div>";
str += "<!--</div>-->";
str += "</body>";
str += "</html>";
str += ""
splashWin = window.open("about:blank", '_splash', 'fullscreen=1,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=0,resizable=0,ontop=1' );
splashWin.blur();
window.focus();
var sw = 300;
var sh = 200;
splashWin.resizeTo(sw,sh);
splashWin.moveTo((w-sw)/2, (h-sh)/2);
var swd = splashWin.document;
swd.open();
swd.write(str);
swd.close();
splashWin.focus();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -