第一步:创建一个类clsTurnPicture 增加方法如下 : < img src='Resource/Image/TurnImage/slideshows_bottom_1.gif' alt='开始 ' onclick=""run(document.frmDispImage.select1)"" align='absmiddle' border ='0' height='21' width='35'> <img src='Resource/Image/TurnImage/slideshows_bottom_2.gif' alt ='停止' onclick=""stop();"" align='absmiddle' border='0' height='21' width ='35'> & nbsp; <img src='Resource/Image/TurnImage/slideshows_bottom_3.gif' alt ='前一张' onclick=""previous();"" align='absmiddle' border='0' height= '21' width='35'> <img src='Resource/Image/TurnImage/slideshows_bottom_4.gif' alt ='后一张' onclick=""next();"" align='absmiddle' border='0' height= '21' width='35'> 速度: <select name=""select1"" onchange=""run(this)""> <option value=""12"">12 sec.</option> <option selected=""selected"" value=""6"">6 sec.</option> <option value=""3"">3 sec.</option> <option value=""9"">9 sec.</option> </select></font></td> </tr> </tbody></table> </td> </tr> <tr> <td bgcolor='#625a68' height='1'></td> </tr> </tbody></table> </td> </tr> </tbody></table> <!--/--></center> <script language=""javascript""> flagtime=1; rotateImage();//修改为图片自动播放 <!--slideit()--> </script> </center>"; sb.Append(strHtml); sb.Append("</form></body></HTML>"); return sb.ToString(); }调用格式: } 相关文章: 2022-12-23 2021-12-04 2022-12-23 2022-12-23 2021-12-15 2021-12-08 2021-11-26 2021-11-17