Português
<html> <head> <title> 建站学院幻灯片演示效果 </title> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin //mais javascript de http://www.downcodes.com var interval = 6 ; // intervalo de atraso entre imagens rotativas (em segundos) *= 1000; var flagtime=0; var índice_imagem = -1; lista_imagem = new Array(); lista_notas = novo noteArray(10); var número_de_imagem = image_list.length; var núm.tempo=0; //下面为图片的位置 image_list[0] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b0-a.jpg"); lista_imagem[1] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b1-a.jpg"); lista_imagem[2] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b2-a.jpg"); lista_imagem[3] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b3-a.jpg"); lista_imagem[4] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b4-a.jpg"); lista_imagem[5] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b5-a.jpg"); lista_imagem[6] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b6-a.jpg"); lista_imagem[7] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b7-a.jpg"); lista_imagem[8] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b8-a.jpg"); lista_imagem[9] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b9-a.jpg"); //下面为图片的说明文字 note_list[0] = "建站学院图片展示特效说明1"; note_list[1] = " 建站学院图片展示特效说明2"; note_list[2] = "建站学院图片展示特效说明3"; note_list[3] = "建站学院图片展示特效说明4"; note_list[4] = " 建站学院图片展示特效说明5"; note_list[5] = "建站学院图片展示特效说明6"; note_list[6] = "建站学院图片展示特效说明7"; note_list[7] = "建站学院图片展示特效说明8"; note_list[8] = " 建站学院图片展示特效说明9"; note_list[9] = "建站学院图片展示特效说明10"; function noteArray(tamanho) { this.length=tamanho; for(i=1;i<=size;i++) { this[i]="" } return this; } function contadornum(){ if(timesnum < 10-1){ timesnum++; document.all.slide_ent.src="about:blank"; document.all.slide_ent.src="http://cn.biz.yahoo.com/slideshow/spaceid_slideshow.html"; } } função run(obj){ intervalo=obj.options[obj.selectedIndex].value*1000; girarImagem(); } função parar(){ intervalo=0; } função anterior(){ var nova_imagem = getPreviousImage(); documento['rImage'].src = nova_imagem; } function next(){ var new_image = getNextImage(); documento['rImage'].src = nova_imagem; } function imageItem(image_location) { this.image_item = new Image(); this.image_item.src = image_location; } function noteItem(nota) { this.note_item = new Image(); this.note_item.src = nota; } função get_ImageItemLocation (imageObj) { return (imageObj.image_item.src) } função get_NoteItemLocation (noteObj) { return (noteObj.note_item.src) } função generate (x, y) { var range = y - x + 1; retornar Math.floor(Math.random() * intervalo) + x; } function getPreviousImage() { image_index = image_index-1; if (índice_imagem < 0){ índice_imagem=índice_imagem+10; } var new_image = get_ImageItemLocation(image_list[image_index]); document.all.span_1.innerText=image_index+1; document.all.summary.innerText=note_list[image_index]; return(nova_imagem); } function getNextImage() { índice_imagem = índice_imagem+1; if (image_index >= 10){ image_index=image_index-10; } var new_image = get_ImageItemLocation(image_list[image_index]); document.all.span_1.innerText=image_index+1; document.all.summary.innerText=note_list[image_index]; return(nova_imagem); } function rotateImage() { if (intervalo == 0){ return 1; } if (flagtime == 1){ var agora = new Date(); var time1 = now.getTime(); var hora2; tempo1=tempo1+3000; time2=agora.getTime(); while(hora2 < hora1){ agora = new Data(); time2=agora.getTime(); } flagtime=0; } var nova_imagem = getNextImage(); documento['rImage'].src = nova_imagem; var recur_call = "rotateImage('"+'rImage'+"')"; setTimeout(recur_call,intervalo); } // Fim --> </script> <meta http-equiv="content-type" content="text/html; charset=gb2312"> <script type="text/javascript" src="http:// cn.yimg.com/script/hp/ygcss.js"></script> </head> <body bgColor=#ffffff topmargin=0 leftmargin=0> <iframe id="slide_ent" src="http:// cn.biz.yahoo.com/slideshow/spaceid_slideshow.html" style="display:none"></iframe> <center> <center> <table width="468" border="0" cellpacing="0" cellpadding ="0" bgcolor="#FFF2DF"> <tr> <td valign="top" align="center"> <table width="100%" border="0" cellpacing="0" cellpadding="0" style="border-bottom:solid 1px #766D7C;"> <tr> <td height="47"><img src="/images/logo.gif"></td> </tr> </table> <table width="100%" border="0" cellpacing="0" cellpadding="0" bgcolor="#9F90CC" style="border-top:solid 1px #ffffff;"> <tr> <td height= "25" valign="bottom"> <!----> <table width="100%" border="0" cellpacing="0" cellpadding="0"> <tr> <td style="text- indent:5px;"></td> <td width="100%"> <table width="98%" cellpacing="0" cellpadding="0" border="0"> <tr align="center" > <td nowarp><big><b>酷图放映:</b></big></td> <td nowrap width=10%>连接</td> <td></td> <td width ="10%" nowrap >连接1</td> <td></td> <td width="10%" nowrap>连接2</td> <td></td> <td width="10% " nowrap>连接3</td> <td></td> <td width="10%" nowrap>连接4</td> <td></td> <td width="10%" nowrap>连接5</td> <td></td> <td width="14%" nowrap>连接6</td> </tr> </table> </td> <td></td> </tr > </table> <!--/--> </td> </tr> <tr> <td><img src="/u/info_img/2009-06/20/slideshow_bg.gif" width=" 468" height="3" border="0"></td> </tr> </table> <table width="100%" border="0" cellpacing="0" cellpadding="0"> < tr> <td height="13"></td> </tr> </table> <!--img447*333--> <table width="447" height="333" border="0" cellpacing ="0" cellpadding="0"> <tr> <td align="center"><img name="rImage" src=/u/info_img/2009-06/20/i20050429t110509b0-a.jpg onload="counternum ()" border="0"></td> </tr> </table> <!--/img447*333--> <!--text--> <table width="100%" border= "0" cellpacing="0" cellpadding="0"> <tr> <td align="center" id="summary" height="28"></td> </tr> </table> <!- --/text--> <!--bottom--> <table width="100%" border="0" cellpacing="0" cellpadding="0"> <tr> <td><img src="/ u/info_img/2009-06/20/slideshow_bg_3.gif" width="468" height="4" border="0"></td> </tr> <tr> <td bgcolor="#C9BEEB" altura ="25"> <table width="100%" border="0" cellpacing="0" cellpadding="1"> <nome do formulário=form1> <tr> <td width="80"></td> <td class="sbody" align="left"><span id=span_1>1</span>/10 <img src="/u/info_img/2009-06/20/slideshows_bottom_1 .gif" width="35" height="21" align="absmiddle" border="0" alt="开始" onclick="run(document.form1.select1)"> <img src=" /u/info_img/2009-06/20/slideshows_bottom_2.gif" width="35" height="21" align="absmiddle" border="0" alt="停止" onclick="stop()"> <img src="/u/info_img/2009-06/20/slideshows_bottom_3.gif" width="35" height="21" align="absmiddle" border="0" alt="前一张" onclick ="anterior()"> <img src="/u/info_img/2009-06/20/slideshows_bottom_4.gif" width="35" height="21" align="absmiddle" border="0 " alt="后一张" onclick="next()"> 速度: <select name="select1" onchange="run(this)"> <option value="12">12 seg.< /option> <option selected value="6">6 seg.</option> <option value="3">3 seg.</option> <option value="9">9 seg.</option> < /select></td> </tr> </form> </table> </td> </tr> <tr> <td height="1" bgcolor="#625A68"></td> </ tr> </table> <!--/bottom--> <table width="100%" border="0" cellpacing="0" cellpadding="0" style="border-top:solid 1px #ffffff; border-bottom:solid 1px #ffffff;"> <tr> <td bgcolor="#E2DCF5" height="28"> <table width="100%" border="0" cellpacing="0" cellpadding="0 "> <tr> <td width="10"></td> <td width="1%"></td> <td width="70" nowrap><a href="http://www. downcodes.com" target="_blank">网页制作</a></td> <td width="1%"></td> <td width="70" nowrap><a href="http:/ /www.downcodes.com" target="_blank">更多精彩</a></td> <td width="1%"></td> <td width="70" nowrap><a href= "http://www.downcodes.com" target="_blank">建站学院</a></td> <td width="215"></td> </tr> </table> </td > </tr> </table> </td> </tr> </table> <!--/--></center> <script language=javascript> flagtime=1; girarImagem(); slideit() </script> </body> </html>