<?xml version="1.0" encoding="UTF-8"?>
  <feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html"><![CDATA[KEVIN'S BLOG]]></title>
  <subtitle type="html"><![CDATA[Good good study, Day day up.]]></subtitle>
  <id>http://www.web-kevin.com/blog/</id> 
  <link rel="alternate" type="text/html" href="http://www.web-kevin.com/blog/" /> 
  <link rel="self" type="application/atom+xml" href="http://www.web-kevin.com/blog/atom.asp" /> 
  <generator uri="http://www.pjhome.net/" version="2.4.1022">PJBlog2</generator> 
  <updated>2009-01-01T21:40:53+08:00</updated> 

  <entry>
	  <title type="html"><![CDATA[iPod 拿到了,好Happy]]></title>
	  <author>
		 <name>kevin</name>
		 <uri>http://www.web-kevin.com/blog/</uri>
		 <email>25504754@163.com</email>
	  </author>
	  <category term="" scheme="http://www.web-kevin.com/blog/default.asp?cateID=19" label="相册" /> 
	  <updated>2009-01-01T21:40:53+08:00</updated>
	  <published>2009-01-01T21:40:53+08:00</published>
		  <summary type="html"><![CDATA[今天拿到了iPod,外观和功能让我爱不释手,ipod的键位非常合理，小巧。随便玩玩就可以上手。菜单随着指尖在按键上滑动而改变(支持滑动触摸)的感觉以及那精细的做工让我为之称奇<br/><img src="http://www.web-kevin.com/blog/attachments/month_0901/4200911213413.jpg" border="0" alt=""/><br/><br/><br/><br/>但缺点也是并存的，操作有点烦？虽然和iTunes搭配显得有点麻烦，但用了的人就会知道其实用iTunes管理音乐是非常方便的。而且Apple通过iTunes提供的售后服务非常超值。<br/><img src="http://www.web-kevin.com/blog/attachments/month_0901/1200911214639.jpg" border="0" alt=""/><br/><br/><br/><br/>包括专辑封面下载和Podcasts免费下载遗憾的是，不支持歌词同步。<br/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0901/s200911213426.jpg" border="0" alt=""/><br/><br/><br/><br/>但有很多其它功能还是要单独收费的,比如收音机,iPod&nbsp;MP4看小说也不是太方便,最大支持4K大小的小说,有点烦,看一部1M大小的小说要分成N部,都不敢想了...&nbsp;不过总体来说我感觉还是挺满意的!呵呵<br/><img src="http://www.web-kevin.com/blog/attachments/month_0901/r200911215249.jpg" border="0" alt=""/><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.web-kevin.com/blog/default.asp?id=517" /> 
	  <id>http://www.web-kevin.com/blog/default.asp?id=517</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[新职员到岗]]></title>
	  <author>
		 <name>kevin</name>
		 <uri>http://www.web-kevin.com/blog/</uri>
		 <email>25504754@163.com</email>
	  </author>
	  <category term="" scheme="http://www.web-kevin.com/blog/default.asp?cateID=9" label="幽默笑话" /> 
	  <updated>2008-10-23T11:49:56+08:00</updated>
	  <published>2008-10-23T11:49:56+08:00</published>
		  <summary type="html"><![CDATA[老板：万分欢迎，如果没有你，我们的公司肯定大不一样！<br/>职员：如果工作太累，搞不好我会辞职的。<br/>老板：放心，我不会让这样的事情发生的！<br/>职员：我双休日可以休息吗？<br/>老板：当然了！这是底线！<br/>职员：平时会天天加班到凌晨吗？<br/>老板：不可能，谁告诉你的？<br/>职员：有餐费补贴吗？<br/>老板：还用说吗，绝对比同行都高！<br/>职员：有没有工作猝死的风险？<br/>老板：不会！你怎么会有这种念头？<br/>职员：公司会定期组织旅游吗？<br/>老板：这是我们的明文规定！<br/>职员：那我需要准时上班吗？<br/>老板：不，看情况吧<br/>职员：工资呢？会准时发吗？<br/>老板：一向如此！<br/>职员：事情全是新员工做吗？<br/>老板：怎么可能，你上头还有很多资深同事！<br/>职员：如果领导职位有空缺，我可以参与竞争吗啊？<br/>老板：毫无疑问，这是我们公司赖以生存的机制！<br/>职员：你不会是在骗我吧？<br/><br/><span style="color:Red"><br/><strong>进入公司后看真实的一幕（从后往前读）</strong></span>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.web-kevin.com/blog/default.asp?id=516" /> 
	  <id>http://www.web-kevin.com/blog/default.asp?id=516</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[平凡人之理财语录]]></title>
	  <author>
		 <name>kevin</name>
		 <uri>http://www.web-kevin.com/blog/</uri>
		 <email>25504754@163.com</email>
	  </author>
	  <category term="" scheme="http://www.web-kevin.com/blog/default.asp?cateID=11" label="文章欣赏" /> 
	  <updated>2008-10-23T11:43:50+08:00</updated>
	  <published>2008-10-23T11:43:50+08:00</published>
		  <summary type="html"><![CDATA[1.&nbsp;没有计划的人生很难说将会是一个成功的人生。<br/>2.&nbsp;今天你不理财，明天财不理你！（这句好牛的说……汗）<br/>3.&nbsp;年轻人应有的理财观：<br/>&nbsp;&nbsp;&nbsp;给印钞机升级——投资自己的能力<br/>&nbsp;&nbsp;&nbsp;保养印钞机——学会爱自己<br/>&nbsp;&nbsp;&nbsp;收集印刻的钞票——学会存钱<br/>&nbsp;&nbsp;&nbsp;让钞票升值——学会投资<br/>&nbsp;&nbsp;&nbsp;准备好备用的印钞机——巧用保险<br/><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.web-kevin.com/blog/default.asp?id=515" /> 
	  <id>http://www.web-kevin.com/blog/default.asp?id=515</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[看你能坚持几秒（小游戏）]]></title>
	  <author>
		 <name>kevin</name>
		 <uri>http://www.web-kevin.com/blog/</uri>
		 <email>25504754@163.com</email>
	  </author>
	  <category term="" scheme="http://www.web-kevin.com/blog/default.asp?cateID=9" label="幽默笑话" /> 
	  <updated>2008-08-20T16:22:31+08:00</updated>
	  <published>2008-08-20T16:22:31+08:00</published>
		  <summary type="html"><![CDATA[&nbsp;&nbsp;据说，美国空军的飞行员被强制达到2分钟。发给你的朋友一块玩吧！<br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0808/p2008820162522.jpg" border="0" alt=""/><br/><br/><a target="_blank" href="http://www.web-kevin.com/play.html">点击进入游戏</a><br/>&nbsp;&nbsp;click&nbsp;onto&nbsp;the&nbsp;red&nbsp;block&nbsp;with&nbsp;jump&nbsp;over&nbsp;it:<br/>&nbsp;&nbsp;鼠标移动到红色部分。<br/>&nbsp;&nbsp;move&nbsp;the&nbsp;red&nbsp;block&nbsp;avoiding&nbsp;crash&nbsp;with&nbsp;the&nbsp;blue&nbsp;ones<br/>&nbsp;&nbsp;拖动红块，避免碰到蓝色部分。<br/>&nbsp;&nbsp;don&#39;t&nbsp;touch&nbsp;the&nbsp;black&nbsp;edge.<br/>&nbsp;&nbsp;不要碰到黑色区域。&nbsp;<br/>&nbsp;&nbsp;if&nbsp;you&nbsp;can&nbsp;reach&nbsp;more&nbsp;than&nbsp;18&nbsp;seconds,&nbsp;you&nbsp;are&nbsp;a&nbsp;genius.<br/>&nbsp;&nbsp;如果你能达到18秒以上，你算得上是个天才。<br/>&nbsp;&nbsp;it&nbsp;is&nbsp;said&nbsp;that&nbsp;the&nbsp;pilots&nbsp;from&nbsp;the&nbsp;us&nbsp;air&nbsp;force<br/>&nbsp;&nbsp;are&nbsp;forced&nbsp;to&nbsp;reach&nbsp;2&nbsp;minutes.<br/>&nbsp;&nbsp;&nbsp;KEVIN友情提醒：请使用IE浏览器！不要用其它浏览器[img]]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.web-kevin.com/blog/default.asp?id=514" /> 
	  <id>http://www.web-kevin.com/blog/default.asp?id=514</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[一个ASP显示剩余磁盘空间的函数]]></title>
	  <author>
		 <name>kevin</name>
		 <uri>http://www.web-kevin.com/blog/</uri>
		 <email>25504754@163.com</email>
	  </author>
	  <category term="" scheme="http://www.web-kevin.com/blog/default.asp?cateID=7" label="网站建设" /> 
	  <updated>2008-06-12T09:36:38+08:00</updated>
	  <published>2008-06-12T09:36:38+08:00</published>
		  <summary type="html"><![CDATA[这是一个ASP显示剩余磁盘空间的函数，需要的朋友可以拿去直接用就可以了<br/>Function&nbsp;ShowFreeSpace(drvPath)<br/>&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;fso,&nbsp;d,&nbsp;s<br/>&nbsp;&nbsp;&nbsp;&nbsp;Set&nbsp;fso&nbsp;=&nbsp;Cr&#101;ateObject(&#34;Scripting.FileSystemObject&#34;)<br/>&nbsp;&nbsp;&nbsp;&nbsp;Set&nbsp;d&nbsp;=&nbsp;fso.GetDrive(fso.GetDriveName(drvPath))<br/>&nbsp;&nbsp;&nbsp;&nbsp;s&nbsp;=&nbsp;&#34;驱动器&nbsp;&#34;&nbsp;&amp;&nbsp;UCase(drvPath)&nbsp;&amp;&nbsp;&#34;&nbsp;-&nbsp;&#34;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;s&nbsp;=&nbsp;s&nbsp;&amp;&nbsp;d.VolumeName&nbsp;&nbsp;&amp;&#34;&lt;BR&gt;&#34;<br/>&nbsp;&nbsp;&nbsp;&nbsp;s&nbsp;=&nbsp;s&nbsp;&amp;&nbsp;&#34;可用空间：&#34;&nbsp;&amp;&nbsp;FormatNumber(d.FreeSpace/1024,&nbsp;0)&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;s&nbsp;=&nbsp;s&nbsp;&amp;&nbsp;&#34;KB&#34;<br/>ShowFreeSpace&nbsp;=&nbsp;s<br/>End&nbsp;Function]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.web-kevin.com/blog/default.asp?id=512" /> 
	  <id>http://www.web-kevin.com/blog/default.asp?id=512</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[经典平面设计欣赏]]></title>
	  <author>
		 <name>kevin</name>
		 <uri>http://www.web-kevin.com/blog/</uri>
		 <email>25504754@163.com</email>
	  </author>
	  <category term="" scheme="http://www.web-kevin.com/blog/default.asp?cateID=8" label="平面设计" /> 
	  <updated>2008-06-07T11:02:28+08:00</updated>
	  <published>2008-06-07T11:02:28+08:00</published>
		  <summary type="html"><![CDATA[<img src="http://www.web-kevin.com/blog/attachments/month_0806/r20086711019.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/s20086711047.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/q20086711059.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/n20086711112.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/020086711120.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/w20086711128.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/o20086711156.jpg" border="0" alt=""/><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.web-kevin.com/blog/default.asp?id=511" /> 
	  <id>http://www.web-kevin.com/blog/default.asp?id=511</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[龌龊QQ秀(少儿不宜，超级搞笑QQ秀)]]></title>
	  <author>
		 <name>kevin</name>
		 <uri>http://www.web-kevin.com/blog/</uri>
		 <email>25504754@163.com</email>
	  </author>
	  <category term="" scheme="http://www.web-kevin.com/blog/default.asp?cateID=9" label="幽默笑话" /> 
	  <updated>2008-06-05T21:13:04+08:00</updated>
	  <published>2008-06-05T21:13:04+08:00</published>
		  <summary type="html"><![CDATA[真TMD丰富，如此淫荡的QQ秀都能搭配出来，<br/>贴出来大家看看！绝对前无古人，后无来者！<br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/5200865211257.jpg" border="0" alt=""/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.web-kevin.com/blog/default.asp?id=510" /> 
	  <id>http://www.web-kevin.com/blog/default.asp?id=510</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[《事半功倍系列 javascript》]]></title>
	  <author>
		 <name>kevin</name>
		 <uri>http://www.web-kevin.com/blog/</uri>
		 <email>25504754@163.com</email>
	  </author>
	  <category term="" scheme="http://www.web-kevin.com/blog/default.asp?cateID=7" label="网站建设" /> 
	  <updated>2008-06-05T14:28:39+08:00</updated>
	  <published>2008-06-05T14:28:39+08:00</published>
		  <summary type="html"><![CDATA[第一章javascript简介<br/>1.在地址栏输入javascript语句<br/>Javascript:Document.write(&#34;显示文字&#34;)<br/>2.将javascript嵌入&nbsp;HTML文档<br/>&lt;script&nbsp;language=javascript&gt;<br/>document.bgColor=&#34;blue&#34;<br/>&lt;/script&gt;<br/>第二章&nbsp;使用变量和数组<br/>1.声明变量<br/>&lt;script&nbsp;&nbsp;language=javascripe&gt;<br/>Var&nbsp;answer1,answer2,answer3,answer4;<br/>answer1=9;<br/>answer2=2.5<br/>answer3=&#34;Milkey&nbsp;May&#34;&nbsp;<br/>answer4=true<br/>&lt;/script&gt;<br/>2.使用整数<br/>&lt;script&nbsp;language=javascript&gt;<br/>var&nbsp;decimalNum,hexadecimalNum,octalNum<br/>decimalNum=24<br/>hexadecimalNum=0x24<br/>octalNum=024<br/>document.write(&#34;显示十进制数：&#34;+&nbsp;decimalNum+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;显示十六进制数：&#34;+&nbsp;hexadecimalNum&nbsp;+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;显示八进制数：&#34;+&nbsp;octalNum&nbsp;+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>3.使用浮点数<br/>&lt;script&nbsp;language=javascript&gt;<br/>var&nbsp;num1,num2,num3,num4<br/>num1=1234567890000.0<br/>num2=5.14e23<br/>num3=0.0000123456<br/>num4=6.0254e3-4<br/>document.write(&#34;浮点数1：&#34;+num1+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;浮点数2：&#34;+num2+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;浮点数3：&#34;+num3+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;浮点数4：&#34;+num4+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>4.使用布尔值<br/>&lt;script&nbsp;language=javascript&gt;<br/>var&nbsp;answer1,answer2<br/>answer1=true<br/>answer2=false<br/>document.write(&#34;显示布尔1：&#34;+answer1+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;显示布尔2：&#34;+answer2+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>5.使用字符串<br/>&lt;script&nbsp;language=javascript&gt;<br/>var&nbsp;str1,str2<br/>str1=&#34;fdsgdg&nbsp;dsfdsf&nbsp;china&#34;<br/>str2=&#34;武汉市广播电视大学&#34;<br/>document.write(&#34;显示字符串1：&#34;+str1+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;显示字符串2：&#34;+str2+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>6.确定变量类型<br/>&lt;script&gt;<br/>var&nbsp;answer1,answer2,answer3,answer4<br/>answer1=9<br/>answer2=2.5<br/>answer3=&#34;milky&nbsp;may&#34;<br/>answer4=true<br/>document.write(&#34;变量1的类型是：&#34;+typeof&nbsp;answer1&nbsp;+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;变量2的类型是：&#34;+typeof&nbsp;answer2&nbsp;+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;变量3的类型是：&#34;+typeof&nbsp;answer3&nbsp;+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;变量4的类型是：&#34;+typeof&nbsp;answer4&nbsp;+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>7.将字符串转换成数字<br/>&lt;script&gt;<br/>var&nbsp;str1=&#34;31&nbsp;days&nbsp;in&nbsp;january&#34;<br/>var&nbsp;int1=parseInt(str1)<br/>document.write(&#34;str1的数据类型是&nbsp;：&#34;+typeof&nbsp;str1+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;int1的数据类型是&nbsp;：&#34;+typeof&nbsp;int1+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>8.将数字转换成字符串<br/>&lt;script&gt;<br/>var&nbsp;int1=256<br/>var&nbsp;str1=&#34;&#34;+int1<br/>document.write(&#34;str1的数据类型是&nbsp;：&#34;+typeof&nbsp;str1+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;int1的数据类型是&nbsp;：&#34;+typeof&nbsp;int1+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>9.声明数组<br/>&lt;script&gt;<br/>array=new&nbsp;Array(5)<br/>array[0]=1<br/>array[1]=3<br/>array[2]=5<br/>array[3]=7<br/>array[4]=11<br/>document.write(&#34;数组是：&#34;+array[0]+&#34;&nbsp;&#34;+array[1]+&#34;&nbsp;&#34;+array[2]+&#34;&nbsp;&#34;+array[3]+&#34;&nbsp;&#34;+array[4])<br/>&lt;/script&gt;<br/>10.确定数组元素的个数<br/>&lt;script&gt;<br/>array=new&nbsp;Array(5)<br/>array[0]=1<br/>array[1]=3<br/>array[2]=5<br/>array[3]=7<br/>array[4]=11<br/>document.write(&#34;数组是：&#34;+array[0]+&#34;&nbsp;&#34;+array[1]+&#34;&nbsp;&#34;+array[2]+&#34;&nbsp;&#34;+array[3]+&#34;&nbsp;&#34;+array[4]+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;数组的元素个数是&#34;+array.length)<br/>&lt;/script&gt;<br/>11.将数组转换为字符串<br/>&lt;script&gt;<br/>array=new&nbsp;Array()<br/>array[0]=&#34;dark&#34;<br/>array[1]=&#34;apple&#34;<br/>array[2]=&#34;nebula&#34;<br/>array[3]=&#34;water&#34;<br/>str1=array.join()<br/>str2=array.join(&#34;&nbsp;&#34;)<br/>document.write(str1+&#34;&lt;br&gt;&#34;)<br/>document.write(str2)<br/>&lt;/script&gt;<br/>12.对数组排序<br/>&lt;script&gt;<br/>array=new&nbsp;Array()<br/>array[0]=&#34;dark&#34;<br/>array[1]=&#34;apple&#34;<br/>array[2]=&#34;nebula&#34;<br/>array[3]=&#34;water&#34;<br/>str1=array.sort()<br/>document.write(str1+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>第三章&nbsp;创建表达式<br/>1.使用算术运算符<br/>&lt;script&gt;<br/>var1=12<br/>var2=10<br/>varadd=var1+var2<br/>varsub=var1-var2<br/>varmult=var1*var2<br/>vardiv=var1/var2<br/>varmod=var1%var2<br/>document.write(&#34;数据1是：&#34;+var1+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;数据2是：&#34;+var2+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;数据相加是：&#34;+varadd+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;数据相减是：&#34;+varsub+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;数据相乘是：&#34;+varmult+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;数据相除是：&#34;+vardiv+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;数据相除取余数是：&#34;+varmod+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>2.递增变量和递减变量<br/>&lt;script&gt;<br/>days=1<br/>document.write(&#34;输出变量&#34;+days+&#34;&lt;br&gt;&#34;)<br/>days++<br/>document.write(&#34;递增后变量变为：&#34;+days)<br/>&lt;/script&gt;<br/>3.创建比较表达式<br/>&lt;script&gt;<br/>daysofmonth=28<br/>if(daysofmonth==28)<br/>month=&#34;february&#34;<br/>document.write(&#34;days&nbsp;of&nbsp;month:&#34;+daysofmonth+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;month:&#34;+month)<br/>&lt;/script&gt;<br/>4.创建逻辑表达式<br/>&lt;script&gt;<br/>dayofmonth=28<br/>if(dayofmonth==28&nbsp;||&nbsp;dayofmonth==29)<br/>month=&#34;february&#34;<br/>document.write(&#34;days&nbsp;of&nbsp;month:&#34;+dayofmonth+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;month:&#34;+month)<br/>&lt;/script&gt;<br/>5.使用条件运算符<br/>&lt;script&nbsp;language=&#34;javascript&#34;&gt;<br/>stomach=&#34;hungry&#34;;<br/>time=&#34;5:00&#34;;<br/>(stomach==&#34;hungry&#34;&amp;&amp;time==&#34;5:00&#34;)&nbsp;?&nbsp;eat&nbsp;=&nbsp;&#34;dinner&#34;:eat=&#34;a&nbsp;snack&#34;;<br/>document.write(&#34;输出结果&#34;+eat);<br/>&lt;/script&gt;<br/>6.识别数字<br/>&lt;script&gt;<br/>var1=24;<br/>(isNaN(var1))?document.write(&#34;变量var1&#34;+var1+&#34;不是数字&#34;):Document.write(&#34;变量var1&#34;+var1+&#34;是数字&#34;)<br/>&lt;/script&gt;<br/>第四章&nbsp;控制程序流程<br/>1.使用IF&nbsp;–Else语句<br/>&lt;script&gt;<br/>month=&#34;december&#34;<br/>date=25<br/>if(month==&#34;december&#34;&nbsp;&amp;&amp;&nbsp;date==25)<br/>document.write(&#34;今天是圣诞节,商店关门&#34;)<br/>else<br/>document.write(&#34;欢迎,您来商店购物&#34;)<br/>&lt;/script&gt;<br/>2.使用for&nbsp;循环<br/>&lt;script&gt;<br/>for&nbsp;(count=1;count&lt;=10;count++)<br/>document.write(&#34;输出第&#34;+count+&#34;句&#34;+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>3.使用while循环<br/>&lt;script&gt;<br/>count=1<br/>while(count&lt;=15){<br/>document.write(&#34;输出第&#34;+count+&#34;句&#34;&nbsp;+&#34;&lt;br&gt;&#34;)<br/>count++}<br/>&lt;/script&gt;<br/>4.中断循环<br/>&lt;script&gt;<br/>count=1<br/>while(count&lt;=15){<br/>count++<br/>if(count==8)<br/>break;<br/>document.write(&#34;输出第&#34;+count+&#34;句&#34;+&#34;&lt;br&gt;&#34;)}<br/>&lt;/script&gt;<br/>5.继续循环<br/>&lt;script&gt;<br/>count=1<br/>while(count&lt;=15){<br/>count++<br/>if(count==8)<br/>continue;<br/>document.write(&#34;输出第&#34;+count+&#34;句&#34;+&#34;&lt;br&gt;&#34;)}<br/>&lt;/script&gt;<br/>6.使用javascript定时器<br/>&lt;script&gt;<br/>function&nbsp;rabbit()<br/>{document.write(&#34;输出语句&#34;)<br/>}<br/>&lt;/script&gt;<br/>&lt;body&nbsp;onload=window.setTimeout(rabbit(),5000)&gt;<br/>7.设置定期间隔<br/>&lt;script&gt;<br/>window.setInterval(&#34;document.form1.text2.value=document.form1.text1.value&#34;,3000)<br/>&lt;/script&gt;<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text1&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text2&gt;&lt;br&gt;<br/>&lt;/form&gt;<br/>8.清除超时和间隔<br/>&lt;script&gt;<br/>stop=window.setInterval(&#34;document.form1.text2.value=document.form1.text1.value&#34;,300)<br/>&lt;/script&gt;<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text1&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text2&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=&#34;&nbsp;清除超时和间隔&#34;&nbsp;onclick=clearInterval(stop)&gt;<br/>&lt;/form&gt;<br/>第五章&nbsp;使用函数<br/>1.声明函数<br/>&lt;script&gt;<br/>function&nbsp;quote()<br/>{&nbsp;document.write(&#34;输出语句&#34;)<br/>}<br/>&lt;/script&gt;<br/>2.调用函数<br/>&lt;script&gt;<br/>function&nbsp;quote()<br/>{&nbsp;document.write(&#34;输出语句&#34;)<br/>}<br/>quote()<br/>&lt;/script&gt;<br/>3.了解全局变量和局部变量<br/>任何不用&nbsp;var关键字声明的变量都是全局变量,任何在函数外声明的变量都是全局变量<br/>4.将参数传送给函数<br/>&lt;script&gt;<br/>function&nbsp;f(item)<br/>{document.write(&#34;输出参数&#34;+item+&#34;&lt;br&gt;&#34;)<br/>}<br/>f(&#34;fgdfgd&#34;)<br/>f(&#34;参数二&#34;)<br/>&lt;/script&gt;<br/>5.从函数返回值<br/>&lt;script&gt;<br/>function&nbsp;average(var1,var2,var3)<br/>{ave=(var1+var2+var3)/3;<br/>document.write(&#34;输出结果&#34;);<br/>return&nbsp;ave;<br/>}<br/>document.write(average(34,56,78))<br/>&lt;/script&gt;<br/>6.通过HTML链接调用函数<br/>&lt;script&gt;<br/>function&nbsp;quote(){<br/>document.write(&#34;&nbsp;输出字符串&#34;)<br/>}<br/>&lt;/script&gt;<br/>&lt;a&nbsp;href=javascript:quote()&gt;通过HTML链接调用函数&lt;/a&gt;<br/>&lt;a&nbsp;href=javascript:Document.write(&#34;输出字符&#34;)&gt;&nbsp;通过HTML链接调用函数,直接写javascript语句&lt;/a&gt;<br/>第六章&nbsp;处理事件<br/>1.检查鼠标单击<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=hello&nbsp;onclick=document.form1.button1.value=&#39;there&#39;&gt;<br/>&lt;/form&gt;<br/>2.检测双击<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=hello&nbsp;onclick=document.form1.button1.value=&#39;你单击了按钮&#39;&nbsp;ondblclick=document.form1.button1.value=&#39;你双击了该按钮&#39;&gt;<br/>&lt;/form&gt;<br/>3.创建悬停按钮<br/>&lt;img&nbsp;src=go.gif&nbsp;onmouseover=document.images[0].src=&#39;go2.gif&#39;&nbsp;onmouseout=&nbsp;document.images[0].src=&#39;go.gif&#39;&gt;<br/>4.检测按键<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text1&nbsp;value=hello&nbsp;onkeypress=&#34;if(window.event.keyCode==&#39;100&#39;)&nbsp;document.form1.text1.value=&#39;你按了d键&#39;&#34;&gt;<br/>&lt;/form&gt;<br/>5.设置焦点<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text1&nbsp;value=hello<br/>onfous=document.form1.text1.value=&#39;该文本框获得焦点&#39;<br/>onblur=document.form1.text1.value=&#39;该文本框失去焦点&#39;&gt;<br/>&lt;/form&gt;<br/>6.检测下拉菜单选择<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;sel&#101;ct&nbsp;name=sel&#101;ct1&nbsp;size=4<br/>onChange=document.form1.text1.value=document.form1.sel&#101;ct1.value&gt;<br/>&lt;option&nbsp;value=&#34;北京&#34;&gt;北京&lt;/option&gt;<br/>&lt;option&nbsp;value=&#34;上海&#34;&gt;上海&lt;/option&gt;<br/>&lt;option&nbsp;value=&#34;武汉&#34;&gt;武汉&lt;/option&gt;<br/>&lt;option&nbsp;value=&#34;天津&#34;&gt;天津&lt;/option&gt;<br/>&lt;option&nbsp;value=&#34;大连&#34;&gt;大连&lt;/option&gt;<br/>&lt;/sel&#101;ct&gt;<br/>&lt;input&nbsp;tppe=text&nbsp;name=text1&nbsp;value=hello&gt;<br/>&lt;/form&gt;<br/>7.创建网页加载和卸载信息<br/>&lt;body&nbsp;onload=document.form1.text1.value=&#39;页面加载完毕&#39;&nbsp;onunload=alert(&#39;再见,欢迎再来&#39;)&gt;<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text1&nbsp;value=&#34;页面正在加载&nbsp;……&#34;&gt;<br/>&lt;/form&gt;<br/>第七章&nbsp;使用对象<br/>1.理解对象\属性和方法<br/>&lt;body&nbsp;bgcolor=&#34;green&#34;&gt;<br/>&lt;script&gt;<br/>document.write(&#34;页面背景颜色是:&#34;+document.bgColor)<br/>document.write(&#34;页面前景颜色是:&#34;+document.fgColor)<br/>&lt;/script&gt;<br/>2.使用网页元素对象<br/>&lt;script&gt;<br/>&lt;/script&gt;<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;textarea&nbsp;name=ta1&gt;dfgfdgfdhfdhdfdfgdf&lt;/textarea&gt;<br/>&lt;input&nbsp;type=button&nbsp;value=&#34;选择文本&#34;&nbsp;onclick=document.form1.ta1.sel&#101;ct()&gt;<br/>&lt;input&nbsp;type=button&nbsp;value=&#34;显示文本&#34;&nbsp;onclick=document.write(document.form1.ta1.value)&gt;<br/>&lt;/form&gt;<br/>3.使用子对象<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text1&nbsp;value=hello&gt;<br/>&lt;/form&gt;<br/>&lt;script&gt;<br/>document.form1.text1.value=&#34;gdfgfd&#34;<br/>&lt;/script&gt;<br/><br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=radio&nbsp;name=radio1&gt;男<br/>&lt;input&nbsp;type=radio&nbsp;name=radio2&gt;女<br/>&lt;/script&gt;<br/>&lt;script&gt;<br/>document.form1.radio1.checked=true<br/>&lt;/script&gt;<br/>4.使用预定义对象<br/>&lt;script&gt;<br/>str1=&#34;dgdfgdfgdfhf固定法固定法功夫攻打法&#34;<br/>document.write(str1+&#34;&lt;br&gt;&#34;)<br/>str2=str1.substr(5)<br/>document.write(str2+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;输出圆的面积:&#34;+Math.PI*Math.pow(5.0,2))<br/>&lt;/script&gt;<br/>5.创建新对象<br/>&lt;script&gt;<br/>today=new&nbsp;Date()<br/>document.write(&#34;今天是&#34;+(today.getMonth()+1)+&#34;月&#34;+today.getDate()+&#34;日&#34;+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;现在是:&#34;+today.toLocaleString())<br/>&lt;/script&gt;<br/>.6.引用当前对象<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text1&nbsp;value=&#34;dgdgdfgfd&#34;&nbsp;onclick=this.sel&#101;ct()&gt;<br/>&lt;/script&gt;<br/>7.查看对象属性<br/>&lt;script&gt;<br/>for(prop&nbsp;in&nbsp;window)<br/>{document.write(&#34;window.&#34;+prop+&#34;=&#34;+window[prop]+&#34;&lt;br&gt;&#34;);}<br/>for(prop2&nbsp;in&nbsp;location)<br/>{document.write(&#34;location.&#34;+prop2+&#34;=&#34;+location[prop]+&#34;&lt;br&gt;&#34;);}<br/>&lt;/script&gt;<br/>8.使用Array对象<br/>&lt;script&gt;<br/>array=new&nbsp;Array(10)<br/>array[0]=&#34;bark&#34;<br/>array[1]=&#34;apple&#34;<br/>array[2]=&#34;nebula&#34;<br/>array[3]=&#34;cookie&#34;<br/>array[4]=&#34;technology&#34;<br/>document.write(&#34;数组元素个数是&#34;+array.Length+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;用&nbsp;join将数组合并&#34;+array.join(&#34;&nbsp;&#34;)+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;&nbsp;数组排序&#34;+array.sort())<br/>&lt;/script&gt;<br/>9.使用&nbsp;image&nbsp;对象<br/>&lt;img&nbsp;src=**.gif&nbsp;alt=&#34;图片提示….&#34;&nbsp;border=10&gt;<br/>&lt;script&gt;<br/>document.write(&#34;图片提示是:&#34;+document.images[0].alt+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;图片边框大小是:&#34;+document.images[0].broder)<br/>&lt;/script&gt;<br/>10.预加载图像<br/>&lt;script&gt;<br/>freddy=new&nbsp;Image()<br/>freddy.src=freddy.gif<br/>&lt;/script&gt;<br/>&lt;body&nbsp;onload=document.images[0].src=freddy.src&gt;<br/>,&lt;img&nbsp;src=&#34;blank.gif&#34;&gt;<br/>&lt;/body&gt;<br/>11.改变图像<br/>&lt;img&nbsp;src=freddy.gif&gt;&lt;br&gt;<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=&#34;改变图像&#34;&nbsp;onclickd=document.images[0].src=dudjp.gif&gt;<br/>&lt;/form&gt;<br/>12.使用link和anchor对象<br/>&lt;a&nbsp;name=anchor1&gt;锚点1&lt;br&gt;<br/>&lt;a&nbsp;href=http://www.microsoft.com&gt;Microsoft&lt;/a&gt;&lt;br&gt;<br/>&lt;a&nbsp;href=http://www.sohu.com&gt;sohu&lt;/a&gt;&lt;br&gt;<br/>&lt;a&nbsp;href=http://www.sina.com.cn&gt;sina&lt;/a&gt;&lt;br&gt;<br/>&lt;script&gt;<br/>document.write(&#34;本页面共有&#34;+document.links.length+&#34;链接&#34;+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;本页面共有&#34;+document.anchors.length+&#34;锚点&#34;+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;第一个链接协议是&#34;+document.links[0].protocol+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;第一个链接路径是&#34;+document.links[0].pathnamel+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;第一个链接href是&#34;+document.links[0].hrefl+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>13.改变链接<br/>&lt;a&nbsp;href&nbsp;=http://www.microsoft.com&gt;link&lt;/a&gt;<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=&#34;改变链接&#34;&nbsp;onclick=document.links[0].href=&#39;<a href="http://www.sohu.com" target="_blank">http://www.sohu.com</a>&#39;&gt;<br/>&lt;/form&gt;<br/>14.使用history对象<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=&#34;向后返回2页&#34;&nbsp;onclick=window.history.go(-2)&gt;<br/>&lt;/form&gt;<br/>第八章&nbsp;使用窗口<br/>1.在浏览器的状态栏上显示文本<br/>&lt;body&nbsp;onload=window.status=&#34;欢迎光临我的站点&#34;&gt;<br/>&lt;a&nbsp;href=http://www.sohu.com&gt;sohu&lt;/a&gt;<br/>&lt;/body&gt;<br/>2.改变背景色<br/>&lt;script&gt;<br/>document.bgColor=&#34;orange&#34;<br/>&lt;/script&gt;<br/>3.列举背景颜色<br/>&lt;body&nbsp;bgColor&nbsp;=green&gt;<br/>&lt;script&gt;<br/>document.write(&#34;当前背景色是:&#34;+document.bgColor)<br/>&lt;/script&gt;<br/>&lt;/body&gt;<br/>4.改变文本和链接颜色<br/>&lt;script&gt;<br/>document.bgColor=&#34;orange&#34;<br/>document.fgColor=&#34;blue&#34;<br/>document.linkColor=&#34;red&#34;<br/>&lt;/script&gt;<br/>&lt;h2&gt;看看这段文本颜色&lt;/h2&gt;<br/>&lt;a&nbsp;href=http://www.sohu.com&gt;sohu&lt;/a&gt;<br/>&lt;/body&gt;<br/>5.改变文档标题<br/>&lt;script&gt;<br/>name=&#34;Mouse&#34;<br/>document.title=&#34;welcome&nbsp;to&nbsp;&#34;+name+&#34;&#39;s&nbsp;House&#34;<br/>document.write(document.title)<br/>&lt;/script&gt;<br/>6.显示修改日期<br/>&lt;script&gt;<br/>document.write(&#34;本页面最后修改时间是&#34;+document.lastModified)<br/>&lt;/script&gt;<br/>7.查看当前文档的URL<br/>&lt;script&gt;<br/>document.write(&#34;本页面的URL:&#34;+document.URL)<br/>&lt;/script&gt;<br/>8.查看引用页<br/>&lt;script&gt;<br/>document.write(&#34;本页面的引用页是&#34;+document.referrer)<br/>&lt;/script&gt;<br/>9.打开新的浏览器窗口<br/>&lt;script&gt;<br/>window.open(&#34;*.htm&#34;,&#34;title&#34;,&#34;width=200,height=400,resizable=yes&#34;)<br/>&lt;/script&gt;<br/>10.关闭远程窗口<br/>close.html:<br/>&lt;script&gt;<br/>document.write(&#34;正文&#34;)<br/>&lt;/script&gt;<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1value=&#34;关闭&#34;&nbsp;onclick=window.close()&gt;<br/>&lt;/form&gt;<br/><br/>open.html<br/>&lt;script&gt;<br/>window.open(&#34;close.html&#34;,&#34;romote&#34;,&#34;width=200,height=400,resizable=yes&#34;)<br/>&lt;/script&gt;<br/>11.打印窗口<br/>&lt;script&gt;<br/>document.write(&#34;正文&#34;)<br/>&lt;/script&gt;<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=button&nbsp;value=打印&nbsp;onclick=window.print()&gt;<br/>&lt;/form&gt;<br/>12.移动窗口<br/>&lt;form&nbsp;name=form1&gt;<br/>水平方向&lt;input&nbsp;type=text&nbsp;name=x&nbsp;value=20&gt;<br/>垂直方向&lt;input&nbsp;type=text&nbsp;name=y&nbsp;value=50&gt;<br/>&lt;input&nbsp;type=button&nbsp;value=&#34;移动窗口到…&#34;onclick=window.moveTo(document.form1.x.value,document.form1.y.value)&gt;<br/>&lt;/form&gt;<br/><br/>&lt;form&nbsp;name=form1&gt;<br/>水平方向&lt;input&nbsp;type=text&nbsp;name=x&nbsp;value=20&gt;<br/>垂直方向&lt;input&nbsp;type=text&nbsp;name=y&nbsp;value=50&gt;<br/>&lt;input&nbsp;type=button&nbsp;value=&#34;移动窗口&#34;onclick=window.moveBy(document.form1.x.value,document.form1.y.value)&gt;<br/>&lt;/form&gt;<br/>13.改变窗口大小<br/>&lt;form&nbsp;name=form1&gt;<br/>水平方向&lt;input&nbsp;type=text&nbsp;name=x&nbsp;value=200&gt;<br/>垂直方向&lt;input&nbsp;type=text&nbsp;name=y&nbsp;value=500&gt;<br/>&lt;input&nbsp;type=button&nbsp;value=&#34;改变窗口大小到…..&#34;onclick=window.resizeTo(document.form1.x.value,document.form1.y.value)&gt;<br/>&lt;/form&gt;<br/><br/>&lt;form&nbsp;name=form1&gt;<br/>水平方向&lt;input&nbsp;type=text&nbsp;name=x&nbsp;value=200&gt;<br/>垂直方向&lt;input&nbsp;type=text&nbsp;name=y&nbsp;value=500&gt;<br/>&lt;input&nbsp;type=button&nbsp;value=&#34;改变窗口大小&#34;onclick=window.resizeBy(document.form1.x.value,document.form1.y.value)&gt;<br/>&lt;/form&gt;<br/>14.用警告对话框通知用户<br/>&lt;script&gt;<br/><br/>window.alert(&#34;welcome&#34;)<br/>&lt;/script&gt;<br/>15.用提示对话框接受输入<br/>&lt;script&gt;<br/>name=window.prompt(&#34;输入姓名&#34;,&#34;姓名&#34;)<br/>document.write(&#34;&nbsp;欢迎您:&#34;+name+&#34;来到这里&#34;)<br/>&lt;/script&gt;<br/>16.用确认对话框使用户做出决定<br/>&lt;script&gt;<br/>like=window.confirm(&#34;你觉得好吗?&#34;)<br/>if(like==true)<br/>document.write(&#34;谢谢你的夸奖&#34;)<br/>else<br/>document.write(&#34;希望得到你的夸奖&#34;)<br/>&lt;/script&gt;<br/>第九章&nbsp;使用字符串<br/>1.使用字符串对象<br/>&lt;script&gt;<br/>mystring=&#34;gdgdfgfddddaaaaaaaaaaaabbbbbbbbbbbbbbbbbvbhg.&lt;br&gt;&#34;<br/>document.write(mystring)<br/>document.write(mystring.bold())<br/>document.write(mystring.toUpperCase())<br/>&lt;/script&gt;<br/>2.使用子字符串<br/>&lt;script&gt;<br/>str1=&#34;fdsf&nbsp;1111&nbsp;&nbsp;gfdgfd&nbsp;dfdsf&nbsp;cccc&nbsp;dddd.&lt;br&gt;&#34;<br/>document.write(str1)<br/>document.write(str1.substring(0,13)+&#34;&lt;br&gt;&#34;)<br/>document.write(str1.substr&nbsp;(20,11)+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>3.连接字符串<br/>&lt;script&gt;<br/>str1=&#34;may&nbsp;you&nbsp;find&#34;<br/>str2=&#34;peace,happiness&nbsp;and&nbsp;prosperity.&lt;br&gt;&#34;<br/>document.write(str1+&#34;&lt;br&gt;&#34;)<br/>document.write(str2)<br/>document.write(str1.concat(str2))<br/>document.write(str1+=str2)<br/>&lt;/script&gt;<br/>4.格式化字符串变量<br/>&lt;script&gt;<br/>str1=&#34;peace,happiness&nbsp;and&nbsp;prosperity.&lt;br&gt;&#34;<br/>document.write(str1)<br/>document.write(str1.big())<br/>document.write(str1.small())<br/>document.write(str1.bold())<br/>document.write(str1.italics())<br/>document.write(str1.strike())<br/>document.write(str1.fontsize(6))<br/>document.write(str1.fontcolor(green))<br/>&lt;/script&gt;<br/>5.创建锚和链接<br/>&lt;script&gt;<br/>str1=&#34;this&nbsp;is&nbsp;the&nbsp;bigginning&nbsp;of&nbsp;the&nbsp;page.&lt;br&gt;&#34;<br/>str2=&#34;….&lt;br&gt;&#34;<br/>str3=&#34;this&nbsp;is&nbsp;the&nbsp;end&nbsp;of&nbsp;the&nbsp;page&nbsp;.&lt;br&gt;&#34;<br/>str4=&#34;link&nbsp;to&nbsp;the&nbsp;start&lt;br&gt;&#34;<br/>str5=&#34;link&nbsp;to&nbsp;the&nbsp;end&lt;br&gt;&#34;<br/>document.write(str1.anchor(&#34;start&#34;))<br/>for(i=0;i&lt;10;i++)<br/>document.write(str2);<br/>document.write(str3.anchor(&#34;end&#34;))<br/>document.write(str4.link(&#34;#start&#34;))<br/>document.write(str5.link(&#34;#end&#34;))<br/>&lt;/script&gt;<br/>6.确定字符串长度<br/>&lt;script&gt;<br/>str1=&#34;this&nbsp;is&nbsp;the&nbsp;bigginning&nbsp;of&nbsp;the&nbsp;page.&#34;<br/>document.write(str1+&#34;&lt;br&gt;&#34;)<br/>document.write(&nbsp;&#34;字符串的长度是:&#34;+str1.length)<br/>document.write(&#34;字符串全部大写是;&#34;+str1.toUpperCase())<br/>document.write(&#34;字符串全部小写是;&#34;+str1.toLowerCase())<br/>&lt;/script&gt;<br/>7.在字符串内搜索<br/>&lt;script&gt;<br/>str1=&#34;this&nbsp;is&nbsp;the&nbsp;end&nbsp;of&nbsp;the&nbsp;line.&lt;br&gt;&#34;<br/>document.write(str1)<br/>document.write(&#34;字符end在字符串的位置是&#34;+str1.search(&#34;end&#34;))<br/>document.write(&#34;字符dog在字符串的位置是&#34;+str1.search(&#34;dog&#34;))<br/>&lt;/script&gt;<br/>8.定位字符串中的字符<br/>&lt;script&gt;<br/>str1=&#34;spring&nbsp;is&nbsp;a&nbsp;time&nbsp;for&nbsp;flowers&nbsp;and&nbsp;trees&nbsp;and&nbsp;baby&nbsp;bunnles&lt;br&gt;&#34;<br/>document.write(str1)<br/>document.write(&#34;the&nbsp;index&nbsp;for&nbsp;the&nbsp;second&nbsp;word&nbsp;‘and&#39;&nbsp;is&#34;+str1.indexOf(&#34;and&#34;,30))<br/>documednt.write(&#34;the&nbsp;last&nbsp;index&nbsp;of&nbsp;the&nbsp;word&nbsp;‘and&#39;&nbsp;is&nbsp;&#34;+str1.lastIndexOf(&#34;and&#34;))<br/>&lt;/script&gt;<br/>9.替换字符串中的文本<br/>&lt;script&gt;<br/>str1=&#34;spring&nbsp;is&nbsp;a&nbsp;time&nbsp;for&nbsp;flowers&nbsp;and&nbsp;trees&nbsp;and&nbsp;baby&nbsp;bunnles&lt;br&gt;&#34;<br/>document.write(str1)<br/>document&nbsp;.write(str1.replace(&#34;and&#34;,&#34;,&#34;))<br/>&lt;/script&gt;<br/>10.字符串分离<br/>&lt;script&gt;<br/>str1=&#34;spring&nbsp;is&nbsp;a&nbsp;time&nbsp;for&nbsp;flowers&nbsp;and&nbsp;trees&nbsp;and&nbsp;baby&nbsp;bunnles&lt;br&gt;&#34;<br/>document.write(str1)<br/>str1array=str1.split(&#34;&nbsp;&#34;)<br/>document.write(str1array[0]+&#34;&lt;br&gt;&#34;)<br/>document.write(str1array[1]+&#34;&lt;br&gt;&#34;)<br/>document.write(str1array[2]+&#34;&lt;br&gt;&#34;)<br/>document.write(str1array[3]+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>第十章&nbsp;使用日期和时间<br/>1.使用Date对象<br/>&lt;script&gt;<br/>cdate=new&nbsp;Date(&#34;august&nbsp;2,1989&nbsp;12:30:00&#34;)<br/>document.write(cdate)<br/>&lt;/script&gt;<br/>2.显示当地时间和日期<br/>&lt;script&gt;<br/>cdate=new&nbsp;Date()<br/>document.write(&#34;当前时间是:&#34;+cdate.toGMTString()+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;日期和时间是:&#34;+cdate.toLocaleString())<br/>&lt;/script&gt;<br/>3.获得时间和日期值<br/>&lt;script&gt;<br/>cdate=new&nbsp;Date()<br/>document.write(&#34;显示当前的星期&#34;+cdate.getDay()+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;显示当前的月份&#34;+cdate.getMonth()+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;显示当前的日期&#34;+cdate.getDay()+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;显示当前的年份&#34;+cdate.getYear()+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;显示当前的小时&#34;+cdate.getHours()+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;显示当前的分钟&#34;+cdate.getMinutes()+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;显示当前的秒&#34;+cdate.getSeconds()+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>4.设置时间和日期值<br/>&lt;script&nbsp;language=javascript&gt;<br/>cdate=new&nbsp;Date(&#34;December&nbsp;25,1984&#34;)<br/>document.write(&#34;显示日期&#34;+cdate+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;设置月份&#34;+cdate.setMonth(10)+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;设置日期&#34;+cdate.setDate(23)+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;设置年份&#34;+cdate.setYear(2000)+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;设置小时&#34;+cdate.setHours(13)+&#34;&lt;br&gt;&#34;);<br/>document.write(&#34;设置分钟&#34;+cdate.setMinutes(47)+&#34;&lt;br&gt;&#34;);<br/>document.write(&#34;设置秒&#34;+cdate.setSeconds(23)+&#34;&lt;br&gt;&#34;);<br/>document.write(&#34;显示设置后的日期和时间&#34;+cdate);<br/>&lt;/script&gt;<br/>第十一章&nbsp;使用Math对象<br/>1.&nbsp;使用Math对象<br/>&lt;script&nbsp;language=javascript&gt;<br/>&lt;/script&gt;<br/>&lt;form&nbsp;name=form1&gt;<br/>圆的半径:&lt;input&nbsp;type=text&nbsp;name=rad&gt;&lt;br&gt;<br/>圆的面积:&lt;input&nbsp;type=text&nbsp;name=area&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=计算圆的面积&nbsp;onclick=document.form1.area.value=document.form1.rad.value*document.form1.rad.value*Math.PI&gt;<br/>&lt;/form&gt;<br/>2.生成随机数<br/>&lt;script&gt;<br/>array1=new&nbsp;Array(<br/>&#34;这是第1句&#34;,<br/>&#34;这是第2句&#34;,<br/>&#34;这是第3句&#34;,<br/>&#34;这是第4句&#34;,<br/>&#34;这是第5句&#34;,<br/>&#34;这是第6句&#34;)<br/>RandomNo=Math.floor(array1.length*Math.random())<br/>document.write(&#34;随机输出某一句&#34;+&#34;&lt;br&gt;&#34;+array1[RandomNo])<br/>&lt;/script&gt;<br/>3.使用平方根<br/>&lt;form&nbsp;name=form1&gt;<br/>value:&lt;input&nbsp;type=text&nbsp;name=va1&gt;&lt;br&gt;<br/>平方根&lt;input&nbsp;type=text&nbsp;name=sqrt&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=计算平方根<br/>onclick=&#34;document.form1.sqrt.value=Math.sqrt(document.form1.va1.value)&#34;&gt;<br/>&lt;/form&gt;<br/>4.数字的舍入<br/>&lt;form&nbsp;name=form1&gt;<br/>输入&lt;input&nbsp;type=text&nbsp;name=val&gt;&lt;br&gt;<br/>舍入的结果&lt;input&nbsp;type=text&nbsp;name=round&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=计算结果&nbsp;onclick=document.form1.round.value=Math.round(document.form1.val.value)&gt;<br/>&lt;/form&gt;<br/>5.乘方运算<br/>&lt;form&nbsp;name=form1&gt;<br/>底数&lt;input&nbsp;type=text&nbsp;name=val&gt;&lt;br&gt;<br/>指数&lt;input&nbsp;type=text&nbsp;name=power&gt;&lt;br&gt;<br/>幂&lt;input&nbsp;type=text&nbsp;name=result&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=计算结果&nbsp;&nbsp;&nbsp;onclick=&#34;document.form1.result.value=Math.pow&nbsp;(document.form1.val.value,document.form1.power.value)&#34;&gt;<br/>&lt;/form&gt;<br/>6.发现最小值和最大值<br/>&lt;form&nbsp;name=form1&gt;<br/>数字1&lt;input&nbsp;type=text&nbsp;name=val1&gt;&lt;br&gt;<br/>数字2&lt;input&nbsp;type=text&nbsp;name=val2&gt;&lt;br&gt;<br/>最小值&lt;input&nbsp;type=text&nbsp;name=min&gt;&lt;br&gt;<br/>最大值&lt;input&nbsp;type=text&nbsp;name=max&gt;&lt;br&gt;<br/>数字1&lt;input&nbsp;type=button&nbsp;value=计算&nbsp;&nbsp;onclick=&#34;document.form1.min.value=Math.min&nbsp;(document.form1.val1.value,document.form1.val2.value);document.form1.max.value=&nbsp;&nbsp;Math.max(document.form1.val1.value,document.form1.val2.value)&#34;&gt;<br/>&lt;/form&gt;<br/>第十二章&nbsp;使用表单<br/>1.使用文本框<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=text&nbsp;value=&#34;information&nbsp;,please&#34;name=text1&gt;<br/>&lt;/form&gt;<br/>&lt;script&gt;<br/>document.write(&#34;表单text1类型是:&nbsp;&#34;+document.form1.text1.type+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单text1名称是:&nbsp;&#34;+document.form1.text1.name+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单text1值是:&nbsp;&#34;+document.form1.text1.value+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单text1大小是:&nbsp;&#34;+document.form1.text1.size+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/><br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text1&nbsp;value=click&nbsp;here<br/>onfocus=document.form1.text1.sel&#101;ct()&gt;<br/>&lt;/form&gt;<br/>2.使用密码框<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=password&nbsp;name=pw1&nbsp;value=daylight&gt;<br/>&lt;/form&gt;<br/>&lt;script&gt;<br/>document.write(&#34;表单pw1的类型:&#34;+document.form1.pw1.type+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单pw1的名称:&#34;+document.form1.pw1.name+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单pw1的值:&#34;+document.form1.pw1.value+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单pw1的大小:&#34;+document.form1.pw1.size+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>3.使用隐藏字段<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=hidden&nbsp;name=hid1&nbsp;value=piece&nbsp;of&nbsp;eight&gt;<br/>&lt;/form&gt;<br/>&lt;script&gt;<br/>document.write(&#34;表单hid1的类型:&#34;+document.form1.hid1.type+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单hid1的名称:&#34;+document.form1.hid1.name+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单hid1的值:&#34;+document.form1.hid1.value+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>4.使用文本区域框<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;textarea&nbsp;name=ta1&gt;how&nbsp;many&nbsp;grains&nbsp;of&nbsp;sand&nbsp;are&nbsp;there&nbsp;in&nbsp;the&nbsp;sahara&nbsp;desert?&lt;/textarea&gt;<br/>&lt;/form&gt;<br/>&lt;script&gt;<br/>document.write(&#34;表单ta1的类型:&#34;+document.form1.ta1.type+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单ta1的名称:&#34;+document.form1.ta1.name+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单ta1的值:&#34;+document.form1.ta1.value+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单ta1的横向宽度:&#34;+document.form1.ta1.cols+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单ta1的纵向宽度:&#34;+document.form1.rows.value+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/><br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;textarea&nbsp;name=ta1&nbsp;rows=4&nbsp;onfocus=&#34;document.form1.ta1.sel&#101;ct()&#34;&gt;&nbsp;how&nbsp;many&nbsp;grains&nbsp;of&nbsp;sand&nbsp;are&nbsp;there&nbsp;in&nbsp;the&nbsp;sahara&nbsp;desert?&lt;/textarea&gt;<br/>&lt;/form&gt;<br/>5.使用按钮<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=标准按钮&gt;<br/>&lt;/form&gt;<br/>&lt;script&gt;<br/>document.write(&#34;表单button1的类型:&#34;+document.form1.button1.type+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单button1的名称:&#34;+document.form1.button1.name+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单button1的值:&#34;+document.form1.button1.value+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/><br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text1&nbsp;size=45&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=panic&nbsp;button&nbsp;&nbsp;onclick=&#34;document.form1.text1.value=&#39;sittle&nbsp;down,count&nbsp;to&nbsp;10&nbsp;and&nbsp;take&nbsp;a&nbsp;deep&nbsp;breath&#39;&#34;&gt;<br/>&lt;/form&gt;<br/>6.使用重置按钮<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=reset&nbsp;name=reset1&nbsp;value=&#34;rest&nbsp;form&#34;&gt;<br/>&lt;/form&gt;<br/>&lt;script&gt;<br/>document.write(&#34;表单reset1的类型:&#34;+document.form1.reset1.type+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单reset1的名称:&#34;+document.form1.reset1.name+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单reset1的值:&#34;+document.form1.reset1.value+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>7.使用提交按钮<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=submit&nbsp;name=submit1&nbsp;value=&#34;submit&nbsp;form&#34;&gt;<br/>&lt;/form&gt;<br/>&lt;script&gt;<br/>document.write(&#34;表单submit1的类型:&#34;+document.form1.submit1.type+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单submit1的名称:&#34;+document.form1.submit1.name+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单submit1的值:&#34;+document.form1.submit1.value+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>8.使用复选按钮<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=checkbox&nbsp;name=cb1&nbsp;&gt;computer&nbsp;savvy?<br/>&lt;/form&gt;<br/>&lt;script&gt;<br/>document.write(&#34;表单cb1的类型:&#34;+document.form1.cb1.type+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单cb1是否被选择?:&#34;+document.form1.cb1.checked+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;表单cb1的名称:&#34;+document.form1.cb1.name+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>9.使用单选按钮<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=radio&nbsp;name=radio1&gt;male<br/>&lt;input&nbsp;type=radio&nbsp;name=radio1&gt;female<br/>&lt;/form&gt;<br/>&lt;script&gt;<br/>document.write(&#34;第一个按钮被选择&#34;+document.form1.radio1[0].checked+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;第二个按钮被选择&#34;+document.form1.radio1[1].checked+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;按钮的名称&#34;+&nbsp;document.form1.radio1[0].name+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;按钮的个数&#34;+document.form1.radio1.length)<br/>&lt;/script&gt;<br/>10.使用选择列表<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;sel&#101;ct&nbsp;name=sel&#101;ct1&nbsp;size=4&gt;<br/>&lt;option&nbsp;name=option1&nbsp;value=lon&gt;london,England&lt;/option&gt;<br/>&lt;option&nbsp;name=option2&nbsp;value=dub&gt;Dublin,Ireland&lt;/option&gt;<br/>&lt;/sel&#101;ct&gt;<br/>&lt;/form&gt;<br/>&lt;script&gt;<br/>document.write(&#34;这个选择列表的名称&#34;+document.form1.sel&#101;ct1.name+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;这个选择列表的长度&#34;+document.form1.sel&#101;ct1.length+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;这个选择列表当前被选择的索引号&#34;+document.form1.sel&#101;ct1.sel&#101;ctedIndex+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;这个选择列表的尺寸&#34;+document.form1.sel&#101;ct1.size+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>11.验证表单的有效性<br/>&lt;script&gt;<br/>function&nbsp;validate(){<br/>if(document.form1.text1.value!=&#39;1&#39;||&#39;2&#39;||&#39;3&#39;||&#39;4&#39;){<br/>alert(&#34;请输入1~4的整数&#34;)<br/>}<br/>}<br/>&lt;/script&gt;<br/>&lt;form&nbsp;name=form1&gt;<br/>请输入1~4的整数:<br/>&lt;input&nbsp;type=text&nbsp;name=text1&nbsp;size=4&nbsp;onchange=validate()&gt;<br/>&lt;/form&gt;<br/>12.控制表单焦点<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text1&nbsp;value=wh&#101;re&nbsp;is&nbsp;you&nbsp;focus?&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text2&nbsp;value=is&nbsp;there?&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=text&nbsp;name=text3&nbsp;value=or&nbsp;maybe&nbsp;here?&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=&#34;text&nbsp;box&nbsp;#1&#34;&nbsp;onclick=document.form1.text1.focus()&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button2&nbsp;value=&#34;text&nbsp;box&nbsp;#2&#34;&nbsp;onclick=document.form1.text2.focus()&gt;&lt;br&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button3&nbsp;value=&#34;text&nbsp;box&nbsp;#3&#34;&nbsp;onclick=document.form1.text3.focus()&gt;&lt;br&gt;<br/>&lt;/form&gt;<br/>第十三章&nbsp;使用分栏<br/>第十四章&nbsp;使用navigator<br/>1.使用navigator对象<br/>&lt;script&gt;<br/>document.write(&#34;navigator对象的属性&#34;+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;appcodename:&#34;+navigator.appCodeName+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;appname::&#34;+navigator.appName+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;appversion:&#34;+navigator.appVersion+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;platform:&#34;+navigator.platform+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;userAgent:&#34;+navigator.userAgent+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/>&lt;script&gt;<br/>document.write(&#34;navigator对象的方法&#34;+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;javaEnabled():&#34;+navigator.javaEnabled())<br/>&lt;/script&gt;<br/>2.检查用户的浏览器<br/>&lt;script&gt;<br/>if(navigator.appName.indexOf(&#34;Microsoft&#34;)!=-1){<br/>document.write(&#34;用户浏览器是微软的IE浏览器&#34;+&#34;&lt;br&gt;&#34;)}<br/>else&nbsp;if(navigator.appName.indexOf(&#34;Netscape&#34;)!=-1){<br/>document.write(&#34;用户浏览器是netscape的netscape浏览器&#34;+&#34;&lt;br&gt;&#34;)}<br/>if(navigator.appVersion.indexOf(&#34;4.0&#34;)!=-1){<br/>document.write(&#34;you&nbsp;are&nbsp;using&nbsp;a&nbsp;version&nbsp;4.0compatible&nbsp;browser&#34;)<br/>}<br/>else{<br/>document.write(&#34;this&nbsp;browser&nbsp;is&nbsp;not&nbsp;4.0&nbsp;compliant&#34;)}<br/>&lt;/script&gt;<br/>3.检测用户的操作系统<br/>&lt;script&gt;<br/>if&nbsp;(navigator.platform.indexOf(&#34;win32&#34;)!=-1){<br/>document.write(&#34;you&nbsp;are&nbsp;using&nbsp;a&nbsp;computer&nbsp;running&nbsp;windows&nbsp;95&nbsp;o&#114;&nbsp;highter&#34;)}<br/>else{<br/>document.write(&#34;this&nbsp;computer&nbsp;is&nbsp;not&nbsp;running&nbsp;windows&nbsp;95&nbsp;o&#114;&nbsp;higher&#34;)}<br/>&lt;/script&gt;<br/>4.使用location对象<br/>&lt;script&gt;<br/>document.write(&#34;location对象的属性&#34;+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;hash&#34;+location.hash+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;hostname&#34;+location.hostname+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;host&#34;+location.host+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;href&#34;+location.href+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;port&#34;+location.port+&#34;&lt;br&gt;&#34;)<br/>document.write(&#34;search&#34;+location.search+&#34;&lt;br&gt;&#34;)<br/>&lt;/script&gt;<br/><br/>重新加载网页<br/>&lt;form&nbsp;name=form1&gt;<br/>&lt;input&nbsp;type=button&nbsp;name=button1&nbsp;value=重新加载本页&nbsp;onclick=location.reload&gt;<br/>&lt;/form&gt;<br/>5.使用cookie<br/>&lt;script&gt;<br/>finction&nbsp;makecookie(){<br/>if(!document.cookie){<br/>name=prompt(&#34;请输入你的姓名&#34;);<br/>document.cookie=&#34;name=&#34;+name+&#34;;&#34;;}<br/>}<br/>&lt;/script&gt;<br/><br/>&lt;body&nbsp;onload=makecookie()&gt;<br/>&lt;script&gt;<br/>function&nbsp;makecookie(){<br/>if(!document.cookie){<br/>name=prompt(&#34;请输入你的姓名&#34;)<br/>document.cookie=&#34;name=&#34;+name+&#34;;&#34;;<br/>namestart=document.cookie.indexOf(&#34;=&#34;);&nbsp;<br/>nameend=document.cookieindexOf(&#34;;&#34;);<br/>document.writeln(&#34;your&nbsp;name&nbsp;is:&#34;+document.cookie.substring(namestart+1,nameend)+&#34;,br&gt;&#34;)<br/>}<br/>}<br/>&lt;/script&gt;<br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.web-kevin.com/blog/default.asp?id=508" /> 
	  <id>http://www.web-kevin.com/blog/default.asp?id=508</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[经典彩页（宣传页）设计欣赏]]></title>
	  <author>
		 <name>kevin</name>
		 <uri>http://www.web-kevin.com/blog/</uri>
		 <email>25504754@163.com</email>
	  </author>
	  <category term="" scheme="http://www.web-kevin.com/blog/default.asp?cateID=8" label="平面设计" /> 
	  <updated>2008-06-04T17:52:06+08:00</updated>
	  <published>2008-06-04T17:52:06+08:00</published>
		  <summary type="html"><![CDATA[<img src="http://www.web-kevin.com/blog/attachments/month_0806/g200864175054.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/f20086417510.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/v20086417518.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/y200864175114.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/z200864175121.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/n200864175129.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/6200864175136.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/n200864175141.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/8200864175152.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/4200864175157.jpg" border="0" alt=""/><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.web-kevin.com/blog/default.asp?id=507" /> 
	  <id>http://www.web-kevin.com/blog/default.asp?id=507</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[经典杂志封面设计欣赏]]></title>
	  <author>
		 <name>kevin</name>
		 <uri>http://www.web-kevin.com/blog/</uri>
		 <email>25504754@163.com</email>
	  </author>
	  <category term="" scheme="http://www.web-kevin.com/blog/default.asp?cateID=8" label="平面设计" /> 
	  <updated>2008-06-04T17:48:09+08:00</updated>
	  <published>2008-06-04T17:48:09+08:00</published>
		  <summary type="html"><![CDATA[<img src="http://www.web-kevin.com/blog/attachments/month_0806/0200864174653.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/y20086417470.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/y20086417479.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/b200864174735.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/q200864174745.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/o200864174751.jpg" border="0" alt=""/><br/><br/><img src="http://www.web-kevin.com/blog/attachments/month_0806/n200864174759.jpg" border="0" alt=""/><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.web-kevin.com/blog/default.asp?id=506" /> 
	  <id>http://www.web-kevin.com/blog/default.asp?id=506</id> 
  </entry>	
		
</feed>
