中文(繁体)
<html> <head> <title> 建站學院幻燈片簡報效果 </title> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin //more javascript from http://www.downcodes.com var Interval = 6 ; // 旋轉影像之間的延遲(以秒為單位) Interval *= 1000; var 標誌時間=0; var image_index = -1;圖像列表=新數組(); note_list = 新的 noteArray(10); var number_of_image = image_list.length; var timesnum=0; //下面為圖片的位置 image_list[0] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b0-a.jpg"); image_list[1] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b1-a.jpg"); image_list[2] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b2-a.jpg"); image_list[3] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b3-a.jpg"); image_list[4] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b4-a.jpg"); image_list[5] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b5-a.jpg"); image_list[6] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b6-a.jpg"); image_list[7] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b7-a.jpg"); image_list[8] = new imageItem("/u/info_img/2009-06/20/i20050429t110509b8-a.jpg"); image_list[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 ";函數 noteArray(size) { this.length=size; for(i=1;i<=size;i++) { this[i]="" } 傳回此; } 函數 counternum(){ 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"; } } 函數 run(obj){ 間隔=obj.options[obj.selectedIndex].value*1000;旋轉影像(); } 函數停止(){ 間隔=0; } 函數上一個(){ var new_image = getPreviousImage();文檔['rImage'].src = new_image; } 函數 next(){ var new_image = getNextImage();文檔['rImage'].src = new_image; } 函數 imageItem(image_location) { this.image_item = new Image(); this.image_item.src = image_location; } 函數 noteItem(note) { this.note_item = new Image(); this.note_item.src = 註解; } 函數 get_ImageItemLocation(imageObj) { return(imageObj.image_item.src) } 函數 get_NoteItemLocation(noteObj) { return(noteObj.note_item.src) } 函數產生(x, y) { return(noteObj.note_item.src) } 函數產生(x, y) { return(noteObj.note_item.src) } 函數生成(x, y) { var range = y - x + + 1; return Math.floor(Math.random() * range) + x; } 函數 getPreviousImage() { image_index = image_index-1; if (image_index < 0){ 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];返回(新圖像); } 函數 getNextImage() { image_index = image_index+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];返回(新圖像); } 函數rotateImage() { if (interval == 0){ return 1; } if (flagtime == 1){ var now = new Date(); var time1 = now.getTime();變數時間2;時間1=時間1+3000; time2=now.getTime(); while(time2 < time1){ now = new Date(); time2=now.getTime();標誌時間=0; } var new_image = getNextImage();文檔['rImage'].src = new_image; var recur_call = "rotateImage('"+'rImage'+"')"; setTimeout(recur_call,間隔); } // 結束 --> </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" cellspacing="0" cellpadding ="0" bgcolor="#FFF2DF"> <tr> <td valign="top"align="center"> <表格寬度="100%" border="0" cellspacing="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" cellspacing="0" cellpadding="0" bgcolor="#9F90CC" style="border-top:solid 1px #ffffff;"> <tr> <td height= "25" valign="bottom"> <!----> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td style="text-縮排:5px;"></td> <td width="100%"> <table width="98%" cellspacing="0" cellpadding="0" border="0"> <tralign="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> <表格寬度="100%" border="0" cellspacing="0" cellpadding="0"> < tr> <td height="13"></td> </tr> </table> <!--img447*333--> <table width="447" height="333" border="0" cellspacing ="0" cellpadding="0"> <tr> <tdalign="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" cellspacing="0" cellpadding="0"> <tr> <tdalign="center" id="summary" height="28"></td> </tr> </table> <!- -/ text--> <!--bottom--> <table width="100%" border="0" cellspacing="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" 高度=" 25"> <表寬度="100%" border="0" cellspacing="0" cellpadding="1"> <表單名稱=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 . " 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 ="previous() "> <img src="/u/info_img/2009-06/20/slideshows_bottom_4.gif" 寬度="35" 高度="21" 對齊="absmiddle" 邊框="0 " alt="後一張" onclick="next()"> 速度: <select name="select1" onchange="run(this)"> <option value="12">12 秒< /選項> <選項選擇值=“6”>6秒</選項> <選項值=“3”>3秒</選項> <選項值=“9”>9秒</選項> < /select></td> </ tr> </form> </table> </td> </tr> <tr> <td height="1" bgcolor="#625A68"></td> </ tr> </table> <!- -/bottom--> <table width="100%" border="0" cellspacing="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" cellspacing="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> <腳本語言=javascript> flagtime=1;旋轉影像(); Slideit() </script> </body> </html>