Web_Design 板


LINE

本來有一個用asp寫成的網站 想把他改成html型式 所以用程式把裡面.asp檔取代成.htm 全部改好之後 其他地方沒問題 就是有三張圖(每頁上方的item選項)無法顯示 試了很久還是不知道問題出在哪裡 相當苦惱 不知道板上有沒有高手願意幫忙點出bug在哪? 萬分感謝!!! 原始檔是這樣子的: <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><!-- #include file="../navi/home.asp" --></td> <td><!-- #include file="../navi/news.asp" --></td> <td><!-- #include file="../navi/about.asp" --></td> <td width="119"><!-- #include file="../navi/chronicle_00.asp" --></td> <td><!-- #include file="../navi/exhibitionR.asp" --></td> <td width="119"><!-- #include file="../navi/lectures.asp" --></td> <td><!-- #include file="../navi/result_show.asp" --></td> <td><!-- #include file="../navi/download.asp" --></td> </tr> </table> 顯示出來的圖片是這樣: http://ppt.cc/yu2H 把所有的<!--#include file=.....asp> 取代成.htm之後 圖片卻變成這樣: http://ppt.cc/Ipo- 少了"比賽紀事" "展覽/作品" "專題演講" 這三塊 把所有的<!--#include file=".....asp"-->取代成htm之後 長成這樣: <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><a href="../default.htm"><img src="../navi/navi01.jpg" alt="回首頁" name="回首頁" width="119" height="59" border="0" id="回首頁" onMouseOver="this.src='../navi/navi01R.jpg'" onMouseOut="this.src='../navi/navi01.jpg'" /></a></td> <td><a href="../news/list.htm"><img src="../navi/navi02.jpg" alt= "最新消息" name="最新消息" width="119" height="59" border="0" id="最新消息" onMouseOver="this.src='../navi/navi02R.jpg'" onMouseOut="this.src='../navi/navi02.jpg'" /></a></td> <td><a href="../about/about.htm"><img src="../navi/navi03.jpg" alt= "比賽簡介" name="比賽簡介" width="118" height="59" border="0" id="比賽簡介" onMouseOver="this.src='../navi/navi03R.jpg'" onMouseOut="this.src='../navi/navi03.jpg'" /></a></td> <td width="119"><table width="119" border="0" cellpadding="0" cellspacing="0"> <tr> <td><a href="http://www.dhtml-menu-builder.com" style="display:none;visibility:hidden;">Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com</a> <script type="text/javascript"> <!--stm_bm(["menu7cab",960,"","../navi/blank.gif",0,"","", 1,0,250,0,100,1,0,0,"","",0,0,1,2,"default","hand","",1,25],this); stm_bp("p0",[1,4,0,0,0,0,0,0,100,"",-2,"",-2,50,0,0,"#999999", "transparent","",3,0,0,"#000000"]); stm_ai("p0i0",[2,"","../navi/navi04.jpg","../navi/navi04R.jpg", 119,59,0,"javascript:;","_self","", "比賽紀事 Chronicle of the Competition","","",0,0,0,""," ",0,0,0,1,1,"#E6EFF9",1,"#FFD602",1,"","",3,3,0,0,"#E6EFF9", "#000000","#000000","#000000","8pt Verdana", "8pt Verdana",0,0,"","","","",0,0,0]); stm_bpx("p1","p0",[1,4,0,0,0,0,0,0,100,"",-2,"",-2,100]); stm_aix("p1i0","p0i0",[0,"初選評審委員Jury for PreliminaryScreening", "","",-1,-1,0,"../chronicle/chronicle01.htm","_self",""," 初選評審委員 Jury for Preliminary Screening","","",0,0,0,""," ",0,0,0,1,1,"#383735",0,"#383735",0,"","",3,3,0,0,"#E6EFF9", "#000000","#c29c6b","#FFFFFF","bold 9pt 'Arial','Verdana'", "bold 9pt 'Arial','Verdana'"],119,65); stm_aix("p1i1","p1i0",[0,"初選結果The PreliminaryScreening Results", "","",-1,-1,0,"../chronicle/chronicle02.htm","_self","", "初選結果 The Preliminary Screening Results"],119,65); stm_aix("p1i2","p1i0",[0,"決選評審委員Jury for FinalSelection", "","",-1,-1,0,"../chronicle/chronicle03.htm","_self","", "決選評審委員 Jury for Final Selection"],119,65); stm_aix("p1i3","p1i0",[0,"得獎作品Award-winningArtwork", "","",-1,-1,0,"../chronicle/chronicle04.htm","_self","", "得獎作品 Award-winning Artwork"],119,65); stm_aix("p1i4","p1i0",[0,"評審感言Juror Statement","", "",-1,-1,0,"../chronicle/chronicle05.htm","_self","","評審感言 Juror Statement"],119,65);stm_ep();stm_ep();stm_em(); //--></script></td> </tr></table></td> <td><table border="0" cellpadding="0" cellspacing="0"> <tr> <td> <a href="http://www.dhtml-menu-builder.com" style="display:none;visibility:hidden;">Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com</a> <script type="text/javascript"><!--stm_bm(["menu7cab",960,"", "../navi/blank.gif",0,"","",1,0,250,0,100,1,0,0,"","",0,0,1,2, "default","hand","",1,25],this); stm_bp("p0",[1,4,0,0,0,0,0,0,100,"",-2,"",-2,50,0,0,"#999999", "transparent","",3,0,0,"#000000"]); stm_ai("p0i0",[2,"","../navi/navi05R.jpg","../navi/navi05R.jpg", 119,59,0,"javascript:;","_self","","比賽紀事 Chronicle of the Competition","","",0,0,0,"","",0,0,0,1,1,"#E6EFF9",1,"#FFD602", 1,"","",3,3,0,0,"#E6EFF9","#000000","#000000","#000000","8pt Verdana","8pt Verdana",0,0,"","","","",0,0,0]); stm_bpx("p1","p0",[1,4,0,0,0,0,0,0,100,"",-2,"",-2,100]); stm_aix("p1i0","p0i0",[0,"展覽Exhibition","","",-1,-1,0, "../exhibition/exhibition.htm","_self","","展覽Exhibition", "","",0,0,0,"","",0,0,0,1,1,"#383735",0,"#383735",0,"","",3,3,0,0, "#E6EFF9","#000000","#c29c6b","#FFFFFF","bold 9pt 'Arial','Verdana'", "bold 9pt 'Arial','Verdana'"],119,65); stm_aix("p1i1","p1i0",[0,"作品賞析 Artwork","","",-1,-1,0, "../exhibition/jewelry_gold.htm","_self","","作品賞析Artwork"],119,65); stm_aix("p1i2","p1i0",[0,"評審委員作品Artwork by the Jurors","", "",-1,-1,0,"../exhibition/juror01.htm","_self","","評審委員作品 Artwork by the Jurors"],119,65); stm_ep();stm_ep();stm_em(); //--></script> </td> </tr></table></td> <td width="119"><table border="0" cellpadding="0" cellspacing="0"> <tr> <td><a href="http://www.dhtml-menu-builder.com" style="display:none;visibility:hidden;"> Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com</a> <script type="text/javascript"><!--stm_bm(["menu7cab",960,"","../navi/ blank.gif",0,"","",1,0,250,0,100,1,0,0,"","",0,0,1,2,"default","hand", "",1,25],this); stm_bp("p0",[1,4,0,0,0,0,0,0,100,"",-2,"",-2,50,0,0,"#999999", "transparent","",3,0,0,"#000000"]); stm_ai("p0i0",[2,"","../navi/navi06.jpg","../navi/navi06R.jpg", 119,59,0,"javascript:;","_self",""," 專題演講 Master Lectures on Metal Crafts","", "",0,0,0,"","",0,0,0,1,1,"#E6EFF9",1,"#FFD602",1,"","",3,3,0,0, "#E6EFF9","#000000","#000000","#000000","8pt Verdana", "8pt Verdana",0,0,"","","","",0,0,0]); stm_bpx("p1","p0",[1,4,0,0,0,0,0,0,100,"",-2,"",-2,100]); stm_aix("p1i0","p0i0",[0," 講者介紹About the Speakers","","",-1,-1,0, "../lectures/lectures_about.htm","_self","","講者介紹 About the Speakers","","",0,0,0,"","",0,0,0,1,1,"#383735",0,"#383735", 0,"","",3,3,0,0,"#E6EFF9","#000000","#c29c6b","#FFFFFF","bold 9pt 'Arial','Verdana'","bold 9pt 'Arial','Verdana'"],119,65); stm_aix("p1i1","p1i0",[0,"演講簡介 Information","","",-1,-1,0, "../lectures/lectures_info.htm","_self","", "演講簡介 Information"],119,65);stm_ep();stm_ep();stm_em();//--> </script> </td> </tr></table></td> <td><a href="../result_show/result_show01.htm"> <img src="../navi/navi07.jpg" alt="成果剪輯" name="成果剪輯" width="118" height="59" border="0" id="成果剪輯" onMouseOver="this.src='../navi/navi07R.jpg'" onMouseOut="this.src='../navi/navi07.jpg'" /></a></td> <td><a href="../download/download.htm"><img src= "../navi/navi08.jpg" alt="下載專區" name="下載專區" width="119" height="59" border="0" id="下載專區" onMouseOver="this.src='../navi/navi08R.jpg'" onMouseOut="this.src='../navi/navi08.jpg'" /></a></td> </tr></table> 不知道是哪個地方出了問題? 能否請高手幫忙解答? 非常感謝!!!! --



※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.251.47.90
※ 文章網址: http://webptt.com/m.aspx?n=bbs/Web_Design/M.1410735057.A.AA5.html
1F:→ crossdunk: 我是不懂asp...但是把副檔名改掉會不會影響後端語言? 09/15 08:49
2F:→ crossdunk: 至少在php就是這樣... 09/15 08:49
3F:→ crossdunk: 感覺你只有那三個消失的用到asp,你換成htm之後 09/15 08:49
4F:→ crossdunk: 難怪asp無法執行 09/15 08:49
5F:推 hit1205: 從你貼的code看來,消失的那些按鈕剛好都是用 09/15 09:25
6F:→ hit1205: javascript寫入的,跟其他張不一樣,所以我猜是不是 09/15 09:25
7F:→ hit1205: 你沒有把對應的javascript貼過來 XD? 09/15 09:26
8F:→ hit1205: 就是 dhtml-menu-builder 提供的,包含 stm_bm() 09/15 09:27
9F:→ hit1205: stm_aix() 等函式的 javascript 部分 @@ 09/15 09:27
10F:推 up9cloud: ...我是不知其他web server,但至少在apache下啟用shtml 09/15 17:01
11F:→ up9cloud: 並include htm然後指給php轉譯,確定是可行的... 09/15 17:04
12F:→ up9cloud: 另外此篇應該是js出錯..若找不回來,建議乾脆改寫成靜態 09/15 17:09
13F:→ up9cloud: 的然後用css控制@@~(若是只有下拉選單的話) 09/15 17:10
14F:→ jpga: 感謝h大和u大的回覆! 我大概知道狀況了 今天就來改改看 09/16 05:23
15F:→ jpga: c大的考量也是有道理 不過我不只改附檔名 整串都有改 可能真 09/16 05:24
16F:→ jpga: 的是java那串遺失了 回去找看看 還是很感謝您寶貴建議! 09/16 05:26







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:Gossiping 或 站內搜尋

TOP