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

📄 101.html

📁 漂亮的企业网站系统v11 1、整体修改了上一版的一些BUG。 2、修改了页面底部的统计形式。 3、修改了“公告更新”栏目
💻 HTML
字号:
<html>

<head><script Language="JavaScript">
function processForm(form){
var xf=0;
hc=new Array(20);
var roll_call=hc.length;
for (i=roll_call;i>0;i--)
{hc[i-1]=0};
//loops through the radio buttons finding out which one is selected
if (form.c1[1].checked==1) hc[0]=1;
if (form.c2[1].checked==1) hc[1]=1;
if (form.c3[0].checked==1) hc[2]=1;
if (form.c4[0].checked==1) hc[3]=1;
if (form.c5[1].checked==1) hc[4]=1;
if (form.c6[1].checked==1) hc[5]=1;
if (form.c7[0].checked==1) hc[6]=1;
if (form.c8[0].checked==1) hc[7]=1;
if (form.c9[1].checked==1) hc[8]=1;
if (form.c10[0].checked==1) hc[9]=1;
if (form.c11[0].checked==1) hc[10]=1;
if (form.c12[1].checked==1) hc[11]=1;
if (form.c13[0].checked==1) hc[12]=1;
if (form.c14[1].checked==1) hc[13]=1;
if (form.c15[1].checked==1) hc[14]=1;
if (form.c16[0].checked==1) hc[15]=1;
if (form.c17[0].checked==1) hc[16]=1;
if (form.c18[0].checked==1) hc[17]=1;
if (form.c19[1].checked==1) hc[18]=1;
if (form.c20[0].checked==1) hc[19]=1;
for (i=roll_call;i>0;i--)
{xf+=hc[i-1]};		
form.answer.value="你的得分为"+xf+"分";
}</script>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>个性自测:你是个乐观的人吗?</title>
<style>
<!--
        A:link {text-decoration: none; color: #0000ff; font-family: 宋体}
        A:visited {text-decoration: none; color: #DA82F7; font-family: 宋体}
        A:active {text-decoration: none; font-family: 宋体}
        A:hover {text-decoration: underline; color: #DA82F7}
-->
</style>
</head>

<body style="font-family: 宋体; font-size: 9pt" text="#208FFF"
background="main/back_r.gif" tppabs="http://humor.wotoo.com/test/main/back_r.gif">
<div align="left">

<table border="0" cellpadding="4" cellspacing="0" width="500" height="67">
  <tr>
    <td width="539" height="59"><p align="center"><span
    style="font-family: 宋体; font-size: 6pt">◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆</span><font
    color="#0000FF"><strong><span style="font-family: 宋体; font-size: 12pt">你是个乐观的人吗</span></strong></font><span
    style="font-family: 宋体; font-size: 6pt">◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇</span></td>
  </tr>
</table>
</div><div align="left">

<table border="0" cellpadding="4" cellspacing="0" width="500">
  <tr>
    <td width="538"><span style="font-family: 宋体; font-size: 9pt">你是个乐观主义者或悲观主义者吗?你透过亮丽或灰暗的镜子来看待人生吗?</span></td>
  </tr>
</table>
</div>

<form name="see">
  <div align="left"><table border="0" cellpadding="10" cellspacing="0" width="500"
  height="1">
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">1、如果半夜里听到有人敲门,你会认为那是坏消息,或有麻烦发生了吗?<br>
      <input name="c1" type="radio" value="12">是。 <input name="c1" type="radio" value="32">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">2、你随身带着安全别针或一条绳子,以防万一衣服或别的东西裂开了吗?<br>
      <input name="c2" type="radio" value="11">是。&nbsp; <input name="c2" type="radio"
      value="31">否。 </span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">3、你跟人打过赌吗? <input
      name="c3" type="radio" value="11">是。&nbsp;&nbsp;<input name="c3" type="radio"
      value="31">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">4、你曾梦想过赢了彩券或继承一笔大遗产吗?<input
      name="c4" type="radio" value="13">是。&nbsp;&nbsp;<input name="c4" type="radio"
      value="33">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">5、出门的时候,你经常带着一把伞吗? <input
      name="c5" type="radio" value="14">是。&nbsp;&nbsp;<input name="c5" type="radio"
      value="34">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">6、你把收入的大部分用来买保险吗?<input
      name="c6" type="radio" value="15">是。&nbsp;&nbsp;<input name="c6" type="radio"
      value="35">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">7、度假时,你曾经没预定旅馆就出门了吗? <input
      name="c7" type="radio" value="16">是。&nbsp;&nbsp;<input name="c7" type="radio"
      value="36">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">8、你觉得大部分的人都很诚实吗?<input
      name="c8" type="radio" value="17">是。&nbsp;&nbsp;<input name="c8" type="radio"
      value="37">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">9、度假时,把家门钥匙托朋友或邻居保管,你会将贵重物品事先锁起来吗?<br>
      <input name="c9" type="radio" value="18">是。&nbsp;&nbsp;<input name="c9" type="radio"
      value="38">否。 </span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">10、对于新的计划,你总是非常热衷吗?<input
      name="c10" type="radio" value="19">是。&nbsp;&nbsp;<input name="c10" type="radio"
      value="39">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">11、当朋友表示一定奉还时,你会答应借钱给他吗?<input
      name="c11" type="radio" value="110">是。&nbsp;&nbsp;<input name="c11" type="radio"
      value="310">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">12、大家计划去野餐或烤肉时,如果下雨,你仍会照原定计划准备吗?<br>
      <input name="c12" type="radio" value="111">是。&nbsp;&nbsp;<input name="c12"
      type="radio" value="311">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">13、在一般情况下,你信任别人吗? <input
      name="c13" type="radio" value="112">是。&nbsp;&nbsp;<input name="c13" type="radio"
      value="312">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">14、如果有重要的约会,你会提早出门,以防塞车、抛锚或别的状况发生吗?<br>
      <input name="c14" type="radio" value="113">是。&nbsp;&nbsp;<input name="c14"
      type="radio" value="313">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">15、如果医生叫你做一次身体检查,你会怀疑自己可能有病吗?<br>
      <input name="c15" type="radio" value="114">是。&nbsp;&nbsp;<input name="c15"
      type="radio" value="314">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">16、每天早晨起床时,你会期待又是美好一天的开始吗?<input
      name="c16" type="radio" value="115">是。&nbsp;&nbsp;<input name="c16" type="radio"
      value="315">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">17、收到意外的来函或包裹时,你会特别开心吗?<input
      name="c17" type="radio" value="115">是。&nbsp;&nbsp;<input name="c17" type="radio"
      value="315">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">18、你会随心所欲地花钱,等花完以后再发愁吗?<input
      name="c18" type="radio" value="116">是。&nbsp;&nbsp;<input name="c18" type="radio"
      value="316">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">19、上飞机前,你会买旅行保险吗?<input
      name="c19" type="radio" value="117">是。&nbsp;&nbsp;<input name="c19" type="radio"
      value="317">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="1"><span style="font-family: 宋体; font-size: 9pt">20、你对未来的十二个月充满希望吗?<input
      name="c20" type="radio" value="118">是。&nbsp;&nbsp;<input name="c20" type="radio"
      value="318">否。</span></td>
    </tr>
    <tr>
      <td width="539" height="27" align="center"><span
      style="font-family: 宋体; font-size: 9pt"><input type="button"
      value="都选择完了,结果怎样?" onClick="processForm(this.form)"
      style="font-size: 9pt; font-family: 宋体"><input type="text" name="answer" size="20"
      style="font-family: 宋体; font-size: 9pt; color: rgb(255,0,0)"></span></td>
    </tr>
  </table>
  </div>
</form>
<div align="left">

<table border="0" cellpadding="4" cellspacing="0" width="500" height="22">
  <tr>
    <td width="542" height="22"><font color="#FF0000"><span
    style="font-family: 宋体; font-size: 9pt; line-height: 15px">说明</span></font><p><span
    style="font-family: 宋体; font-size: 9pt; line-height: 15px"><strong>分数为0--7:</strong>你是个标准的悲观主义者,看人生总是看到不好的那一面。身为悲观者,唯一的好处是,你从来不往好处想,所以你也就很少失望过。然而,以悲观的态度面对人生,却有太多的不利;你随时会担心失败,因此宁愿不去尝试新的事物,尤其当遇到困难时,你的悲观会让你觉得人生更灰暗、更无法接受。悲观会使人产生沮丧、困惑、恐惧、气愤和挫折的心理。解决这种状况的唯一办法,是以积极的态度来面对每一件事或每一个人,即使你偶尔仍会感到失望,但逐渐地,你会对人生增加信心,胜过原来消极态度带给你的影响。</span></p>
    <p><span style="font-family: 宋体; font-size: 9pt; line-height: 15px"><strong>分数为8--14:</strong>你对人生的态度比较正常。不过,你仍然可以再进一步,只要你学会怎样以积极和乐观的态度来应付人生中无法避免的起伏情况。</span></p>
    <p><span style="font-family: 宋体; font-size: 9pt; line-height: 15px"><strong>分数为15--20:</strong>你是个标准的乐观主义者。你看人生总是看到好的那一面,将失望和困难摆到旁边去。乐观,使人更活的有劲,不过,要记住,有时候过分乐观,也会造成你对事情掉以轻心,结果反而误事。</span></td>
  </tr>
</table>
</div>
</body>
</html>
 </html>

⌨️ 快捷键说明

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