⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 16.htm

📁 JMF编程的基础教程。。。 html格式配有源码。。。 非常适合初学者学习
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0049)http://tech.sina.com.cn/pc/2003-01-10/115/16.html -->
<!--[2,115,19] published at 2004-04-06 16:05:07 from #004 by 74--><HTML><HEAD><TITLE>科技时代首页_新浪网</TITLE>
<META http-equiv=Content-type content="text/html; charset=gb2312">
<STYLE type=text/css>TD {
	FONT-SIZE: 12px
}
P {
	FONT-SIZE: 12px
}
SELECT {
	FONT-SIZE: 12px
}
INPUT {
	FONT-SIZE: 12px
}
.l13 {
	LINE-HEIGHT: 130%
}
.l133 {
	FONT-SIZE: 12px; LINE-HEIGHT: 150%
}
.l15 {
	LINE-HEIGHT: 150%
}
A IMG {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
}
.img01 {
	BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid
}
.img02 {
	BORDER-RIGHT: #5a595a 1px solid; BORDER-TOP: #5a595a 1px solid; BORDER-LEFT: #5a595a 1px solid; BORDER-BOTTOM: #5a595a 1px solid
}
.img001 {
	BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-COLOR: #000000; BORDER-RIGHT-COLOR: #000000
}
.img002 {
	BORDER-LEFT-COLOR: #797979; BORDER-BOTTOM-COLOR: #797979; BORDER-TOP-COLOR: #797979; BORDER-RIGHT-COLOR: #797979
}
.img003 {
	BORDER-LEFT-COLOR: #767676; BORDER-BOTTOM-COLOR: #767676; BORDER-TOP-COLOR: #767676; BORDER-RIGHT-COLOR: #767676
}
.f14 {
	FONT-WEIGHT: bold
}
.f144 {
	FONT-WEIGHT: bold; FONT-SIZE: 14px
}
.f11 {
	FONT-SIZE: 11px
}
.u01 {
	MARGIN-TOP: 0px; FONT-SIZE: 14px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 20px; LINE-HEIGHT: 150%
}
A:hover {
	COLOR: #ff0000
}
A.title1:link {
	FONT-WEIGHT: bold; FONT-SIZE: 17px; COLOR: #000000; FONT-FAMILY: arial; TEXT-DECORATION: none
}
A.title1:visited {
	FONT-WEIGHT: bold; FONT-SIZE: 17px; COLOR: #000000; FONT-FAMILY: arial; TEXT-DECORATION: none
}
A.title1:active {
	FONT-WEIGHT: bold; FONT-SIZE: 17px; COLOR: #000000; FONT-FAMILY: arial; TEXT-DECORATION: none
}
A.title1:hover {
	FONT-WEIGHT: bold; FONT-SIZE: 17px; COLOR: #000000; FONT-FAMILY: arial; TEXT-DECORATION: none
}
A.title2:link {
	COLOR: #000000; TEXT-DECORATION: none
}
A.title2:visited {
	COLOR: #000000; TEXT-DECORATION: none
}
A.title2:active {
	COLOR: #ff0000; TEXT-DECORATION: none
}
A.title2:hover {
	COLOR: #ff0000; TEXT-DECORATION: none
}
A.aun:link {
	TEXT-DECORATION: underline
}
A.aun:visited {
	TEXT-DECORATION: underline
}
A.aun:active {
	TEXT-DECORATION: none
}
A.aun:hover {
	TEXT-DECORATION: none
}
A.anu:link {
	TEXT-DECORATION: underline
}
A.anu:visited {
	TEXT-DECORATION: underline
}
A.anu:active {
	TEXT-DECORATION: underline
}
A.anu:hover {
	TEXT-DECORATION: underline
}
A.ann:link {
	TEXT-DECORATION: none
}
A.ann:visited {
	TEXT-DECORATION: none
}
A.ann:active {
	TEXT-DECORATION: none
}
A.ann:hover {
	TEXT-DECORATION: none
}
A.path:link {
	COLOR: #ffffff; TEXT-DECORATION: none
}
A.path:visited {
	COLOR: #ffffff; TEXT-DECORATION: none
}
A.path:active {
	COLOR: #0099ff; TEXT-DECORATION: none
}
A.path:hover {
	COLOR: #0099ff; TEXT-DECORATION: none
}
A.path1:link {
	COLOR: #000000; TEXT-DECORATION: none
}
A.path1:visited {
	COLOR: #000000; TEXT-DECORATION: none
}
A.path1:active {
	COLOR: #ff0000; TEXT-DECORATION: none
}
A.path1:hover {
	COLOR: #ff0000; TEXT-DECORATION: none
}
A.path2:link {
	COLOR: #ffffff; TEXT-DECORATION: none
}
A.path2:visited {
	COLOR: #ffffff; TEXT-DECORATION: none
}
A.path2:active {
	COLOR: #ff0000; TEXT-DECORATION: none
}
A.path2:hover {
	COLOR: #ff0000; TEXT-DECORATION: none
}
.l14x {
	LINE-HEIGHT: 14px
}
.l16x {
	LINE-HEIGHT: 16px
}
A.a01:link {
	COLOR: #cc0e00; TEXT-DECORATION: underline
}
A.a01:visited {
	COLOR: #cc0e00; TEXT-DECORATION: underline
}
A.a01:active {
	COLOR: #cc0e00; TEXT-DECORATION: none
}
A.a01:hover {
	COLOR: #cc0e00; TEXT-DECORATION: none
}
A.a02:link {
	FONT-SIZE: 14px; COLOR: #2109a5; LINE-HEIGHT: 130%; TEXT-DECORATION: underline
}
A.a02:visited {
	FONT-SIZE: 14px; COLOR: #800080; LINE-HEIGHT: 130%; TEXT-DECORATION: underline
}
A.a02:active {
	FONT-SIZE: 14px; COLOR: #ff0000; LINE-HEIGHT: 130%; TEXT-DECORATION: underline
}
A.a02:hover {
	FONT-SIZE: 14px; COLOR: #ff0000; LINE-HEIGHT: 130%; TEXT-DECORATION: underline
}
A.a03:link {
	COLOR: #2109a5; TEXT-DECORATION: underline
}
A.a03:visited {
	COLOR: #800080; TEXT-DECORATION: underline
}
A.a03:active {
	COLOR: #ff0000; TEXT-DECORATION: underline
}
A.a03:hover {
	COLOR: #ff0000; TEXT-DECORATION: underline
}
A.a04:link {
	COLOR: #0000ff; LINE-HEIGHT: 22px; TEXT-DECORATION: underline
}
A.a04:visited {
	COLOR: #800080; LINE-HEIGHT: 22px; TEXT-DECORATION: underline
}
A.a04:active {
	COLOR: #ff0000; LINE-HEIGHT: 22px; TEXT-DECORATION: underline
}
A.a04:hover {
	COLOR: #ff0000; LINE-HEIGHT: 22px; TEXT-DECORATION: underline
}
A.a06 {
	COLOR: #0000ff; TEXT-DECORATION: none
}
A.a06:active {
	COLOR: #0000ff; TEXT-DECORATION: underline
}
A.a06:hover {
	COLOR: #0000ff; TEXT-DECORATION: underline
}
A.a071:link {
	COLOR: #000099
}
A.a071:visited {
	COLOR: #800080
}
A.a071:active {
	COLOR: #ff0000
}
A.a071:hover {
	COLOR: #ff0000
}
A.a07:link {
	COLOR: #000099
}
A.a07:visited {
	COLOR: #800080
}
A.a07:active {
	COLOR: #ff0000
}
A.a071:hover {
	COLOR: #ff0000
}
A.a09 {
	COLOR: #000099
}
A.a10:link {
	TEXT-DECORATION: underline
}
A.a10:visited {
	TEXT-DECORATION: underline
}
A.a10:active {
	TEXT-DECORATION: underline
}
A.a10:hover {
	TEXT-DECORATION: underline
}
A.a11:link {
	COLOR: #2108a5; TEXT-DECORATION: underline
}
A.a11:visited {
	COLOR: #254684; TEXT-DECORATION: underline
}
A.a11:active {
	COLOR: #3667c4; TEXT-DECORATION: underline
}
A.a11:hover {
	COLOR: #3667c4; TEXT-DECORATION: underline
}
A.a12:link {
	COLOR: #ffffff; TEXT-DECORATION: underline
}
A.a12:visited {
	COLOR: #cccccc; TEXT-DECORATION: underline
}
A.a12:active {
	COLOR: #ffcc00; TEXT-DECORATION: underline
}
A.a12:hover {
	COLOR: #ffcc00; TEXT-DECORATION: underline
}
A.noline:link {
	TEXT-DECORATION: none
}
A.noline:visited {
	TEXT-DECORATION: none
}
A.noline:active {
	TEXT-DECORATION: underline
}
A.noline:hover {
	TEXT-DECORATION: underline
}
.td01 {
	FONT-WEIGHT: bold
}
</STYLE>

<SCRIPT language=JavaScript>
strArr=new Array()
strArr[0]=new arrItem("frontpage","http://tech.sina.com.cn/introduction/focus/frontpage.shtml")
strArr[1]=new arrItem("输入","http://tech.sina.com.cn/introduction/focus/input.shtml")
strArr[2]=new arrItem("输入法","http://tech.sina.com.cn/introduction/focus/input.shtml")
strArr[3]=new arrItem("五笔","http://tech.sina.com.cn/introduction/focus/input.shtml")
strArr[4]=new arrItem("拼音","http://tech.sina.com.cn/introduction/focus/input.shtml")
strArr[5]=new arrItem("紫光","http://tech.sina.com.cn/introduction/focus/input.shtml")
strArr[6]=new arrItem("加加","http://tech.sina.com.cn/introduction/focus/input.shtml")
strArr[7]=new arrItem("icq","http://tech.sina.com.cn/introduction/focus/pager.shtml")
strArr[8]=new arrItem("qq","http://tech.sina.com.cn/introduction/focus/pager.shtml")
strArr[9]=new arrItem("acdsee","http://tech.sina.com.cn/introduction/focus/acdsee/index.shtml")
strArr[10]=new arrItem("rar","http://tech.sina.com.cn/introduction/focus/compress/index.shtml")
strArr[11]=new arrItem("winrar","http://tech.sina.com.cn/introduction/focus/compress/index.shtml")
strArr[12]=new arrItem("zip","http://tech.sina.com.cn/introduction/focus/compress/index.shtml")
strArr[13]=new arrItem("winzip","http://tech.sina.com.cn/introduction/focus/compress/index.shtml")
strArr[14]=new arrItem("winamp","http://tech.sina.com.cn/introduction/focus/mp3play/index.shtml")
strArr[15]=new arrItem("mediaplay","http://tech.sina.com.cn/introduction/focus/play/index.shtml")
strArr[16]=new arrItem("蚂蚁","http://tech.sina.com.cn/introduction/focus/netants.shtml")
strArr[17]=new arrItem("netants","http://tech.sina.com.cn/introduction/focus/netants.shtml")
strArr[18]=new arrItem("小车","http://tech.sina.com.cn/introduction/focus/dsoft/index.shtml")
strArr[19]=new arrItem("flashget","http://tech.sina.com.cn/introduction/focus/dsoft/index.shtml")
strArr[20]=new arrItem("photoshop","http://tech.sina.com.cn/introduction/focus/input.shtml")
strArr[21]=new arrItem("foxmail","http://tech.sina.com.cn/introduction/focus/foxmail.shtml")
strArr[22]=new arrItem("ie","http://tech.sina.com.cn/introduction/focus/msie.shtml")
strArr[23]=new arrItem("浏览器","http://tech.sina.com.cn/introduction/focus/msie.shtml")
strArr[24]=new arrItem("msn","http://tech.sina.com.cn/introduction/focus/msn/index.shtml")
strArr[25]=new arrItem("messenger","http://tech.sina.com.cn/introduction/focus/msn/index.shtml")
strArr[26]=new arrItem("msn messenger","http://tech.sina.com.cn/introduction/focus/msn/index.shtml")
strArr[27]=new arrItem("msnmessenger","http://tech.sina.com.cn/introduction/focus/msn/index.shtml")

function arrItem(text,link){
	this.text=text
	this.link=link
}

function seekWord(inword){
	if (inword==""){	//无填写内容
		alert("请填写搜索关键字词")
		return false
	}
	
	//	97-122:a-z	65-90:A-Z
	var ascii;
	var newstr='';
	for(i=0; i<inword.length; i++)
	{
		ascii = inword.charCodeAt(i);
		//document.write(i+'-'+ascii+'&nbsp;');
		if((ascii>=65) && (ascii<=90))
		{	//to lower case
			ascii += 32;
			//document.write(ascii+'<br>');
		}else{			
			//document.write('<br>');
		}
		newstr += String.fromCharCode(ascii);		
	}	
	
	for (i=0;i<strArr.length;i++){
		if (strArr[i].text==newstr){
			location.href=strArr[i].link	//页面地址转移
			//window.open(strArr[i].link);
			return false
		}
	}
	return true	//非空且非预置词组,提交至form action
}
</SCRIPT>

<SCRIPT language=javascript>
<!-- Hide 
var newWindow = null
function windowOpener(loadpos)
{       
        if (! newWindow || newWindow.closed)
        {
        newWindow = window.open(loadpos,"surveywin","toolbar,resizable,scrollbars,dependent,width=400,height=280");
        }else
        {
                newWindow.focus();
        }
}

//end-->
</SCRIPT>

<SCRIPT language=javascript>
function handle_select(select_obj)
{
	var URL = select_obj.options[select_obj.selectedIndex].value;
	if(URL == '') {
		return;
	}
	else {
		self.open(URL,"_blank");
		return;
	}
}
</SCRIPT>

<SCRIPT language=javascript>
<!-- Hide 
function s_submit(){
	var ProNo	= document.sss.mysel.value;
	var Key	= document.sss.key.value;

	if(ProNo == 1){	
		var url = "http://ofind.sina.com.cn/cgi-bin/tnews/news?pd=2&query=" + Key;
		var Win = window.open(url,"technewsDESC");
		return false;
		//window.location="http://mail.sina.com.cn";
	} 
	else if(ProNo == 2){	
		if( seekWord(Key) ){		
			var url = "http://download.sina.com.cn/scgi/down.pl?key=" + Key;
			var Win = window.open(url,"downloadDESC");
			return false;
		}
	}
	else if(ProNo == 3){	
		var url = "http://bbs6.sina.com.cn/cgi-bin/forumsearch/infoseek.cgi?forum=69&subject=" + Key;
		var Win = window.open(url,"forumDESC");
	} 
	else if(ProNo == 4){	
		var url = "http://tech.sina.com.cn/hardware/diy/6.shtml?" + Key;
		var Win = window.open(url,"hwDESC");
	} 	
	 
	else if(ProNo == 5){	
		var url = "http://mall-search.sina.com.cn/cgi-bin/product_search.cgi?search_type=CACODE_AND_SEARCHKEY&param1=0u&param2=" + Key;
		var Win = window.open(url,"mobileDESC");
	} 
	else if(ProNo == 6){	
		var url = "http://stat.sina.com.cn/cgi-bin/tech/sf.cgi?key=" + Key;
		var Win = window.open(url,"focusDESC");
	} 
	return false;
}
//end-->
</SCRIPT>

<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginwidth="5" marginheight="0"><!-- SUDA_CODE_START -->
<DIV id=sudsclickstreamdiv 
style="Z-INDEX: 1; LEFT: 100px; VISIBILITY: hidden; WIDTH: 80px; POSITION: absolute; TOP: -300px"></DIV>
<SCRIPT type=text/javascript>//<!--var _S_JV_="webbug_meta_ref_mod_noiframe_async_:8.37a";var cp_rf="http://beacon.sina.com.cn/a.gif";var cp_rf_d="http://beacon.sina.com.cn/d.gif";var _S_DPID_="-9999-0-0-1";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -