※ 實用計算機 ※
   加入網頁步驟  
 
  1. 下載本檔 174.zip

  2. 將此壓縮檔用 winzip6.2 以上版本解開(用 winzip6.2 才不會出現長檔名不完全的情形),解壓縮到您放網頁的目錄中。(假設您網頁放在www目錄中,就將此壓縮檔解到www目錄中)

  3. 將以下的控制碼先複製起來。(用滑鼠將底下的一堆碼,標記起來,按滑鼠右鍵選擇【複製】就行啦!)

  4. 先將<BODY>先拿掉

  5. 然後在網頁中的 </HEAD> 之後將剛剛複製的東西貼上就大功告成了  !(按滑鼠右鍵選擇【貼上】就行啦!)

Copyright Power Information All Rights Reserved.

※實用計算機展示區※


<script LANGUAGE="JavaScript">

function pad(anystr) {
document.calc.shownum.value += anystr
}

function calcit() {
document.calc.shownum.value = eval(document.calc.shownum.value)
}

function clearit() {
document.calc.shownum.value = ""
}

function backspace() {
curvalue = document.calc.shownum.value
curlength = curvalue.length
curvalue = curvalue.substring(0,curlength-1)
document.calc.shownum.value = curvalue
}

</script>
<body background="jpg/01_bkg1.jpg">

<p align="center"><map NAME="calcmap">
<area SHAPE="RECT" COORDS="10,80,40,106" HREF="javascript:pad('1')">
<area SHAPE="RECT" COORDS="49,80,78,106" HREF="javascript:pad('2')">
<area SHAPE="RECT" COORDS="88,79,117,106" HREF="javascript:pad('3')">
<area SHAPE="RECT" COORDS="128,81,158,105" HREF="javascript:pad('+')">
<area SHAPE="RECT" COORDS="11,115,39,141" HREF="javascript:pad(" 0")">
<area SHAPE="RECT" COORDS="49,115,78,142" HREF="javascript:pad('.')">
<area SHAPE="RECT" COORDS="89,116,119,141" HREF="javascript:calcit()">
<area SHAPE="RECT" COORDS="128,116,158,142" HREF="javascript:pad('-')">
<area SHAPE="RECT" COORDS="167,80,194,105" HREF="javascript:pad('*')">
<area SHAPE="RECT" COORDS="167,116,196,141" HREF="javascript:pad('/')">
<area SHAPE="RECT" COORDS="11,43,39,71" HREF="javascript:pad('4')">
<area SHAPE="RECT" COORDS="50,45,77,69" HREF="javascript:pad('5')">
<area SHAPE="RECT" COORDS="88,44,117,71" HREF="javascript:pad('6')">
<area SHAPE="RECT" COORDS="127,44,158,71" HREF="javascript:pad(')')">
<area SHAPE="RECT" COORDS="165,43,196,70" HREF="javascript:backspace()">
<area SHAPE="RECT" COORDS="10,7,40,33" HREF="javascript:pad('7')">
<area SHAPE="RECT" COORDS="48,7,81,35" HREF="javascript:pad('8')">
<area SHAPE="RECT" COORDS="87,7,117,34" HREF="javascript:pad('9')">
<area SHAPE="RECT" COORDS="127,7,156,34" HREF="javascript:pad('(')">
<area SHAPE="RECT" COORDS="166,7,195,35" HREF="javascript:clearit()"></map>
<form NAME="calc">
<table BORDER="1" BGCOLOR="#C0C0C0">
<tr>
<td WIDTH="213"><center>
<p align="center"><input NAME="shownum" VALUE MAXLENGTH="25" SIZE="25"></p>
</center></td>
</tr>
<tr>
<td WIDTH="213">
<img USEMAP="#calcmap" SRC="calcbttn.gif" BORDER="0" width="206" height="153">
</td>
</tr>
</table>
</form>