DIV CSS 佈局教程網

 DIV+CSS佈局教程網 >> 網頁腳本 >> CSS入門知識 >> CSS詳解 >> 好玩!仿DOS的HTML代碼
好玩!仿DOS的HTML代碼
編輯:CSS詳解     

<Html>
<head>
<STYLE>BODY {

        FONT-SIZE: 10pt; CURSOR: default; COLOR: rgb(160,160,160); FONT-FAMILY: Fixedsys; BACKGROUND-COLOR: black;scroll=no

}

A {

        FONT-SIZE: 10pt; CURSOR: default; COLOR: rgb(160,160,160); FONT-FAMILY: Fixedsys; BACKGROUND-COLOR: black; TEXT-DECORATION: none

}

A:hover {

        TEXT-DECORATION: underline overline

}

.input {

        BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 10pt; BORDER-BOTTOM-COLOR: rgb(0,0,0); CURSOR: text; COLOR: rgb(160,160,160); FONT-FAMILY: Fixedsys; BACKGROUND-COLOR: black; BORDER-RIGHT-WIDTH: 0px

}

</STYLE>

 

<OBJECT id=closes type=application/x-oleobject

classid=clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11><PARAM NAME="Command" VALUE="Close"></OBJECT>

<script>

function getfocus(){

document.shuru.DOS.focus()

if(event.keyCode==13){

judge();

document.shuru.DOS.blur();}

}

document.onkeydown=getfocus;

</script>

<SCRIPT language=Javascript>

 

var ttime=0,tip='_',zhi

 

function Flash(){

 

ttime++

 

if(ttime%2==1){

 

tip=''

 

var gett=document.shuru.DOS.value

 

var len=gett.length;

 

document.shuru.DOS.value=gett.substring(0,len-1)+tip}

 

else{

 

tip='_'

 

document.shuru.dos.value=document.shuru.DOS.value+tip}

 

if(ttime>100)

 

ttime=0

 

zhi=setTimeout("Flash()",200)

 

}

 

function shutdown(){

 

window.open('http://www.webjx.com')

 

closes.Click()

 

}

 

function errorcommand(){

 

document.shuru.DOS.value='Bad command or file name '

 

}

 

function cls(){

 

Word.style.display="none"}

 

function helpyou(){

 

Word.style.display=""}

 

function win(){

 

alert('正在制做中請期待......')}

 

function txt(){

 

alert('正在制做中請期待......')}

 

function dHtml(){alert('正在制做中請期待......')}

 

function search(){

 

var DOSearch=prompt("請輸入你所要查詢的

QQ號",'')

 

var doit="http://search.tencent.com/CGI-bin/frIEnd/user_show_info?ln="+DOSearch;

 

window.open(doit)}
function searc(){
var DOSearch=prompt("請輸入你所要查詢的網頁或內容",'')
var doit="http://202.98.123.184/cns.dll?fw=cm2&name="+DOSearch;
window.open(doit)}

 

function judge(){

 

var menu=document.shuru.DOS.value;

 

if(menu=='exit')

 

shutdown()

 

else if(menu=='im286')

 

helpyou()

 

else if(menu=='cls')

 

cls()

 

else if(menu=='win')

 

win()

 

else if(menu=='txt')

 

txt()

 

else if(menu=='dHtml')

 

dHtml()
else if(menu=='dll')


searc()

 


else if(menu=='QQ')

 

search()

 

else

 

errorcommand()

 

}

</SCRIPT>

<script language="JavaScript">

<!--

function MM_popupMsg(msg) { //v1.0

  alert(msg);

}

//-->

</script>

 

<BODY onload=Flash()><BR>

<DIV id=""

style="WIDTH: 760px; POSITION: absolute">www.webjx.com(R)&nbsp;personal&nbsp;webpage DOS<BR>&nbsp;&nbsp;(C)Copyright&copy;LCX&nbsp;<script language="Javascript1.2" src="1.JS" type="text/Javascript"></script>

<BR><BR>

<DIV id=Word

style="DISPLAY: none">

 

C:\Webpages>dir&nbsp;←<br><br>*(http://www.webjx.com)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WIN&nbsp;&nbsp;&nbsp;    01-3-2&nbsp;&nbsp;http://bbs3.webjx.com<br>技術論壇(http://bbs.webjx.com)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EXIT&nbsp;&nbsp;&nbsp;05-05-11&nbsp;http://www.webjx.com<br>

<br>dir&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;顯示本網站目錄

&nbsp;&nbsp;<BR>win&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;進入窗口界面,網站主頁有更多內容

&nbsp;&nbsp;<BR>exit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;表示退出本頁進入本站論壇&nbsp;&nbsp;<BR>cls&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;表示清屏關閉目錄顯示&nbsp;<BR>txt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;我的幾篇發在雜志上的散文&nbsp;<BR>DHtml&nbsp;&nbsp;&nbsp;&nbsp;動態Html版更酷代替舊版界面<BR>
qq&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 表示QQ好友資料搜索<BR>
dll&nbsp;&nbsp;&nbsp;&
;nbsp;&nbsp;&nbsp;表示3721網址搜索<BR>

</DIV>

<FORM name=shuru action=Javascript:judge()>C:\WWW.webjx.com><INPUT class=input

onblur=Flash() onfocus="this.value='';clearTimeout(zhi)" size=60

value="  " name=DOS title="用鼠標點後鍵入dir回車"> <INPUT style="DISPLAY: none" type=submit value=submit hidden>

</FORM></DIV></BODY>

XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved