html部分 <html> <head> <title>手写板</title> </head> <body > <embed id="id1" src="sx.svg" mce_src="sx.svg" width="800" height="600" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/" /> </body> </html> sx.svg <svg οnlοad="init(evt)" width="210mm" height="297mm"> <!--A4用紙 --> <!-- onmousedown, onmousemove, onmouseup 三個事件用來處理手寫作業 --> <g οnmοusedοwn="mouseDown(evt)" οnmοusemοve="mouseMove(evt)" οnmοuseup="mouseUp(evt)"> <rect id="paper" x="0" y="0" width="210mm" height="297mm" stroke="black" fi