Tip: you can modify some code before running
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="imagetoolbar" content="no"><title>Page Flip</title><style><!--body{text-align:center;margin:20px 0px 0px 0px;}table{border:0px;}.sp{width:520px;height:400px;border:2px solid #FFCC00;text-align:center;line-height:400px;}.sn{width:520px;height:30px;text-align:center;line-height:30px;}img{border:0px;cursor:pointer;}--></style><script language="javascript"><!--var photo=new Array(4);var photoname=new Array(4);photo[0]="http://www.2p9p.com/xfdipzone/photo/1.jpg"photoname[0]="柳梦璃"photo[1]="http://www.2p9p.com/xfdipzone/photo/2.jpg"photoname[1]="韩菱纱"photo[2]="http://www.2p9p.com/xfdipzone/photo/3.jpg"photoname[2]="云天河"photo[3]="http://www.2p9p.com/xfdipzone/photo/4.jpg"photoname[3]="慕容紫英"var currid=0;function showphoto(){if(window.event.x>window.screen.width/2){ currid=currid+1;}else{ currid=currid-1;}if(currid>=4){currid=0;}else if(currid<0){currid=3;}inphoto.src=photo[currid];fn.innerHTML=photoname[currid];}function changestyle(o){if(window.event.offsetX>=o.clientWidth/2){ o.style.cursor="url("+"http://www.2p9p.com/xfdipzone/photo/next.ani"+")"; o.alt="点击显示下一张";}else{ o.style.cursor="url("+"http://www.2p9p.com/xfdipzone/photo/pre.ani"+")"; o.alt="点击显示上一张";}}function preloadimage(){photo1=new Image();photo1.src="http://www.2p9p.com/xfdipzone/photo/1.jpg"photo2=new Image();photo2.src="http://www.2p9p.com/xfdipzone/photo/2.jpg"photo3=new Image();photo3.src="http://www.2p9p.com/xfdipzone/photo/3.jpg"photo4=new Image();photo4.src="http://www.2p9p.com/xfdipzone/photo/4.jpg"photopre=new Image();photopre.src="http://www.2p9p.com/xfdipzone/photo/pre.ani"photonext=new Image();photonext.src="http://www.2p9p.com/xfdipzone/photo/next.ani"}--></script></head><body onload="preloadimage()"><table> <tr> <td class="sp"></td> </tr> <tr> <td class="sn">Liu mengmiao</td> </tr> <tr> <td class="sn">Click the picture to display the upper and lower Pictures</td> </tr></table></body></html>
Tip: you can modify some code before running