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

📄 001.html

📁 功能强大的bbs
💻 HTML
字号:
<html>
<head>
<script language="JavaScript">
function processForm(form){
var xf,hc1, hc2, hc3, hc4, hc5, hc6, hc7, hc8, hc9;
xf=hc1=hc2=hc3=hc4=hc5=hc6=hc7=hc8=hc9=0;
//loops through the radio buttons finding out which one is selected
if (form.c1[0].checked==1) hc1=-1;
if (form.c1[1].checked==1) hc1=3;
if (form.c2[0].checked==1) hc2=-1;
if (form.c2[2].checked==1) hc2=3;
if (form.c3[0].checked==1) hc3=3;
if (form.c4[0].checked==1) hc4=3;
if (form.c4[2].checked==1) hc4=-1;
if (form.c5[0].checked==1) hc5=-1;
if (form.c5[1].checked==1) hc5=3;
if (form.c6[0].checked==1) hc6=3;
if (form.c6[1].checked==1) hc6=-1;
if (form.c7[0].checked==1) hc7=3;
if (form.c8[0].checked==1) hc8=3;
if (form.c9[0].checked==1) hc9=3;
if (form.c9[1].checked==1) hc9=-1;
xf=Math.ceil((hc1+hc2+hc3+hc4+hc5+hc6+hc7+hc8+hc9)*10/3);		
form.answer.value="你的恋爱成功率为"+xf+"%";
}</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<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>
<title>情感自测:速算恋爱成功率</title>
</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="85">
    <tr> 
      <td width="517" height="52" 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>
    <tr> 
      <td width="517" height="17"><span
    style="font-family: 宋体; font-size: 9pt; line-height: 15px">请你选择答案。</span></td>
    </tr>
  </table>
</div>
<form name="see">
  <div align="left">
    <table border="0" cellpadding="10" cellspacing="0" width="517"
  height="388">
      <tr> 
        <td width="517" height="1"><span
      style="font-family: 宋体; font-size: 9pt; line-height: 15px">1、与情人相处,能否直接询问对方是不是爱你?
          <input
      name="c1" type="radio" value="1">
          能。
          <input name="c1" type="radio" value="3">
          不能。</span></td>
      </tr>
      <tr> 
        <td width="517" height="1"><span
      style="font-family: 宋体; font-size: 9pt; line-height: 15px">2、恋爱结婚主要是解决:
          <input
      name="c2" type="radio" value="3">
          性欲。
          <input name="c2" type="radio" value="1">
          生活。
          <input
      name="c2" type="radio" value="5">
          亲密伴侣。</span></td>
      </tr>
      <tr> 
        <td width="517" height="1"><span
      style="font-family: 宋体; font-size: 9pt; line-height: 15px">3、从恋爱到结婚时间是否需要长一点。
          <input
      name="c3" type="radio" value="5">
          要。
          <input name="c3" type="radio" value="1">
          不要。</span></td>
      </tr>
      <tr> 
        <td width="517" height="35"><span
      style="font-family: 宋体; font-size: 9pt; line-height: 15px">4、嫉妒是什么信号:
          <input
      name="c4" type="radio" value="51">
          爱。
          <input name="c4" type="radio" value="11">
          不安。
          <input
      name="c4" type="radio" value="31">
          竞争。</span></td>
      </tr>
      <tr> 
        <td width="517" height="35"><span
      style="font-family: 宋体; font-size: 9pt; line-height: 15px">5、可以在情人面前与别的异性过于亲热吗?
          <input
      name="c5" type="radio" value="52">
          可以。
          <input name="c5" type="radio" value="12">
          不可以。</span></td>
      </tr>
      <tr> 
        <td width="517" height="35"><span
      style="font-family: 宋体; font-size: 9pt; line-height: 15px">6、能同时和两个人要好吗?
          <input
      name="c6" type="radio" value="53">
          不能。
          <input name="c6" type="radio" value="13">
          能。</span></td>
      </tr>
      <tr> 
        <td width="517" height="35"><span
      style="font-family: 宋体; font-size: 9pt; line-height: 15px">7、许多人对婚后生活满怀奢望,结果常常落空,是这样吗?
          <input
      name="c7" type="radio" value="3">
          是。
          <input name="c7" type="radio" value="5">
          不是。</span></td>
      </tr>
      <tr> 
        <td width="517" height="35"><span
      style="font-family: 宋体; font-size: 9pt; line-height: 15px">8、哪种人最经不起失恋和孤寂之苦,女人还是男人?
          <input
      name="c8" type="radio" value="3">
          女人。
          <input name="c8" type="radio" value="5">
          男人。</span></td>
      </tr>
      <tr> 
        <td width="517" height="35"><span
      style="font-family: 宋体; font-size: 9pt; line-height: 15px">9、忠贞是搞好婚姻的重要原则吗?
          <input
      name="c9" type="radio" value="53">
          是。
          <input name="c9" type="radio" value="13">
          不是。</span></td>
      </tr>
      <tr> 
        <td width="517" height="25" align="center"><span
      style="font-family: 宋体; font-size: 9pt; line-height: 15px">
          <input type="button"
      value="都选择完了,结果怎样?" onClick="processForm(this.form)"
      style="font-size: 9pt; font-family: 宋体">
          <input type="text" name="answer" size="24"
      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="520" height="22"><span
    style="font-family: 宋体; font-size: 9pt; line-height: 15px"><font color="#FF0000">说明</font><strong>:</strong>最高成功率为90%。</span></td>
    </tr>
  </table>
</div>
</body>
</html>

⌨️ 快捷键说明

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