用以下代码 <script language=JavaScript><! coff = new Image(); coffsrc = 图片位置; con = new Image(); consrc = 图片位置; function img_act(imgName) { imgOn = eval(imgName+onsrc); document[imgName]src = imgOn; } function img_inact(imgName) { imgOff = eval(imgName+offsrc); document[imgName]src = imgOff; } function erase() { windowstatus=网页教学网; } function moveover(txt) { windowstatus=txt; } // ></script></p> <a img_act(c);moveover(图片名);return true; onmouseout=img_inact(c);return true;><img src=图片位置 border= width= height= name=c></a> |