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

📄 big.htm

📁 javascript source code part2
💻 HTM
字号:
<!--big.htm-->
<HTML><HEAD>
<SCRIPT>
function recall_selection()
{
  if ( top == self )          // make sure this is a frame.
     self.location.href = "catalog.htm";
  if (top.cart["CH"])
  {
    document.frm.c1.checked = true;
    document.frm.v1.value = top.cart["CH"].quantity;
  }
  if (top.cart["LV"])
  {
    document.frm.c2.checked = true;
    document.frm.v2.value = top.cart["LV"].quantity;
  }
  if (top.cart["AO"])
  {
    document.frm.c3.checked = true;
    document.frm.v3.value = top.cart["AO"].quantity;
  }
}
</SCRIPT>
<BODY ONLOAD="recall_selection()">
<SCRIPT>
if ( top == self )            // make sure this is a frame.
  self.location.href = "catalog.htm";
</SCRIPT>
<FORM name="frm">
Big stuff for sale today.<BR>
Check the items required and enter a quantity for each
<BR><BR><BR><INPUT TYPE="checkbox" NAME='c1'
      ONCLICK="document.frm.v1.value='0'">
<INPUT TYPE="text" NAME='v1' MAXLENGTH=2 SIZE=2
       ONCHANGE=
      "top.cart['CH']=new top.Item('CombineHarvester',145000,this.value)"

>
Combine Harvester - $145,000.00
<BR>
<INPUT TYPE="checkbox" NAME='c2'
      ONCLICK="document.frm.v2.value='1'">
<INPUT TYPE="text" NAME='v2' MAXLENGTH=2 SIZE=2
       ONCHANGE=
       "top.cart['LV']=new top.Item('Lunar Vehicle',6000000,this.value)"
>
Lunar Re-entry Vehicle - $6,000,000.00
<BR>
<INPUT TYPE="checkbox" NAME='c3'
      ONCLICK="document.frm.v3.value='0'">
<INPUT TYPE="text" NAME='v3' MAXLENGTH=2 SIZE=2
       ONCHANGE=
       "top.cart['AO']=new top.Item('Arctic Ocean',123,this.value)"
>
Arctic Ocean - $123.00
</FORM></BODY></HTML>

⌨️ 快捷键说明

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